After you install a plug-in in Automation Orchestrator, you can create and run workflows. If you want to include these workflows in the plug-in package, you must export the content of the workflows to the plug-in project.
Procedure
- Log in to the Automation Orchestrator Client.
- Navigate to .
- Click New Package.
- In the Package name text box, enter com.vmware.library.redis.
- On the Content tab, add your Redis workflows.
- Click Create.
- On the machine where you created the Redis plug-in, open the pom.xml file of the package o11nplugin-redis-package module.
- Modify the packageName property of the plug-in package configuration.
<plugin>
<groupId>com.vmware.o11n.mojo.pkg</groupId>
<artifactId>maven-o11n-package-plugin</artifactId>
<version>${vco.version}</version>
<extensions>true</extensions>
<configuration>
<packageName>com.vmware.o11n.library.redis</packageName>
<!-- Set the local path to the *.vmokeystore file used to sign the content -->
<keystoreLocation>${keystoreLocation}</keystoreLocation>
<keystorePassword>${keystorePassword}</keystorePassword>
<includes>
<include>**/Library/Redis/**/*.element_info.xml</include>
</includes>
<packageFileName>o11nplugin-redis-package-${project.version}</packageFileName>
<allowedMask>vef</allowedMask>
<exportVersionHistory>false</exportVersionHistory>
</configuration>
</plugin>
The allowedMask
must have a value of vef
if you want the contents of your package to be editable after they are installed alongside the plug-in. Removing the letter "e" and having only a value of vf
does not allow you to edit your content from the UI.
- Go to the o11nplugin-redis-package folder and run the mvn import command.
mvn o11n-package:import-package -DserverUrl={orchestrator_host}:{orchestrator_port} -Dusername={orchestrator_user} -Dpassword={orchestrator_pass} -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true
You must replace the placeholders with the parameters of your environment. If your user name includes a domain, for example
[email protected], you must add a slash (\) to your user name.
vsphere.local\administrator
Two new files appear under the
o11nplugin-redis-package/src/main/resources/Workflow/Library folder.
Results
You have added new content to your plug-in project. To add more content, add this content to the plug-in package, and run the mvn import command.