-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into PLAT-663-run-tests-sh-bug-fix
- Loading branch information
Showing
30 changed files
with
544 additions
and
570 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,3 +81,6 @@ typings/ | |
platform-linux | ||
platform.exe | ||
platform-macos | ||
instant-linux | ||
instant.exe | ||
instant-macos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
projectName: platform | ||
image: jembi/platform | ||
logPath: /tmp/logs | ||
|
||
packages: | ||
- interoperability-layer-openhim | ||
- reverse-proxy-nginx | ||
- fhir-datastore-hapi-fhir | ||
- message-bus-kafka | ||
- analytics-datastore-elastic-search | ||
- dashboard-visualiser-kibana | ||
- data-mapper-logstash | ||
- dashboard-visualiser-jsreport | ||
- client-registry-santempi | ||
- message-bus-helper-hapi-proxy | ||
- job-scheduler-ofelia | ||
- kafka-mapper-consumer | ||
- kafka-unbundler-consumer | ||
- analytics-datastore-clickhouse | ||
- dashboard-visualiser-superset | ||
- monitoring | ||
- mpi-mediator | ||
- client-registry-jempi | ||
- identity-access-manager-keycloak | ||
- openhim-mapping-mediator |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 19 additions & 19 deletions
38
test/cucumber/features/cluster-mode/clickhouse.cluster.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
Feature: Analytics Datastore Clickhouse? | ||
Does the Analytics Datastore Clickhouse package work as expected | ||
|
||
Scenario: Init Analytics Datastore Clickhouse | ||
Given I use parameters "init analytics-datastore-clickhouse --dev --env-file=.env.cluster" | ||
When I launch the platform with params | ||
Then The service "analytics-datastore-clickhouse-01" should be started with 1 replica | ||
And The service "analytics-datastore-clickhouse-02" should be started with 1 replica | ||
And The service "analytics-datastore-clickhouse-03" should be started with 1 replica | ||
And The service "analytics-datastore-clickhouse-04" should be started with 1 replica | ||
And The service "clickhouse-config-importer" should be removed | ||
And There should be 4 services | ||
Scenario: Init Analytics Datastore Clickhouse | ||
Given I use parameters "package init -n=analytics-datastore-clickhouse --dev --env-file=.env.cluster" | ||
When I launch the platform with params | ||
Then The service "analytics-datastore-clickhouse-01" should be started with 1 replica | ||
And The service "analytics-datastore-clickhouse-02" should be started with 1 replica | ||
And The service "analytics-datastore-clickhouse-03" should be started with 1 replica | ||
And The service "analytics-datastore-clickhouse-04" should be started with 1 replica | ||
And The service "clickhouse-config-importer" should be removed | ||
And There should be 4 services | ||
|
||
Scenario: Destroy Analytics Datastore Clickhouse | ||
Given I use parameters "destroy analytics-datastore-clickhouse --dev --env-file=.env.cluster" | ||
When I launch the platform with params | ||
Then The service "analytics-datastore-clickhouse-01" should be removed | ||
And The service "analytics-datastore-clickhouse-02" should be removed | ||
And The service "analytics-datastore-clickhouse-03" should be removed | ||
And The service "analytics-datastore-clickhouse-04" should be removed | ||
And There should be 0 service | ||
And There should be 0 volume | ||
And There should be 0 config | ||
Scenario: Destroy Analytics Datastore Clickhouse | ||
Given I use parameters "package destroy -n=analytics-datastore-clickhouse --dev --env-file=.env.cluster" | ||
When I launch the platform with params | ||
Then The service "analytics-datastore-clickhouse-01" should be removed | ||
And The service "analytics-datastore-clickhouse-02" should be removed | ||
And The service "analytics-datastore-clickhouse-03" should be removed | ||
And The service "analytics-datastore-clickhouse-04" should be removed | ||
And There should be 0 service | ||
And There should be 0 volume | ||
And There should be 0 config |
57 changes: 28 additions & 29 deletions
57
test/cucumber/features/cluster-mode/elastic-packages.cluster.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,33 @@ | ||
Feature: Analytics Datastore Elasticsearch - Dashboard Visualiser Kibana - Data Mapper Logstash ? | ||
Does the ELK stack work as expected | ||
|
||
Scenario: Init Dashboard Visualiser Kibana | ||
Given I use parameters "init dashboard-visualiser-kibana --dev --env-file=.env.cluster" | ||
When I launch the platform with params | ||
Then The service "analytics-datastore-elastic-search-01" should be started with 1 replica | ||
And The service "analytics-datastore-elastic-search-02" should be started with 1 replica | ||
And The service "analytics-datastore-elastic-search-03" should be started with 1 replica | ||
And The service "dashboard-visualiser-kibana" should be started with 1 replica | ||
And The service "elastic-search-config-importer" should be removed | ||
And The service "kibana-config-importer" should be removed | ||
And There should be 4 services | ||
And The service "dashboard-visualiser-kibana" should have healthy containers | ||
Scenario: Init Dashboard Visualiser Kibana | ||
Given I use parameters "package init -n=dashboard-visualiser-kibana --dev --env-file=.env.cluster" | ||
When I launch the platform with params | ||
Then The service "analytics-datastore-elastic-search-01" should be started with 1 replica | ||
And The service "analytics-datastore-elastic-search-02" should be started with 1 replica | ||
And The service "analytics-datastore-elastic-search-03" should be started with 1 replica | ||
And The service "dashboard-visualiser-kibana" should be started with 1 replica | ||
And The service "elastic-search-config-importer" should be removed | ||
And The service "kibana-config-importer" should be removed | ||
And There should be 4 services | ||
And The service "dashboard-visualiser-kibana" should have healthy containers | ||
|
||
Scenario: Init Data Mapper Logstash | ||
Given I use parameters "init data-mapper-logstash --dev --only --env-file=.env.cluster" | ||
When I launch the platform with params | ||
And The service "data-mapper-logstash" should be started with 3 replicas | ||
And There should be 5 services | ||
And The service "data-mapper-logstash" should have healthy containers | ||
|
||
Scenario: Destroy ELK stack | ||
Given I use parameters "destroy dashboard-visualiser-kibana data-mapper-logstash --dev --env-file=.env.cluster" | ||
When I launch the platform with params | ||
Then The service "analytics-datastore-elastic-search-01" should be removed | ||
And The service "analytics-datastore-elastic-search-02" should be removed | ||
And The service "analytics-datastore-elastic-search-03" should be removed | ||
And The service "dashboard-visualiser-kibana" should be removed | ||
And The service "data-mapper-logstash" should be removed | ||
And There should be 0 service | ||
And There should be 0 volume | ||
And There should be 0 config | ||
Scenario: Init Data Mapper Logstash | ||
Given I use parameters "package init -n=data-mapper-logstash --dev --only --env-file=.env.cluster" | ||
When I launch the platform with params | ||
And The service "data-mapper-logstash" should be started with 3 replicas | ||
And There should be 5 services | ||
And The service "data-mapper-logstash" should have healthy containers | ||
|
||
Scenario: Destroy ELK stack | ||
Given I use parameters "package destroy -n=dashboard-visualiser-kibana,data-mapper-logstash --dev --env-file=.env.cluster" | ||
When I launch the platform with params | ||
Then The service "analytics-datastore-elastic-search-01" should be removed | ||
And The service "analytics-datastore-elastic-search-02" should be removed | ||
And The service "analytics-datastore-elastic-search-03" should be removed | ||
And The service "dashboard-visualiser-kibana" should be removed | ||
And The service "data-mapper-logstash" should be removed | ||
And There should be 0 service | ||
And There should be 0 volume | ||
And There should be 0 config |
50 changes: 25 additions & 25 deletions
50
test/cucumber/features/cluster-mode/hapi-fhir.cluster.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
Feature: Fhir Datastore HAPI-FHIR? | ||
Does the Fhir Datastore HAPI-FHIR package work as expected | ||
|
||
Scenario: Init Fhir Datastore HAPI-FHIR | ||
Given I use parameters "init fhir-datastore-hapi-fhir --dev --env-file=.env.cluster" | ||
When I launch the platform with params | ||
Then The service "postgres-1" should be started with 1 replica | ||
And The service "postgres-2" should be started with 1 replica | ||
And The service "postgres-3" should be started with 1 replica | ||
And The service "hapi-fhir" should be started with 3 replicas | ||
And There should be 4 services | ||
And The service "hapi-fhir" should have healthy containers | ||
Scenario: Init Fhir Datastore HAPI-FHIR | ||
Given I use parameters "package init -n=fhir-datastore-hapi-fhir --dev --env-file=.env.cluster" | ||
When I launch the platform with params | ||
Then The service "postgres-1" should be started with 1 replica | ||
And The service "postgres-2" should be started with 1 replica | ||
And The service "postgres-3" should be started with 1 replica | ||
And The service "hapi-fhir" should be started with 3 replicas | ||
And There should be 4 services | ||
And The service "hapi-fhir" should have healthy containers | ||
|
||
Scenario: Init Message Bus Helper Hapi Proxy | ||
Given I use parameters "init message-bus-helper-hapi-proxy --only --dev --env-file=.env.cluster" | ||
When I launch the platform with params | ||
Then The service "hapi-proxy" should be started with 3 replicas | ||
And There should be 5 services | ||
Scenario: Init Message Bus Helper Hapi Proxy | ||
Given I use parameters "package init -n=message-bus-helper-hapi-proxy --only --dev --env-file=.env.cluster" | ||
When I launch the platform with params | ||
Then The service "hapi-proxy" should be started with 3 replicas | ||
And There should be 5 services | ||
|
||
Scenario: Destroy Fhir Datastore HAPI-FHIR | ||
Given I use parameters "destroy fhir-datastore-hapi-fhir message-bus-helper-hapi-proxy --only --dev --env-file=.env.cluster" | ||
When I launch the platform with params | ||
Then The service "postgres-1" should be removed | ||
And The service "postgres-2" should be removed | ||
And The service "postgres-3" should be removed | ||
And The service "hapi-fhir" should be removed | ||
And The service "hapi-proxy" should be removed | ||
And There should be 0 service | ||
And There should be 0 volume | ||
And There should be 0 config | ||
Scenario: Destroy Fhir Datastore HAPI-FHIR | ||
Given I use parameters "package destroy -n=fhir-datastore-hapi-fhir,message-bus-helper-hapi-proxy --only --dev --env-file=.env.cluster" | ||
When I launch the platform with params | ||
Then The service "postgres-1" should be removed | ||
And The service "postgres-2" should be removed | ||
And The service "postgres-3" should be removed | ||
And The service "hapi-fhir" should be removed | ||
And The service "hapi-proxy" should be removed | ||
And There should be 0 service | ||
And There should be 0 volume | ||
And There should be 0 config |
Oops, something went wrong.