Dalet Flex documentation has moved!
This page is no longer actively maintained. For the latest documentation, please visit us at our new support portal: https://support.dalet.com

Action Executor

See https://github.com/dalet-oss/flex-jefexampleexecutor-service/tree/master/Service/src/main/java/com/ooyala/flex/jefexampleexecutor/actions/impl/executor

Versioning in JEF

In order to define versions in JEF, you should provide the following definitions through annotations:

Example:

@ActionPlugin(
       uuid = "f2333a20-5557-48db-84fe-b54379e43c09",
       type = "example", plugin = "jef-email-action",
       version = "1.0",
       actionConfiguration = EmailActionConfiguration.class)
public class EmailActionExecutor extends ActionExecutor {
    ...

See Action and Resource Plugin Versions for an explanation of the annotation fields and details of how they should be configured.

JEF Scoping

You can control the visibility of all the available JEF plugins you have created in Dalet Flex Enterprise. This can be achieved using the following PluginScope Java annotation:

Example:

@Component
@Scope("prototype")
@Slf4j
@PluginScope(value = PluginScopeType.DEVELOPMENT)
@ActionPlugin(uuid = "3ab237d4-0b19-4f01-8ded-396ee5444284", type = "smoke", plugin = "async-smoke-action",
              version = "1.3", actionConfiguration = AsyncSmokeActionConfiguration.class)
public class AsyncSmokeActionExecutor extends ActionExecutor<AsyncSmokeActionConfiguration>
    ...

This annotation defines the level of visibility that Enterprise is configured to show for each action.

  • PluginScopeType.RELEASE
  • PluginScopeType.DEVELOPMENT
  • PluginScopeType.DEPRECATED
  • PluginScopeType.OBSOLETE