Github user bbende commented on a diff in the pull request:

    https://github.com/apache/nifi-registry/pull/149#discussion_r241190389
  
    --- Diff: 
nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/api/ExtensionResource.java
 ---
    @@ -93,15 +94,25 @@ public ExtensionResource(final RegistryService 
registryService,
                 responseContainer = "List"
         )
         @ApiResponses({ @ApiResponse(code = 401, message = 
HttpStatusMessages.MESSAGE_401) })
    -    public Response getExtensionBundles() {
    +    public Response getExtensionBundles(
    +            @QueryParam("groupId")
    +            @ApiParam("Optional groupId to filter results. The value may 
be an exact match, or a trailing wildcard, " +
    +                    "such as 'com.%' to select all bundles where the 
groupId starts with 'com.'.")
    +                final String groupId,
    +            @QueryParam("artifactId")
    +            @ApiParam("Optional artifactId to filter results. The value 
may be an exact match, or a trailing wildcard, " +
    +                    "such as 'nifi-%' to select all bundles where the 
artifactId starts with 'nifi-'.")
    +                final String artifactId) {
    --- End diff --
    
    Good call, I hadn't really thought about how the SQL 'LIKE' was working and 
I was only really testing trailing wildcards, but you're right, I can remove 
that from the docs.


---

Reply via email to