Skip to content

Commit

Permalink
feat: added event transform (#1492)
Browse files Browse the repository at this point in the history
  • Loading branch information
VaibhavPage authored Jan 3, 2022
1 parent f86648d commit 5f23581
Show file tree
Hide file tree
Showing 102 changed files with 9,781 additions and 469 deletions.
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

0 comments on commit 5f23581

Please sign in to comment.