dominikriemer commented on code in PR #2077:
URL: https://github.com/apache/streampipes/pull/2077#discussion_r1375022588
##########
streampipes-client/src/main/java/org/apache/streampipes/client/api/AdminApi.java:
##########
@@ -98,4 +112,16 @@ private StreamPipesApiPath getFunctionsPath() {
private StreamPipesApiPath getDeleteFunctionPath(String functionId) {
return getFunctionsPath().addToPath(functionId);
}
+
+ private StreamPipesApiPath getAdapterMigrationPath() {
+ return StreamPipesApiPath
+ .fromBaseApiPath()
+ .addToPath("migrations/adapter");
Review Comment:
I suggest to use `addToPath` for every URL part:
`addToPath("migrations").addToPath("adapter") and then to reuse the migrations
path in a constant
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]