Commit f9516945 authored by Rasko Leinonen's avatar Rasko Leinonen

Changed metadata reference check endpoints from reference/ to cli/reference.

parent dce2a127
......@@ -69,7 +69,7 @@ AnalysisService extends WebinService
HttpHeaders headers = new HttpHeaderBuilder().basicAuth( userName, password ).build();
ResponseEntity<AnalysisResponse> response = restTemplate.exchange( getWebinRestUri( "reference/analysis/{id}", test ),
ResponseEntity<AnalysisResponse> response = restTemplate.exchange( getWebinRestUri( "cli/reference/analysis/{id}", test ),
HttpMethod.GET,
new HttpEntity<>( headers ),
AnalysisResponse.class,
......
......@@ -69,7 +69,7 @@ RunService extends WebinService
HttpHeaders headers = new HttpHeaderBuilder().basicAuth( userName, password ).build();
ResponseEntity<RunResponse> response = restTemplate.exchange( getWebinRestUri( "reference/run/{id}", test ),
ResponseEntity<RunResponse> response = restTemplate.exchange( getWebinRestUri( "cli/reference/run/{id}", test ),
HttpMethod.GET,
new HttpEntity<>( headers ),
RunResponse.class,
......
......@@ -60,7 +60,7 @@ SampleService extends WebinService
WebinCliMessage.SAMPLE_SERVICE_SYSTEM_ERROR.format(sampleId)));
ResponseEntity<SampleResponse> response = restTemplate.exchange(
getWebinRestUri("reference/sample/{id}", test),
getWebinRestUri("cli/reference/sample/{id}", test),
HttpMethod.GET,
new HttpEntity<>((new HttpHeaderBuilder()).basicAuth(userName, password).build()),
SampleResponse.class,
......
......@@ -68,7 +68,7 @@ public class StudyService extends WebinService {
HttpHeaders headers = new HttpHeaderBuilder().basicAuth(userName, password).build();
ResponseEntity<StudyResponse> response = restTemplate.exchange(
getWebinRestUri("reference/project/{id}", test),
getWebinRestUri("cli/reference/project/{id}", test),
HttpMethod.GET,
new HttpEntity<>(headers),
StudyResponse.class,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment