use of com.thinkbiganalytics.metadata.api.catalog.Connector in project kylo by Teradata.
the class JcrConnectorProviderTest method testFindPage.
@Test(dependsOnMethods = "testDelete")
public void testFindPage() {
metadata.read(() -> {
Page<Connector> conns = this.connectorProvider.findPage(new PageRequest(0, 5), null);
assertThat(conns).isNotNull();
assertThat(conns).hasSize(5);
assertThat(conns).extracting("pluginId", "systemName", "title", "description").contains(connectorTuple("1"), connectorTuple("2"), connectorTuple("3"), connectorTuple("4"), connectorTuple("5"));
}, MetadataAccess.SERVICE);
}
use of com.thinkbiganalytics.metadata.api.catalog.Connector in project kylo by Teradata.
the class JcrConnectorProviderTest method createConnector.
protected Connector createConnector(String tag) {
Connector conn1 = this.connectorProvider.create("plugin" + tag, "Test " + tag + " Connector");
conn1.setDescription("Test description " + tag);
return conn1;
}
Aggregations