Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
c7fad97
fix(640): use local db
IgorKrupenja Jul 28, 2025
ec4a0df
fix(640): fix yaml path
IgorKrupenja Jul 28, 2025
6dc3bee
fix(562): fix the bug
IgorKrupenja Jul 28, 2025
f5d804e
Revert "fix(640): use local db"
IgorKrupenja Jul 28, 2025
062e6fc
chore(637): Separated Global Endpoints from canvas endpoints
1AhmedYasser Jul 28, 2025
4f5d6a0
chore(637): Fixed Loading Variable
1AhmedYasser Jul 28, 2025
85e0184
fix(637): Removed console.log
1AhmedYasser Jul 28, 2025
0658631
chore(637): added handleEndpointStep
1AhmedYasser Jul 28, 2025
848fe6f
chore(637): Removed Unused code
1AhmedYasser Jul 28, 2025
6ef11db
chore(638): Removed Endpoints Disk Writes
1AhmedYasser Jul 28, 2025
975af04
Merge pull request #651 from IgorKrupenja/igor-migra
jaX10bt Jul 29, 2025
7ba7b5b
Merge pull request #652 from 1AhmedYasser/Refactor-endpoints-public-p…
jaX10bt Jul 29, 2025
24656de
fix(634): fix the bug
IgorKrupenja Jul 29, 2025
6c5fe06
fix(634): fix deletion
IgorKrupenja Jul 29, 2025
876ff04
chore(647): Fixed Canvas Endpoint State
1AhmedYasser Jul 29, 2025
90a6bbf
chore(647): Removed AutoComplete List
1AhmedYasser Jul 29, 2025
9fb4448
chore(649): Cleanup
1AhmedYasser Jul 29, 2025
c7e5318
chore(647): Handled Name Duplication
1AhmedYasser Jul 29, 2025
ecd6db1
chore(647): Clear Endpoint State when canceling adding new endpoint
1AhmedYasser Jul 29, 2025
14265d5
chore(647): Clear Endpoint State when canceling editing endpoint
1AhmedYasser Jul 29, 2025
9a318d3
chore(647): Fixed Sonar Issues
1AhmedYasser Jul 29, 2025
3dc1bb1
fix(639): Fixed MCQ Saving Creates Redundant Files
1AhmedYasser Jul 29, 2025
94d9431
fix(634): clean up
IgorKrupenja Jul 30, 2025
15cbaf7
Merge pull request #654 from 1AhmedYasser/Bug-Canvas-API-Modal-Endpoi…
jaX10bt Jul 30, 2025
66cb4b1
fix(634): fix sonar cloud issues
IgorKrupenja Jul 30, 2025
485718c
Revert "fix(634): fix sonar cloud issues"
IgorKrupenja Jul 30, 2025
95d8fac
Reapply "fix(634): fix sonar cloud issues"
IgorKrupenja Jul 30, 2025
839ea7d
Merge pull request #653 from IgorKrupenja/634-active-end
jaX10bt Jul 31, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@
/DSL/Ruuter/services/POST/services/active
/DSL/Ruuter/services/POST/services/draft
/DSL/Ruuter/services/POST/services/inactive
/DSL/Ruuter/services/POST/services/endpoints
/DSL/Ruuter/services/POST/services/inactive
/DSL/Ruuter/services/GET/services/active
/DSL/Ruuter/services/GET/services/draft
/DSL/Ruuter/services/GET/services/inactive
/DSL/Ruuter/services/GET/services/endpoints
/DSL/Ruuter/services/GET/services/inactive
.DS_Store
.vscode
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
xmlns:pro="http://www.liquibase.org/xml/ns/pro"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd
http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd
http://www.liquibase.org/xml/ns/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-latest.xsd">

<changeSet id="20250516152343" author="1AhmedYasser">
<sqlFile path="changelog/migrations/20250516152343-remove_file_name_from_endpoints.sql" />
<rollback>
<sqlFile path="changelog/migrations/rollback/20250516152343_rollback.sql" />
</rollback>
</changeSet>
</databaseChangeLog>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-- liquibase formatted sql
-- changeset 1AhmedYasser:20250516152343

ALTER TABLE endpoints DROP COLUMN file_name;
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- liquibase formatted sql
-- rollback

-- Add back the file_name column as TEXT
ALTER TABLE endpoints ADD COLUMN file_name TEXT NOT NULL;
4 changes: 1 addition & 3 deletions DSL/Resql/services/POST/endpoints/create_endpoint.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ INSERT INTO endpoints (
service_id,
name,
type,
file_name,
is_common,
definitions
)
Expand All @@ -12,7 +11,6 @@ VALUES (
:serviceId::uuid,
:name,
:type::endpoint_type,
:fileName,
:isCommon,
:definitions::jsonb
);
);
4 changes: 1 addition & 3 deletions DSL/Resql/services/POST/endpoints/delete_endpoint.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ INSERT INTO endpoints (
service_id,
name,
type,
file_name,
is_common,
definitions,
deleted,
Expand All @@ -15,7 +14,6 @@ SELECT
service_id,
name,
type,
file_name,
is_common,
definitions,
TRUE AS deleted,
Expand All @@ -24,4 +22,4 @@ SELECT
FROM endpoints
WHERE endpoint_id = :id::uuid
ORDER BY id DESC
LIMIT 1;
LIMIT 1;
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ INSERT INTO endpoints (
service_id,
name,
type,
file_name,
is_common,
definitions,
deleted,
Expand All @@ -24,7 +23,6 @@ SELECT
service_id,
name,
type,
file_name,
is_common,
definitions,
TRUE AS deleted,
Expand Down
1 change: 0 additions & 1 deletion DSL/Resql/services/POST/endpoints/get_common_endpoints.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ SELECT
endpoint_id,
name,
type,
file_name,
is_common,
definitions
FROM LatestEndpoints
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ SELECT
endpoint_id,
name,
type,
file_name,
is_common,
definitions
FROM LatestEndpoints
WHERE deleted IS FALSE
ORDER BY id DESC;
ORDER BY id DESC;
5 changes: 2 additions & 3 deletions DSL/Resql/services/POST/endpoints/update_endpoint.sql
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
INSERT INTO endpoints (endpoint_id, service_id, name, type, file_name, is_common, definitions)
INSERT INTO endpoints (endpoint_id, service_id, name, type, is_common, definitions)
VALUES (
:endpointId::uuid,
:serviceId::uuid,
:name,
:type::endpoint_type,
:fileName,
:isCommon,
:definitions::jsonb
);
);
4 changes: 2 additions & 2 deletions DSL/Resql/services/POST/get-common-services-list.sql
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ FROM services
JOIN MaxServices ON id = maxId
WHERE NOT deleted AND is_common
ORDER BY
CASE WHEN :sorting = 'id asc' THEN id END ASC,
CASE WHEN :sorting = 'name asc' THEN name END ASC,
CASE WHEN :sorting = 'name desc' THEN name END DESC,
CASE WHEN :sorting = 'state asc' THEN current_state END ASC,
CASE WHEN :sorting = 'state desc' THEN current_state END DESC
CASE WHEN :sorting = 'state desc' THEN current_state END DESC,
name ASC
OFFSET ((GREATEST(:page, 1) - 1) * :page_size) LIMIT :page_size;
4 changes: 2 additions & 2 deletions DSL/Resql/services/POST/get-services-list.sql
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ FROM services
JOIN MaxServices ON id = maxId
WHERE NOT deleted AND NOT is_common
ORDER BY
CASE WHEN :sorting = 'id asc' THEN id END ASC,
CASE WHEN :sorting = 'name asc' THEN name END ASC,
CASE WHEN :sorting = 'name desc' THEN name END DESC,
CASE WHEN :sorting = 'state asc' THEN current_state END ASC,
CASE WHEN :sorting = 'state desc' THEN current_state END DESC
CASE WHEN :sorting = 'state desc' THEN current_state END DESC,
name ASC
OFFSET ((GREATEST(:page, 1) - 1) * :page_size) LIMIT :page_size;
4 changes: 0 additions & 4 deletions DSL/Ruuter/services/GET/services/endpoints/.guard

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading