Skip to content
Snippets Groups Projects
Commit 689eb9c9 authored by Sviatoslav Nekhaienko's avatar Sviatoslav Nekhaienko
Browse files

remove hardcoded v1

parent de51bee5
Branches
Tags
1 merge request!60Indexer to read from Schema Service as well as Storage Schema
Checking pipeline status
......@@ -59,13 +59,13 @@ public class SchemaServiceClient {
private String buildSchemaUri(String id) {
return UriComponentsBuilder.fromHttpUrl(schemaBaseUrl)
.path("/v1/schema/{schema-id}")
.path("/schema/{schema-id}")
.buildAndExpand(id).toUriString();
}
private String buildSchemaUri() {
return UriComponentsBuilder.fromHttpUrl(schemaBaseUrl)
.path("/v1/schema/")
.path("/schema/")
.build().toUriString();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment