L2 Construct: dummy_task
dummy testDescription
Dummy Task
L2 Data
- Provider: pontus
- Module: dummy
- Action: dummy_task
Example Step
{
"name": "insert-your-step-name",
"type": "l2",
"l2_data": {
"provider": "pontus",
"module": "dummy",
"action": "dummy_task",
"metadata": {}
}
}
Input
Example
{
"test": {
"Count": 1,
"error": {
"is_error": false
}
},
"should_fail": false
}
Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://pontus.bpa/pkgs/l2/pontus/dummy/dummy-input",
"$ref": "#/$defs/DummyInput",
"$defs": {
"DummyInput": {
"properties": {
"test": {
"$ref": "#/$defs/DummyOutput"
},
"should_fail": {
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object",
"required": ["test", "should_fail"]
},
"DummyOutput": {
"properties": {
"Count": {
"type": "integer"
},
"error": {
"$ref": "#/$defs/HandlerError"
}
},
"additionalProperties": false,
"type": "object",
"required": ["Count", "error"]
},
"HandlerError": {
"properties": {
"is_error": {
"type": "boolean"
},
"errors": {
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object",
"required": ["is_error"]
}
}
}
Output
Example
{
"Count": 1,
"error": {
"is_error": false
}
}
Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://pontus.bpa/pkgs/l2/pontus/dummy/dummy-output",
"$ref": "#/$defs/DummyOutput",
"$defs": {
"DummyOutput": {
"properties": {
"Count": {
"type": "integer"
},
"error": {
"$ref": "#/$defs/HandlerError"
}
},
"additionalProperties": false,
"type": "object",
"required": ["Count", "error"]
},
"HandlerError": {
"properties": {
"is_error": {
"type": "boolean"
},
"errors": {
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object",
"required": ["is_error"]
}
}
}