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

remove hardcoded v1

parent de51bee5
No related branches found
No related tags found
1 merge request!60Indexer to read from Schema Service as well as Storage Schema
Pipeline #18487 failed
......@@ -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.
Finish editing this message first!
Please register or to comment