use of com.yahoo.container.ComponentsConfig in project vespa by vespa-engine.
the class RestApiTest method jersey_handler_is_included_in_components_config.
@Test
public void jersey_handler_is_included_in_components_config() throws Exception {
setup();
ComponentsConfig config = root.getConfig(ComponentsConfig.class, ClusterId);
assertThat(config.toString(), containsString(".id \"" + HandlerId + "\""));
}
use of com.yahoo.container.ComponentsConfig in project vespa by vespa-engine.
the class MultipleRestApisTest method jersey_handler_for_each_rest_api_is_included_in_components_config.
@Test
public void jersey_handler_for_each_rest_api_is_included_in_components_config() {
ComponentsConfig config = root.getConfig(ComponentsConfig.class, CLUSTER_ID);
assertThat(config.toString(), containsString(".id \"" + HANDLER_ID_1 + "\""));
assertThat(config.toString(), containsString(".id \"" + HANDLER_ID_2 + "\""));
}
Aggregations