|
1 | 1 | Feature: Analytics Datastore Elasticsearch - Dashboard Visualiser Kibana - Data Mapper Logstash ? |
2 | 2 | Does the ELK stack work as expected |
3 | 3 |
|
4 | | - Scenario: Init Dashboard Visualiser Kibana |
5 | | - Given I use parameters "init dashboard-visualiser-kibana --dev --env-file=.env.cluster" |
6 | | - When I launch the platform with params |
7 | | - Then The service "analytics-datastore-elastic-search-01" should be started with 1 replica |
8 | | - And The service "analytics-datastore-elastic-search-02" should be started with 1 replica |
9 | | - And The service "analytics-datastore-elastic-search-03" should be started with 1 replica |
10 | | - And The service "dashboard-visualiser-kibana" should be started with 1 replica |
11 | | - And The service "elastic-search-config-importer" should be removed |
12 | | - And The service "kibana-config-importer" should be removed |
13 | | - And There should be 4 services |
14 | | - And The service "dashboard-visualiser-kibana" should have healthy containers |
| 4 | + Scenario: Init Dashboard Visualiser Kibana |
| 5 | + Given I use parameters "package init -n=dashboard-visualiser-kibana --dev --env-file=.env.cluster" |
| 6 | + When I launch the platform with params |
| 7 | + Then The service "analytics-datastore-elastic-search-01" should be started with 1 replica |
| 8 | + And The service "analytics-datastore-elastic-search-02" should be started with 1 replica |
| 9 | + And The service "analytics-datastore-elastic-search-03" should be started with 1 replica |
| 10 | + And The service "dashboard-visualiser-kibana" should be started with 1 replica |
| 11 | + And The service "elastic-search-config-importer" should be removed |
| 12 | + And The service "kibana-config-importer" should be removed |
| 13 | + And There should be 4 services |
| 14 | + And The service "dashboard-visualiser-kibana" should have healthy containers |
15 | 15 |
|
16 | | - Scenario: Init Data Mapper Logstash |
17 | | - Given I use parameters "init data-mapper-logstash --dev --only --env-file=.env.cluster" |
18 | | - When I launch the platform with params |
19 | | - And The service "data-mapper-logstash" should be started with 3 replicas |
20 | | - And There should be 5 services |
21 | | - And The service "data-mapper-logstash" should have healthy containers |
22 | | - |
23 | | - Scenario: Destroy ELK stack |
24 | | - Given I use parameters "destroy dashboard-visualiser-kibana data-mapper-logstash --dev --env-file=.env.cluster" |
25 | | - When I launch the platform with params |
26 | | - Then The service "analytics-datastore-elastic-search-01" should be removed |
27 | | - And The service "analytics-datastore-elastic-search-02" should be removed |
28 | | - And The service "analytics-datastore-elastic-search-03" should be removed |
29 | | - And The service "dashboard-visualiser-kibana" should be removed |
30 | | - And The service "data-mapper-logstash" should be removed |
31 | | - And There should be 0 service |
32 | | - And There should be 0 volume |
33 | | - And There should be 0 config |
| 16 | + Scenario: Init Data Mapper Logstash |
| 17 | + Given I use parameters "package init -n=data-mapper-logstash --dev --only --env-file=.env.cluster" |
| 18 | + When I launch the platform with params |
| 19 | + And The service "data-mapper-logstash" should be started with 3 replicas |
| 20 | + And There should be 5 services |
| 21 | + And The service "data-mapper-logstash" should have healthy containers |
34 | 22 |
|
| 23 | + Scenario: Destroy ELK stack |
| 24 | + Given I use parameters "package destroy -n=dashboard-visualiser-kibana,data-mapper-logstash --dev --env-file=.env.cluster" |
| 25 | + When I launch the platform with params |
| 26 | + Then The service "analytics-datastore-elastic-search-01" should be removed |
| 27 | + And The service "analytics-datastore-elastic-search-02" should be removed |
| 28 | + And The service "analytics-datastore-elastic-search-03" should be removed |
| 29 | + And The service "dashboard-visualiser-kibana" should be removed |
| 30 | + And The service "data-mapper-logstash" should be removed |
| 31 | + And There should be 0 service |
| 32 | + And There should be 0 volume |
| 33 | + And There should be 0 config |
0 commit comments