/yorc-dynamic-orchestration-plugin

Ystia Orchestrator dynamic orchestration plugin

Primary LanguageGoApache License 2.0Apache-2.0

Yorc Dynamic Orchestration plugin

The Yorc Dynamic Orchestration plugin implements a Yorc (Ystia orchestrator) plugin as described in Yorc documentation, allowing the orchestrator to dynamically change the location of infrastructure resources to create in a workflow.

TOSCA components

This plugin provides the following TOSCA components defined in the TOSCA file a4c/dynamic-orchestration-types-a4c.yaml that can be uploaded in Alien4Cloud catalog of TOSCA components:

org.lexis.common.dynamic.orchestration.nodes.SetLocationsJob

Compute the best locations where to allocate the associated infrastructure resources components

org.lexis.common.dynamic.orchestration.nodes.ValidateAndExchangeToken

Validate an input token and exchange it for the orchestrator client

org.lexis.common.dynamic.orchestration.nodes.RefreshTargetTokens

Refreshes the access token attribute of the associated target

To build this plugin

You need first to have a working Go environment. Then to build, execute the following instructions:

mkdir -p $GOPATH/src/github.com/laurentganne
cd $GOPATH/src/github.com/laurentganne
git clone https://github.com/laurentganne/yorc-dynamic-orchestration-plugin
cd yorc-dynamic-orchestration-plugin
make

The plugin is then available at bin/lexis-dynamic-orchestration-plugin.

Licensing

This plugin is licensed under the Apache 2.0 License.