emiliosetiadarma commented on code in PR #6637:
URL: https://github.com/apache/nifi/pull/6637#discussion_r1027555251
##########
nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/api/ApplicationResource.java:
##########
@@ -230,4 +230,10 @@ protected RevisionInfo getRevisionInfo(final LongParameter
version, final Client
return revisionInfo;
}
+ private String getNiFiRegistryUri() {
+ final String nifiRegistryApiUrl = generateResourceUri();
+ final String baseUrl =
StringUtils.substringBeforeLast(nifiRegistryApiUrl, "/nifi-registry-api");
+
+ return baseUrl + "/nifi-registry/";
Review Comment:
The previous approach was to use `generateResourceUri("..",
"nifi-registry")` which I could revert to. This approach makes it similar to
how NiFi gets it done. Let me know how you want me to proceed
--
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]