Skip to content

Commit a1a00a3

Browse files
authored
NIFI-15512 Added Parameter Context Validation for synchronous updates (#10840)
Signed-off-by: David Handermann <exceptionfactory@apache.org>
1 parent 2c55656 commit a1a00a3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/ParameterContextResource.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,9 @@ public Response updateParameterContext(
325325
throw new IllegalArgumentException("The Revision of the Parameter Context must be specified.");
326326
}
327327

328+
validateParameterNames(updateDto);
329+
validateAssetReferences(updateDto);
330+
328331
// Perform the request
329332
if (isReplicateRequest()) {
330333
return replicate(HttpMethod.PUT, requestEntity);

0 commit comments

Comments
 (0)