-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…to the Event Streams page (#3048)
- Loading branch information
Showing
20 changed files
with
1,494 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"name": "ev7", | ||
"test_mode": true, | ||
"additional_data_headers": "", | ||
"organization": { | ||
"id": 1, | ||
"name": "Default", | ||
"description": "The default organization" | ||
}, | ||
"eda_credential": { | ||
"id": 1, | ||
"name": "basic es1", | ||
"description": "", | ||
"inputs": { | ||
"username": "a", | ||
"password": "$encrypted$", | ||
"auth_type": "basic", | ||
"http_header_key": "Authorization" | ||
}, | ||
"managed": false, | ||
"credential_type_id": 7, | ||
"organization_id": 1 | ||
}, | ||
"event_stream_type": "basic", | ||
"id": 8, | ||
"owner": "admin", | ||
"url": "https://localhost:8443/api/eda/v1/external_event_stream/87731dc0-cc3a-440a-af06-cdc24b52cfa7/post/", | ||
"created_at": "2024-08-26T02:34:59.981077Z", | ||
"modified_at": "2024-08-26T19:41:03.296883Z", | ||
"test_content_type": "", | ||
"test_content": "", | ||
"test_error_message": "", | ||
"test_headers": "", | ||
"events_received": 0, | ||
"last_event_received_at": null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,326 @@ | ||
{ | ||
"name": "Event Stream Instance", | ||
"description": "", | ||
"renders": ["application/json", "text/html"], | ||
"parses": ["application/json", "application/x-www-form-urlencoded", "multipart/form-data"], | ||
"actions": { | ||
"PATCH": { | ||
"name": { | ||
"type": "string", | ||
"required": true, | ||
"read_only": false, | ||
"label": "Name", | ||
"help_text": "The name of the webhook" | ||
}, | ||
"test_mode": { | ||
"type": "boolean", | ||
"required": false, | ||
"read_only": false, | ||
"label": "Test mode", | ||
"help_text": "Enable test mode" | ||
}, | ||
"additional_data_headers": { | ||
"type": "string", | ||
"required": false, | ||
"read_only": false, | ||
"label": "Additional data headers", | ||
"help_text": "The additional http headers which will be added to the event data. The headers are comma delimited" | ||
}, | ||
"organization": { | ||
"type": "field", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Organization" | ||
}, | ||
"eda_credential": { | ||
"type": "nested object", | ||
"required": true, | ||
"read_only": false, | ||
"label": "Eda credential", | ||
"children": { | ||
"id": { | ||
"type": "integer", | ||
"required": false, | ||
"read_only": true, | ||
"label": "ID" | ||
}, | ||
"name": { | ||
"type": "string", | ||
"required": true, | ||
"read_only": false, | ||
"label": "Name" | ||
}, | ||
"description": { | ||
"type": "string", | ||
"required": false, | ||
"read_only": false, | ||
"label": "Description" | ||
}, | ||
"inputs": { | ||
"type": "field", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Inputs" | ||
}, | ||
"managed": { | ||
"type": "boolean", | ||
"required": false, | ||
"read_only": false, | ||
"label": "Managed" | ||
}, | ||
"credential_type_id": { | ||
"type": "field", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Credential type id" | ||
}, | ||
"organization_id": { | ||
"type": "field", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Organization id" | ||
} | ||
} | ||
}, | ||
"event_stream_type": { | ||
"type": "string", | ||
"required": false, | ||
"read_only": false, | ||
"label": "Event stream type", | ||
"help_text": "The type of the event stream based on credential type" | ||
}, | ||
"id": { | ||
"type": "integer", | ||
"required": false, | ||
"read_only": true, | ||
"label": "ID" | ||
}, | ||
"owner": { | ||
"type": "field", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Owner" | ||
}, | ||
"url": { | ||
"type": "string", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Url", | ||
"help_text": "The URL which will be used to post to the event stream" | ||
}, | ||
"created_at": { | ||
"type": "datetime", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Created at" | ||
}, | ||
"modified_at": { | ||
"type": "datetime", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Modified at" | ||
}, | ||
"test_content_type": { | ||
"type": "string", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Test content type", | ||
"help_text": "The content type of test data, when in test mode" | ||
}, | ||
"test_content": { | ||
"type": "string", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Test content", | ||
"help_text": "The content recieved, when in test mode, stored as a yaml string" | ||
}, | ||
"test_error_message": { | ||
"type": "string", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Test error message", | ||
"help_text": "The error message, when in test mode" | ||
}, | ||
"test_headers": { | ||
"type": "string", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Test headers", | ||
"help_text": "The headers recieved, when in test mode, stored as a yaml string" | ||
}, | ||
"events_received": { | ||
"type": "integer", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Events received", | ||
"help_text": "The total number of events received by event stream" | ||
}, | ||
"last_event_received_at": { | ||
"type": "datetime", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Last event received at", | ||
"help_text": "The date/time when the last event was received" | ||
} | ||
}, | ||
"GET": { | ||
"name": { | ||
"type": "string", | ||
"required": true, | ||
"read_only": false, | ||
"label": "Name", | ||
"help_text": "The name of the webhook" | ||
}, | ||
"test_mode": { | ||
"type": "boolean", | ||
"required": false, | ||
"read_only": false, | ||
"label": "Test mode", | ||
"help_text": "Enable test mode" | ||
}, | ||
"additional_data_headers": { | ||
"type": "string", | ||
"required": false, | ||
"read_only": false, | ||
"label": "Additional data headers", | ||
"help_text": "The additional http headers which will be added to the event data. The headers are comma delimited" | ||
}, | ||
"organization": { | ||
"type": "field", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Organization" | ||
}, | ||
"eda_credential": { | ||
"type": "nested object", | ||
"required": true, | ||
"read_only": false, | ||
"label": "Eda credential", | ||
"children": { | ||
"id": { | ||
"type": "integer", | ||
"required": false, | ||
"read_only": true, | ||
"label": "ID" | ||
}, | ||
"name": { | ||
"type": "string", | ||
"required": true, | ||
"read_only": false, | ||
"label": "Name" | ||
}, | ||
"description": { | ||
"type": "string", | ||
"required": false, | ||
"read_only": false, | ||
"label": "Description" | ||
}, | ||
"inputs": { | ||
"type": "field", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Inputs" | ||
}, | ||
"managed": { | ||
"type": "boolean", | ||
"required": false, | ||
"read_only": false, | ||
"label": "Managed" | ||
}, | ||
"credential_type_id": { | ||
"type": "field", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Credential type id" | ||
}, | ||
"organization_id": { | ||
"type": "field", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Organization id" | ||
} | ||
} | ||
}, | ||
"event_stream_type": { | ||
"type": "string", | ||
"required": false, | ||
"read_only": false, | ||
"label": "Event stream type", | ||
"help_text": "The type of the event stream based on credential type" | ||
}, | ||
"id": { | ||
"type": "integer", | ||
"required": false, | ||
"read_only": true, | ||
"label": "ID" | ||
}, | ||
"owner": { | ||
"type": "field", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Owner" | ||
}, | ||
"url": { | ||
"type": "string", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Url", | ||
"help_text": "The URL which will be used to post to the event stream" | ||
}, | ||
"created_at": { | ||
"type": "datetime", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Created at" | ||
}, | ||
"modified_at": { | ||
"type": "datetime", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Modified at" | ||
}, | ||
"test_content_type": { | ||
"type": "string", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Test content type", | ||
"help_text": "The content type of test data, when in test mode" | ||
}, | ||
"test_content": { | ||
"type": "string", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Test content", | ||
"help_text": "The content recieved, when in test mode, stored as a yaml string" | ||
}, | ||
"test_error_message": { | ||
"type": "string", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Test error message", | ||
"help_text": "The error message, when in test mode" | ||
}, | ||
"test_headers": { | ||
"type": "string", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Test headers", | ||
"help_text": "The headers recieved, when in test mode, stored as a yaml string" | ||
}, | ||
"events_received": { | ||
"type": "integer", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Events received", | ||
"help_text": "The total number of events received by event stream" | ||
}, | ||
"last_event_received_at": { | ||
"type": "datetime", | ||
"required": false, | ||
"read_only": true, | ||
"label": "Last event received at", | ||
"help_text": "The date/time when the last event was received" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.