Implementing Executor Services

Job Executors (sync, async, resources) own and host the action configuration / action executors (resource configuration / resource executor). When the services start, they automatically send a notification that says whether the action / resource can be executed. Enterprise consumes those notifications to register the action configurations dynamically.

Types of JEF Executors

Three different types of executor are included with JEF. These are as follows:

  • Synchronous Job Executor: This service executes short running actions. This service along with the supported actions is provided as part of Ooyala Flex deployments and is maintained by the Ooyala Flex team exclusively.
  • Job Asynchronous Executor: This service executes long running actions. This service along with the supported actions is provided as part of Ooyala Flex deployments and is maintained by the Ooyala Flex team exclusively. Developers could create new Job asynchronous executor services to extend JEF capabilities with new action plugin support.
  • Resource Executors [for future release]: Resources are special types of job asynchronous executors. These have the additional responsibility of managing external systems, along with asynchronous job execution.
Note: Resource executors are only supported on the JEF side. Development is currently in progress in order to make them available in Enterprise. This will be available in future releases. Please contact the Ooyala Flex team for more information regarding this feature.

Executor Services Included with JEF

The following executor services are provided as part of JEF:

Name Description Access Type
Job Sync Executor service A service that is responsible for executing short running actions. This service along with supported actions is provided as part of Flex deployment and maintained by the Ooyala Flex team. Extension
Job Async Executor service A service that is responsible for executing long running actions. This service along with supported actions is provided as part of the Ooyala Flex deployment and maintained by the Ooyala Flex team Extension
JEF Example Executor This is a simple action provided as part of the documentation and ‘Getting Started’ demo project. Developers can use this project as a reference to create new job async executor. Extension (open source code)
Note: For more information please consult the JEF: Getting Started guide (ReadMe file) included in the flex-jefexampleexecutor-service project in BitBucket.
https://help.ooyala.com/sites/all/libraries/dita/en/media-logistics/flex/dev/70/jef_programming_guide_implementing_executor_services.html

Was this article helpful?