Skip to content

Commit b030ed4

Browse files
Update tag endpoint paths to use applicationId
1 parent 72a6769 commit b030ed4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

orkes-client/src/main/java/io/orkes/conductor/client/http/ApplicationResource.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ void putTags(List<TagObject> body, String applicationId) {
173173
}
174174
ConductorClientRequest request = ConductorClientRequest.builder()
175175
.method(Method.PUT)
176-
.path("/applications/{id}/tags")
176+
.path("/applications/{applicationId}/tags")
177177
.addPathParam("applicationId", applicationId)
178178
.body(body)
179179
.build();
@@ -184,7 +184,7 @@ void putTags(List<TagObject> body, String applicationId) {
184184
List<TagObject> getTags(String applicationId) {
185185
ConductorClientRequest request = ConductorClientRequest.builder()
186186
.method(Method.GET)
187-
.path("/applications/{id}/tags")
187+
.path("/applications/{applicationId}/tags")
188188
.addPathParam("applicationId", applicationId)
189189
.build();
190190

@@ -200,7 +200,7 @@ void deleteTags(List<TagObject> body, String applicationId) {
200200
}
201201
ConductorClientRequest request = ConductorClientRequest.builder()
202202
.method(Method.DELETE)
203-
.path("/applications/{id}/tags")
203+
.path("/applications/{applicationId}/tags")
204204
.addPathParam("applicationId", applicationId)
205205
.body(body)
206206
.build();

0 commit comments

Comments
 (0)