-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Teach pipeline validator about terminate processor #847
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,7 @@ spec: | |
# set_security_user: false # Applicable to packages? | ||
sort: { type: object } | ||
split: { type: object } | ||
terminate: { type: object } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Btw, please add a patch below, so this processor is actually not available in older versions of the spec, something like this:
|
||
trim: { type: object } | ||
uppercase: { type: object } | ||
urldecode: { type: object } | ||
|
@@ -115,3 +116,7 @@ versions: | |
path: /definitions/processors/if # remove rename processor validation | ||
- op: remove | ||
path: /definitions/processors/then # remove rename processor validation | ||
- before: 3.3.0 | ||
patch: | ||
- op: remove | ||
path: /definitions/processors/terminate # remove terminate processor validation | ||
Comment on lines
+119
to
+122
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This array item should be added as the first one (as it references a newer version in the And looking at the error:
the path should be updated too. I think it should be like this:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this could be added in a 3.3.2. Both spec 3.3 and the terminate processor were introduced in 8.16,