public int getLocalPort() { return this.localSchemaRegistryServer.getLocalPort(); }
@Before public void setup() throws Exception { String configPath = new File(Resources.getResource("schema-registry-test.yaml").toURI()).getAbsolutePath(); localSchemaRegistryServer = new LocalSchemaRegistryServer(configPath); localSchemaRegistryServer.start(); String rootUrl = String.format("http://localhost:%d/api/v1/confluent", localSchemaRegistryServer.getLocalPort()); rootTarget = createRootTarget(rootUrl); }
localSchemaRegistryServer.start(); final String confluentUrl = String.format("http://localhost:%d/api/v1/confluent", localSchemaRegistryServer.getLocalPort()); final String registryUrl = String.format("http://localhost:%d/api/v1", localSchemaRegistryServer.getLocalPort());
localSchemaRegistryServer.start(); final String confluentUrl = String.format("http://localhost:%d/api/v1/confluent", localSchemaRegistryServer.getLocalPort()); final String registryUrl = String.format("http://localhost:%d/api/v1", localSchemaRegistryServer.getLocalPort());