[
https://issues.apache.org/jira/browse/NIFI-15273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18041949#comment-18041949
]
ASF subversion and git services commented on NIFI-15273:
--------------------------------------------------------
Commit af7d8478b4b48e737b0adf6cdcc92b9745dd3a0e in nifi's branch
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=af7d8478b4 ]
NIFI-15273 Added custom Validator for WebSocket Message Type for PutWebSocket
(#10580)
Signed-off-by: David Handermann <[email protected]>
> Improve validation for property PROP_WS_MESSAGE_TYPE in PutWebSocket
> --------------------------------------------------------------------
>
> Key: NIFI-15273
> URL: https://issues.apache.org/jira/browse/NIFI-15273
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Currently there is only non blank validation for the PROP_WS_MESSAGE_TYPE
> property in PutWebSocket which can lead to a run time exception being thrown
> if the type entered does not match the values in the WebSocketMessage.Type
> enum.
> The purpose of this ticket is to add validation to ensure only an Expression
> Language expression is entered or one of the values in the
> WebSocketMessage.Type enum for property PROP_WS_MESSAGE_TYPE.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)