Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor accessing Ruuter DSLs #427

Merged
merged 2 commits into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
2 changes: 1 addition & 1 deletion DSL/Ruuter.private/GET/rasa/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ getIntentsData:
getDomainFile:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/domain-file"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/domain-file"
headers:
cookie: ${incoming.headers.cookie}
result: getDomainDataResult
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ getIntentsData:
getDomainFile:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/domain-file"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/domain-file"
headers:
cookie: ${incoming.headers.cookie}
result: getDomainDataResult
Expand Down
2 changes: 1 addition & 1 deletion DSL/Ruuter.private/GET/rasa/intents/in-model.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
getDomainFile:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/domain-file"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/domain-file"
headers:
cookie: ${incoming.headers.cookie}
result: domainData
Expand Down
4 changes: 2 additions & 2 deletions DSL/Ruuter.private/GET/rasa/model/add-new-model.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
getDockerFile:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/docker-file"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/docker-file"
headers:
cookie: ${incoming.headers.cookie}
result: dockerData
Expand Down Expand Up @@ -128,7 +128,7 @@ convertJsonToYaml:
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
result: fileLocations

saveDockerFile:
Expand Down
2 changes: 1 addition & 1 deletion DSL/Ruuter.private/GET/rasa/training/results.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
2 changes: 1 addition & 1 deletion DSL/Ruuter.private/GET/rules-file.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
2 changes: 1 addition & 1 deletion DSL/Ruuter.private/GET/stories-file.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
2 changes: 1 addition & 1 deletion DSL/Ruuter.private/POST/extract-token.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
extractTokenData:
call: http.post
args:
url: "[#TRAINING_PUBLIC_RUUTER]/mock-tim-custom-jwt-userinfo"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/mock-tim-custom-jwt-userinfo"
headers:
cookie: ${incoming.headers.cookie}
body:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ assignValues:
getDockerFile:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/docker-file"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/docker-file"
headers:
cookie: ${incoming.headers.cookie}
result: dockerData
Expand Down Expand Up @@ -63,7 +63,7 @@ convertJsonToYaml:
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
2 changes: 1 addition & 1 deletion DSL/Ruuter.private/POST/rasa/config/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ assign_values:
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
4 changes: 2 additions & 2 deletions DSL/Ruuter.private/POST/rasa/entities/add.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ assign_values:
getDomainFile:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/domain-file"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/domain-file"
headers:
cookie: ${incoming.headers.cookie}
result: domainData
Expand Down Expand Up @@ -43,7 +43,7 @@ convertJsonToYaml:
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
4 changes: 2 additions & 2 deletions DSL/Ruuter.private/POST/rasa/entities/delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ assign_values:
getDomainFile:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/domain-file"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/domain-file"
headers:
cookie: ${incoming.headers.cookie}
result: domainData
Expand Down Expand Up @@ -95,7 +95,7 @@ convertJsonToYaml:
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
4 changes: 2 additions & 2 deletions DSL/Ruuter.private/POST/rasa/entities/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ assign_values:
getDomainFile:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/domain-file"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/domain-file"
headers:
cookie: ${incoming.headers.cookie}
result: domainData
Expand Down Expand Up @@ -44,7 +44,7 @@ convertJsonToYaml:
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
4 changes: 2 additions & 2 deletions DSL/Ruuter.private/POST/rasa/forms/add.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ assign_values:
getDomainFile:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/domain-file"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/domain-file"
headers:
cookie: ${incoming.headers.cookie}
result: domainData
Expand Down Expand Up @@ -76,7 +76,7 @@ convertJsonToYaml:
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
4 changes: 2 additions & 2 deletions DSL/Ruuter.private/POST/rasa/forms/delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ assign_values:
getDomainFile:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/domain-file"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/domain-file"
headers:
cookie: ${incoming.headers.cookie}
result: domainData
Expand Down Expand Up @@ -77,7 +77,7 @@ convertJsonToYaml:
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
4 changes: 2 additions & 2 deletions DSL/Ruuter.private/POST/rasa/forms/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ assign_values:
getDomainFile:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/domain-file"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/domain-file"
headers:
cookie: ${incoming.headers.cookie}
result: domainData
Expand Down Expand Up @@ -70,7 +70,7 @@ convertJsonToYaml:
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ assign_values:
getDomainFile:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/domain-file"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/domain-file"
headers:
cookie: ${incoming.headers.cookie}
result: domainData
Expand Down Expand Up @@ -62,7 +62,7 @@ updateDomainOpenSearch:
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
2 changes: 1 addition & 1 deletion DSL/Ruuter.private/POST/rasa/intents/add.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ validateIntentExists:
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
4 changes: 2 additions & 2 deletions DSL/Ruuter.private/POST/rasa/intents/delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ validateIntentExists:
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down Expand Up @@ -206,7 +206,7 @@ saveIntentFile:
getDomainFile:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/domain-file"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/domain-file"
headers:
cookie: ${incoming.headers.cookie}
result: domainData
Expand Down
2 changes: 1 addition & 1 deletion DSL/Ruuter.private/POST/rasa/intents/download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ assign_values:
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
2 changes: 1 addition & 1 deletion DSL/Ruuter.private/POST/rasa/intents/examples/add.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ validateLength:
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
2 changes: 1 addition & 1 deletion DSL/Ruuter.private/POST/rasa/intents/examples/delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ assign_values:
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
2 changes: 1 addition & 1 deletion DSL/Ruuter.private/POST/rasa/intents/examples/list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ assign_values:
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
2 changes: 1 addition & 1 deletion DSL/Ruuter.private/POST/rasa/intents/examples/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ assign_values:
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
2 changes: 1 addition & 1 deletion DSL/Ruuter.private/POST/rasa/intents/get-intent-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ assignParameters:
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
6 changes: 3 additions & 3 deletions DSL/Ruuter.private/POST/rasa/intents/turn-into-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ assign_values:
extract_token_data:
call: http.post
args:
url: "[#TRAINING_PUBLIC_RUUTER]/mock-tim-custom-jwt-userinfo"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/mock-tim-custom-jwt-userinfo"
headers:
cookie: ${incoming.headers.cookie}
body:
Expand All @@ -21,7 +21,7 @@ validate_administrator:
get_domain_file:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/domain-file"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/domain-file"
headers:
cookie: ${incoming.headers.cookie}
result: domainData
Expand All @@ -35,7 +35,7 @@ validate_intent_exists:
get_file_locations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
4 changes: 2 additions & 2 deletions DSL/Ruuter.private/POST/rasa/intents/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ validateIntentExists:
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down Expand Up @@ -283,7 +283,7 @@ deleteOldIntentFile:
getDomainFile:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/domain-file"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/domain-file"
headers:
cookie: ${incoming.headers.cookie}
result: domainData
Expand Down
2 changes: 1 addition & 1 deletion DSL/Ruuter.private/POST/rasa/regex/add-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ assign_values:
getFileLocations:
call: http.get
args:
url: "[#TRAINING_PUBLIC_RUUTER]/return-file-locations"
url: "[#TRAINING_PUBLIC_RUUTER]/internal/return-file-locations"
headers:
cookie: ${incoming.headers.cookie}
result: fileLocations
Expand Down
Loading