Skip to content
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

feat: added event transform #1492

Merged
merged 9 commits into from
Jan 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
679 changes: 676 additions & 3 deletions api/event-bus.md

Large diffs are not rendered by default.

4,460 changes: 4,448 additions & 12 deletions api/event-source.md

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions api/jsonschema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2682,6 +2682,10 @@
"name": {
"description": "Name is a unique name of this dependency",
"type": "string"
},
"transform": {
"$ref": "#/definitions/io.argoproj.sensor.v1alpha1.EventDependencyTransformer",
"description": "Transform transforms the event data"
}
},
"required": [
Expand Down Expand Up @@ -2719,6 +2723,20 @@
},
"type": "object"
},
"io.argoproj.sensor.v1alpha1.EventDependencyTransformer": {
"description": "EventDependencyTransformer transforms the event",
"properties": {
"jq": {
"description": "JQ holds the jq command applied for transformation",
"type": "string"
},
"script": {
"description": "Script refers to a Lua script used to transform the event",
"type": "string"
}
},
"type": "object"
},
"io.argoproj.sensor.v1alpha1.ExprFilter": {
"properties": {
"expr": {
Expand Down
18 changes: 18 additions & 0 deletions api/openapi-spec/swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 56 additions & 0 deletions api/sensor.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading