Skip to content

Commit c43a2bb

Browse files
authored
Merge pull request #876 from 1AhmedYasser/adding-project-layer-to-repos
Adding project layer to repos
2 parents 2da995e + 789f022 commit c43a2bb

File tree

364 files changed

+125
-118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

364 files changed

+125
-118
lines changed

DSL/CronManager/health.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ get_health:
22
trigger: "0 22 8 * * ?"
33
type: http
44
method: GET
5-
url: http://localhost:8080/healthz
5+
url: http://localhost:8080/training/healthz

DSL/Pipelines/init_with_mocks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
# to run it - ./init_with_mocks.sh <url:port>
33

4-
MOCK=../DMapper/locations
4+
MOCK=../DMapper/training/locations
55

66
PIPELINES=${1:-"localhost:3010"}
77

DSL/Resql/services/GET/empty.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- This is a empty sql for Buerokratt DSL delivery method
2+
SELECT current_date;

DSL/Resql/training/GET/empty.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- This is a empty sql for Buerokratt DSL delivery method
2+
SELECT current_date;

DSL/Resql/users/GET/empty.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- This is a empty sql for Buerokratt DSL delivery method
2+
SELECT current_date;

DSL/Ruuter.private/GET/internal/return-file-locations.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

DSL/Ruuter.private/GET/.guard renamed to DSL/Ruuter.private/training/GET/.guard

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ check_nonce:
3535
next: guard_success
3636

3737
authenticate:
38-
template: check-user-authority
38+
template: "[#TRAINING_PROJECT_LAYER]/check-user-authority"
3939
requestType: templates
4040
headers:
4141
cookie: ${incoming.headers.cookie}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
declaration:
2+
call: declare
3+
version: 0.1
4+
description: "Decription placeholder for 'RETURN-FILE-LOCATIONS'"
5+
method: get
6+
accepts: json
7+
returns: json
8+
namespace: training
9+
10+
assign_step:
11+
assign:
12+
locations:
13+
rules_location: '/DMapper/training/locations/data/rules.yml'
14+
stories_location: '/DMapper/training/locations/data/stories.yml'
15+
domain_location: '/DMapper/training/locations/data/domain.yml'
16+
test_stories_location: '/DMapper/training/locations/tests/test_stories.yml'
17+
intents_location: '/DMapper/training/locations/data/nlu/'
18+
regex_location: '/DMapper/training/locations/data/regex/'
19+
training_result_location: '/DMapper/training/locations/results'
20+
config_location: '/DMapper/training/locations/data/config.yml'
21+
return_value:
22+
return: ${locations}

DSL/Ruuter.private/GET/rasa/entities.yml renamed to DSL/Ruuter.private/training/GET/rasa/entities.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ getEntities:
3333
mapEntitiesData:
3434
call: http.post
3535
args:
36-
url: "[#TRAINING_DMAPPER]/hbs/training/get_entities"
36+
url: "[#TRAINING_DMAPPER_HBS]/get_entities"
3737
headers:
3838
type: "json"
3939
body:
@@ -44,7 +44,7 @@ mapEntitiesData:
4444
sortEntities:
4545
call: http.post
4646
args:
47-
url: "[#TRAINING_DMAPPER]/hbs/training/sort_entities"
47+
url: "[#TRAINING_DMAPPER_HBS]/sort_entities"
4848
headers:
4949
type: "json"
5050
body:

DSL/Ruuter.private/GET/rasa/intent-and-id.yml renamed to DSL/Ruuter.private/training/GET/rasa/intent-and-id.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ getIntents:
1616
mapIntentsData:
1717
call: http.post
1818
args:
19-
url: "[#TRAINING_DMAPPER]/hbs/training/get_intent_and_id"
19+
url: "[#TRAINING_DMAPPER_HBS]/get_intent_and_id"
2020
headers:
2121
type: 'json'
2222
body:

DSL/Ruuter.private/GET/rasa/intents.yml renamed to DSL/Ruuter.private/training/GET/rasa/intents.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ getIntents:
1616
mapIntentsData:
1717
call: http.post
1818
args:
19-
url: "[#TRAINING_DMAPPER]/hbs/training/get_intents"
19+
url: "[#TRAINING_DMAPPER_HBS]/get_intents"
2020
headers:
2121
type: 'json'
2222
body:

DSL/Ruuter.private/GET/rasa/intents/by-id.yml renamed to DSL/Ruuter.private/training/GET/rasa/intents/by-id.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ assignResults:
7070
mapIntentData:
7171
call: http.post
7272
args:
73-
url: "[#TRAINING_DMAPPER]/hbs/training/get_intent_by_id"
73+
url: "[#TRAINING_DMAPPER_HBS]/get_intent_by_id"
7474
headers:
7575
type: "json"
7676
body:

DSL/Ruuter.private/GET/rasa/intents/with-examples-count.yml renamed to DSL/Ruuter.private/training/GET/rasa/intents/with-examples-count.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ getDomainFile:
4141
getIntentsNames:
4242
call: http.post
4343
args:
44-
url: "[#TRAINING_DMAPPER]/hbs/training/get_intent_names_from_example_counts"
44+
url: "[#TRAINING_DMAPPER_HBS]/get_intent_names_from_example_counts"
4545
headers:
4646
type: "json"
4747
body:
@@ -75,7 +75,7 @@ getIntentListLastChanged:
7575
mapIntentsData:
7676
call: http.post
7777
args:
78-
url: "[#TRAINING_DMAPPER]/hbs/training/get_intents_with_examples_count"
78+
url: "[#TRAINING_DMAPPER_HBS]/get_intents_with_examples_count"
7979
headers:
8080
type: "json"
8181
body:

DSL/Ruuter.private/GET/rasa/model/delete-model.yml renamed to DSL/Ruuter.private/training/GET/rasa/model/delete-model.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ declaration:
1515
assignValue:
1616
assign:
1717
fileName: ${incoming.params.fileName}
18-
modelPath: "/DSL/DMapper/locations/models/"
18+
modelPath: "/DSL/DMapper/training/locations/models/"
1919

2020
validateName:
2121
switch:

DSL/Ruuter.private/GET/rasa/models.yml renamed to DSL/Ruuter.private/training/GET/rasa/models.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ validateDbRecords:
2222
checkEntity:
2323
call: http.post
2424
args:
25-
url: "[#TRAINING_DMAPPER]/hbs/training/checkV"
25+
url: "[#TRAINING_DMAPPER_HBS]/checkV"
2626
headers:
2727
type: 'json'
2828
body:
@@ -32,7 +32,7 @@ checkEntity:
3232
mapModels:
3333
call: http.post
3434
args:
35-
url: "[#TRAINING_DMAPPER]/hbs/training/get_models"
35+
url: "[#TRAINING_DMAPPER_HBS]/get_models"
3636
headers:
3737
type: 'json'
3838
body:

DSL/Ruuter.private/GET/rasa/regexes.yml renamed to DSL/Ruuter.private/training/GET/rasa/regexes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ getRegexes:
2929
mapRegexesData:
3030
call: http.post
3131
args:
32-
url: "[#TRAINING_DMAPPER]/hbs/training/get_regexes"
32+
url: "[#TRAINING_DMAPPER_HBS]/get_regexes"
3333
headers:
3434
type: "json"
3535
body:

DSL/Ruuter.private/GET/rasa/response-by-intent-id.yml renamed to DSL/Ruuter.private/training/GET/rasa/response-by-intent-id.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ getResponsesWithNameAndText:
2929
mapResponsesData:
3030
call: http.post
3131
args:
32-
url: "[#TRAINING_DMAPPER]/hbs/training/get_response_by_intent_id"
32+
url: "[#TRAINING_DMAPPER_HBS]/get_response_by_intent_id"
3333
headers:
3434
type: "json"
3535
body:

DSL/Ruuter.private/GET/rasa/rule-names.yml renamed to DSL/Ruuter.private/training/GET/rasa/rule-names.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ getRules:
1616
mapRulesData:
1717
call: http.post
1818
args:
19-
url: "[#TRAINING_DMAPPER]/hbs/training/get_rule_names"
19+
url: "[#TRAINING_DMAPPER_HBS]/get_rule_names"
2020
headers:
2121
type: 'json'
2222
body:

DSL/Ruuter.private/GET/rasa/rules.yml renamed to DSL/Ruuter.private/training/GET/rasa/rules.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ getRules:
2929
mapRulesData:
3030
call: http.post
3131
args:
32-
url: "[#TRAINING_DMAPPER]/hbs/training/get_rule_ids"
32+
url: "[#TRAINING_DMAPPER_HBS]/get_rule_ids"
3333
headers:
3434
type: "json"
3535
body:

DSL/Ruuter.private/GET/rasa/slot-with-response.yml renamed to DSL/Ruuter.private/training/GET/rasa/slot-with-response.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ getResponses:
3030
mapSlotsData:
3131
call: http.post
3232
args:
33-
url: "[#TRAINING_DMAPPER]/hbs/training/get_slots_with_response"
33+
url: "[#TRAINING_DMAPPER_HBS]/get_slots_with_response"
3434
headers:
3535
type: 'json'
3636
body:

DSL/Ruuter.private/GET/rasa/story-names.yml renamed to DSL/Ruuter.private/training/GET/rasa/story-names.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ getStories:
1616
mapStoriesData:
1717
call: http.post
1818
args:
19-
url: "[#TRAINING_DMAPPER]/hbs/training/get_story_names"
19+
url: "[#TRAINING_DMAPPER_HBS]/get_story_names"
2020
headers:
2121
type: 'json'
2222
body:

DSL/Ruuter.private/GET/rasa/test-stories.yml renamed to DSL/Ruuter.private/training/GET/rasa/test-stories.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ getTestStories:
1616
mapTestStoriesData:
1717
call: http.post
1818
args:
19-
url: "[#TRAINING_DMAPPER]/hbs/training/get_test_stories"
19+
url: "[#TRAINING_DMAPPER_HBS]/get_test_stories"
2020
headers:
2121
type: 'json'
2222
body:

DSL/Ruuter.private/GET/rasa/test-stories/links.yml renamed to DSL/Ruuter.private/training/GET/rasa/test-stories/links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ getTestStories:
2828
mapLinksData:
2929
call: http.post
3030
args:
31-
url: "[#TRAINING_DMAPPER]/hbs/training/get_links"
31+
url: "[#TRAINING_DMAPPER_HBS]/get_links"
3232
headers:
3333
type: 'json'
3434
body:

DSL/Ruuter.private/POST/.guard renamed to DSL/Ruuter.private/training/POST/.guard

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ check_for_cookie:
55
next: authenticate
66

77
authenticate:
8-
template: check-user-authority
8+
template: "[#TRAINING_PROJECT_LAYER]/check-user-authority"
99
requestType: templates
1010
headers:
1111
cookie: ${incoming.headers.cookie}

DSL/Ruuter.private/POST/csv.yml renamed to DSL/Ruuter.private/training/POST/csv.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ check_for_required_parameters:
2727
get_csv:
2828
call: http.post
2929
args:
30-
url: "[#TRAINING_DMAPPER]/hbs/training/get_csv"
30+
url: "[#TRAINING_DMAPPER_HBS]/get_csv"
3131
headers:
3232
type: 'csv'
3333
body:

DSL/Ruuter.private/POST/internal/sync/cron.yml renamed to DSL/Ruuter.private/training/POST/internal/sync/cron.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ generateCronExpression:
6767
createCronJson:
6868
call: http.post
6969
args:
70-
url: "[#TRAINING_DMAPPER]/hbs/training/get_cron_shell_execution_file"
70+
url: "[#TRAINING_DMAPPER_HBS]/get_cron_shell_execution_file"
7171
headers:
7272
type: "json"
7373
body:

DSL/Ruuter.private/POST/rasa/.guard renamed to DSL/Ruuter.private/training/POST/rasa/.guard

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ check_nonce:
3535
next: guard_success
3636

3737
authenticate:
38-
template: check-user-authority
38+
template: "[#TRAINING_PROJECT_LAYER]/check-user-authority"
3939
requestType: templates
4040
headers:
4141
cookie: ${incoming.headers.cookie}

DSL/Ruuter.private/POST/rasa/entities.yml renamed to DSL/Ruuter.private/training/POST/rasa/entities.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ getEntitiesWithName:
2323
mapEntitiesData:
2424
call: http.post
2525
args:
26-
url: "[#TRAINING_DMAPPER]/hbs/training/get_entity_with_name"
26+
url: "[#TRAINING_DMAPPER_HBS]/get_entity_with_name"
2727
headers:
2828
type: 'json'
2929
body:

DSL/Ruuter.private/POST/rasa/entities/delete.yml renamed to DSL/Ruuter.private/training/POST/rasa/entities/delete.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ validateIntentEntities:
8787
deleteEntity:
8888
call: http.post
8989
args:
90-
url: "[#TRAINING_DMAPPER]/hbs/training/delete_entity"
90+
url: "[#TRAINING_DMAPPER_HBS]/delete_entity"
9191
headers:
9292
type: 'json'
9393
body:

DSL/Ruuter.private/POST/rasa/examples/entities.yml renamed to DSL/Ruuter.private/training/POST/rasa/examples/entities.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ getEntitiesWithExamples:
2828
mapEntitiesData:
2929
call: http.post
3030
args:
31-
url: "[#TRAINING_DMAPPER]/hbs/training/get_entities_with_examples"
31+
url: "[#TRAINING_DMAPPER_HBS]/get_entities_with_examples"
3232
headers:
3333
type: 'json'
3434
body:

DSL/Ruuter.private/POST/rasa/forms/add.yml renamed to DSL/Ruuter.private/training/POST/rasa/forms/add.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ validateForms:
4646
mapForm:
4747
call: http.post
4848
args:
49-
url: "[#TRAINING_DMAPPER]/hbs/training/get_form"
49+
url: "[#TRAINING_DMAPPER_HBS]/get_form"
5050
headers:
5151
type: "json"
5252
body:
@@ -65,7 +65,7 @@ mergeForms:
6565
convertResponseInput:
6666
call: http.post
6767
args:
68-
url: "[#TRAINING_DMAPPER]/hbs/training/get_form_responses"
68+
url: "[#TRAINING_DMAPPER_HBS]/get_form_responses"
6969
headers:
7070
type: "json"
7171
body:

DSL/Ruuter.private/POST/rasa/forms/formById.yml renamed to DSL/Ruuter.private/training/POST/rasa/forms/formById.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ gatherFormDetails:
6161
mapFormsData:
6262
call: http.post
6363
args:
64-
url: "[#TRAINING_DMAPPER]/hbs/training/get_form_details"
64+
url: "[#TRAINING_DMAPPER_HBS]/get_form_details"
6565
headers:
6666
type: 'json'
6767
body:

DSL/Ruuter.private/POST/rasa/forms/search.yml renamed to DSL/Ruuter.private/training/POST/rasa/forms/search.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ getFormsSlots:
2424
mapFormsSlotsData:
2525
call: http.post
2626
args:
27-
url: "[#TRAINING_DMAPPER]/hbs/training/get_forms_search_slots"
27+
url: "[#TRAINING_DMAPPER_HBS]/get_forms_search_slots"
2828
headers:
2929
type: 'json'
3030
body:

DSL/Ruuter.private/POST/rasa/forms/update.yml renamed to DSL/Ruuter.private/training/POST/rasa/forms/update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ updateFormData:
5555
convertResponseInput:
5656
call: http.post
5757
args:
58-
url: "[#TRAINING_DMAPPER]/hbs/training/get_form_responses"
58+
url: "[#TRAINING_DMAPPER_HBS]/get_form_responses"
5959
headers:
6060
type: "json"
6161
body:

0 commit comments

Comments
 (0)