Stratio / Paas Exhibitor At
Programming Languages
README
ACCEPTANCE TESTS
Cucumber automated acceptance tests for Securized Exhibitor running under Stratio PaaS. This module depends on a QA library (stratio-test-bdd), where common logic and steps are implemented.
EXECUTION
These tests will be executed as part of the continuous integration flow as follows:
mvn verify [-D<ENV_VAR>=<VALUE>] [-Dit.test=<TEST_TO_EXECUTE>|-Dgroups=<GROUP_TO_EXECUTE>]
Example (Securized zookeeper):
mvn verify -DDCOS_CLUSTER=10.200.1.221 -DDCOS_CLUSTER_PORT=80 -DDCOS_CLI_HOST=dcos-cli.demo.stratio.com -DDCOS_USER=root -DDCOS_PASSWORD=stratio -DVAULT_HOST=10.200.1.218 -DGOSEC_CONFIG_ZOOKEEPER=10.200.1.215 -DKADMIN_HOST=idp.integration.labs.stratio.com -DVAULT_TOKEN=63fe1061-69ca-5e43-d914-35d796e59df3 -DLDAP_HOST=idp.integration.labs.stratio.com -DVAULT_PORT=8200 -DKDC_HOST=idp.integration.labs.stratio.com -DSERVICE=zookeeper-sec -DDCOS_PEM=none -DSERVICE_ZK_PORT=2181 -DZOOKEEPER_HOSTS=zookeeper-sec.marathon.mesos:2181 -DSECURIZED_ZOOKEEPER=true -Dgroups=functionality
Example 2 (Non-securized exhibitor):
mvn verify -DDCOS_CLUSTER=10.200.1.221 -DDCOS_CLUSTER_PORT=80 -DDCOS_CLI_HOST=dcos-cli.demo.stratio.com -DDCOS_USER=root -DDCOS_PASSWORD=stratio -DVAULT_HOST=10.200.1.218 -DGOSEC_CONFIG_ZOOKEEPER=10.200.1.215 -DKADMIN_HOST=idp.integration.labs.stratio.com -DVAULT_TOKEN=63fe1061-69ca-5e43-d914-35d796e59df3 -DLDAP_HOST=idp.integration.labs.stratio.com -DVAULT_PORT=8200 -DKDC_HOST=idp.integration.labs.stratio.com -DSERVICE=exhibitor -DDCOS_PEM=none -DSERVICE_ZK_PORT=31886 -DZOOKEEPER_HOSTS=10.200.1.209:31886 -DSECURIZED_ZOOKEEPER=false -Dgroups=functionality
By default, in jenkins we will execute the group confluent, which should contain a subset of tests, that are key to the functioning of the module and the ones generated for the new feature.
All tests, that are not fully implemented, should be tagged with '@ignore @tillfixed(PAAS-XXX)'