Revision 54970
Added by Michele Artini about 5 years ago
DsManagerClient.java | ||
---|---|---|
72 | 72 |
ImmutableMap.of("dsId", dsId, "ifaceId", ifaceId, "level", level, "override", override)); |
73 | 73 |
} |
74 | 74 |
|
75 |
public void resetLevelOfCompliance(final String dsId, final String ifaceId) { |
|
76 |
(new RestTemplate()).getForObject(props.getDatasourceManagerUrl() + "/api/compliance?dsId={dsId}&ifaceId={ifaceId}&override=true", |
|
77 |
Object.class, |
|
78 |
ImmutableMap.of("dsId", dsId, "ifaceId", ifaceId)); |
|
79 |
} |
|
80 |
|
|
75 | 81 |
public void updateBaseUrl(final String dsId, final String ifaceId, final String baseUrl) { |
76 | 82 |
(new RestTemplate()).getForObject( |
77 | 83 |
props.getDatasourceManagerUrl() + "/api/baseUrl?dsId={dsId}&ifaceId={ifaceId}&baseUrl={baseUrl}", |
Also available in: Unified diff