After you install a plug-in in vRealize 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

  1. Log in to the vRealize Orchestrator Client.
  2. Navigate to Assets > Packages.
  3. Click New Package.
  4. In the Package name text box, enter com.vmware.library.redis.
  5. Select the Content tab, and click Add.
  6. Select your Radis workflow. See Create a Workflow.
  7. Click Add.
  8. To finish creating the package, click Create.
  9. On the machine where you created the Redis plug-in, open the pom.xml file of the package o11nplugin-redis-package module.
  10. 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> 
    
  11. Go to the o11nplugin-redis-package folder and run the mvn import command.
    mvn o11n-package:import-package -DserverUrl={vro_host}:{vro_port} -Dusername={vro_user} -Dpassword={vro_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 administrator@vsphere.local, 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.