-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from Vualto/te-new-template-changes
Te new template changes
- Loading branch information
Showing
9 changed files
with
162 additions
and
124 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,15 @@ | ||
DEVELOPER DOCUMENTATION | ||
============================================= | ||
|
||
As mentioned in the index page the Task Engine facilitates the creation of VOD from online and offline sources. This supports products such as VCH, Clip2VU and Media Syndication. | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
DeveloperDocumentation/Integration.md | ||
DeveloperDocumentation/TaskEngineAPI.md | ||
DeveloperDocumentation/TaskEngineWorkflowFeatures.md | ||
DeveloperDocumentation/TaskEngineWorkflows.md | ||
VCH API<https://docs.vualto.com/projects/VIS/en/latest/> | ||
CLIP2VU <https://docs.vualto.com/projects/clip2vu/en/latest/> | ||
MEDIA SYNDICATION<https://docs.vualto.com/projects/media-syndication/en/latest/> |
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,51 @@ | ||
# INTEGRATION | ||
|
||
There are two main integration points for the Task Engine: | ||
|
||
**API** – how jobs are submitted to the Task Engine. | ||
|
||
**Callbacks** – how the Task Engine notifies client systems of job progress. | ||
|
||
### API | ||
|
||
The API is mainly used to trigger [workflows](TaskEngineWorkflows.md) within the Task Engine but additional API endpoints are available for job management. Full API documentation can be found [here](TaskEngineAPI.html) | ||
|
||
### CALLBACKS | ||
|
||
Callbacks are used to notify a integrated services with workflow execution updates. Callback URLs are submitted as part of the payloads and the Task Engine will send callbacks when: | ||
|
||
1. A task starts | ||
2. A task ends (success or fail) | ||
3. A job ends (success or fail) | ||
|
||
All default task callbacks will the contain the same JSON body structure: | ||
|
||
```json | ||
"job_id": "<job id>", | ||
"task_id": "<task id>", | ||
"task_name": "<task name>", | ||
"workflow": "<workflow name>", | ||
"event": "<task event>", | ||
"content_id": "<content_id>", | ||
"message": "<task exception message>" | ||
``` | ||
|
||
Job callbacks vary depending on the workflow being executed but the following are common in all workflows. | ||
|
||
```json | ||
"job_id": "<job id>", | ||
"status": "<job status>", | ||
"workflow": "<workflow name>", | ||
"content_id": "<content id>", | ||
"custom_data": "<client custom data>" | ||
``` | ||
|
||
More information of the callbacks for each workflow can be found [here](TaskEngineWorkflows.md). | ||
|
||
Specifying the Vualto Control Hub Video Information Service web-hook (`https://vis.controlhub.[client].vualto.com/api/event/vuflow/taskenginecallback`) as a callback url, will be add the asset as a VOD event within the Vualto Control Hub CMS. A second CMS web-hook (`https://admin.controlhub.[client].vualto.com/vod/PublishVuflowData`) can also be included for realtime updates on the status of the job. | ||
|
||
As Task Engine is an integration product that can be customised, any specific requirements are easily catered for (eg. setting authentication headers) and the body of a callbacks may also be modified. | ||
|
||
## AUTHENTICATION | ||
|
||
All Task Engine API calls that require authentication currently use the client name and API key provided by Vualto. The credentials should be supplied as `client` and `api-key` headers respectively. |
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
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
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
Oops, something went wrong.