This is an automated email from the ASF dual-hosted git repository.

exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new 007bf3bcec NIFI-11596 Adjusting Swagger contract to cover 
RegistryClients as possible reference type for Controller Services
007bf3bcec is described below

commit 007bf3bcec8c1dcc898abe0673d55465df37ee29
Author: Bence Simon <[email protected]>
AuthorDate: Thu May 25 10:56:23 2023 +0200

    NIFI-11596 Adjusting Swagger contract to cover RegistryClients as possible 
reference type for Controller Services
    
    This closes #7295
    
    Signed-off-by: David Handermann <[email protected]>
---
 .../nifi/web/api/dto/ControllerServiceReferencingComponentDTO.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/dto/ControllerServiceReferencingComponentDTO.java
 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/dto/ControllerServiceReferencingComponentDTO.java
index 0ec76e1c0f..6abc51108f 100644
--- 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/dto/ControllerServiceReferencingComponentDTO.java
+++ 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/dto/ControllerServiceReferencingComponentDTO.java
@@ -124,7 +124,7 @@ public class ControllerServiceReferencingComponentDTO {
      */
     @ApiModelProperty(
             value = "The type of reference this is.",
-            allowableValues = "Processor, ControllerService, ReportingTask"
+            allowableValues = "Processor, ControllerService, ReportingTask, 
FlowRegistryClient"
     )
     public String getReferenceType() {
         return referenceType;

Reply via email to