Search in sources :

Example 1 with TestParameter

use of com.sequenceiq.it.TestParameter in project cloudbreak by hortonworks.

the class IntegrationTestConfiguration method testParameter.

@Bean
public TestParameter testParameter(Environment environment) {
    TestParameter testParameter = new TestParameter();
    LOGGER.info("Application.yml based parameters ::: ");
    testParameter.putAll(getAllKnownProperties(environment));
    return testParameter;
}
Also used : TestParameter(com.sequenceiq.it.TestParameter) Bean(org.springframework.context.annotation.Bean)

Aggregations

TestParameter (com.sequenceiq.it.TestParameter)1 Bean (org.springframework.context.annotation.Bean)1