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 or not 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
Smoke Resource A simple smoke action and resource used for acceptance testing when integrating multiple services. Extension (open source code)
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)

JEF Extension Services

The following JEF extension services are provided as part of the JEF package:

Name Description Access Type
Transcode Resource This is responsible for managing all Ooyala Flex supported media transcodes (first version in progress with Ooyala Flex Stream Processor engine support) Extension
Note: For more information please consult the JEF: Getting Started guide (ReadMe file) included in flex-jefexampleexecutor-service project in BitBucket.
https://help.ooyala.com/sites/all/libraries/dita/en/media-logistics/flex/dev/60/jef_programming_guide_implementing_executor_services.html

Was this article helpful?