Benjamin KAHANE
- Updated
See https://github.com/dalet-oss/flex-jefexampleexecutor-service/tree/master/Service/src/main/java/com/ooyala/flex/jefexampleexecutor/actions/impl/executor
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.
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.
Comments
0 comments
Please sign in to leave a comment.