winery

Generate an Implementation Artifact for a Node Type Interface

To specify what a node type should do, the user can define an interface and the operations provided by this interface. Once the operations of a node type are defined, artifacts (e.g., shell scripts, .war files) implementing these operations need to be modeled. For this, Winery provides an option to automatically generate a stub java maven project to build a .war file for a defined interface. This can be done in the Interface tab of the node type view by pressing Generate Implementation Artifact. A node type implementation will be automatically generated as well, if it does not exist yet. Once you get a confirmation that the artifact was generated, please press Save.

To download the generated stub java main project, go to the detailed view of the artifact template and press ZIP.

Unzip the archive generated by Winery into a location of your choice. In the root folder, you can find a README.txt explaining in details how to edit, build and upload the .war file to the implementation artifact in Winery. A summary of this is provided below. For the next steps, maven and Eclipse are required. Furthermore, maven commands are executed in the root folder of the implementation artifact.

Create an Eclipse Project

Test your Implementation Artifact

Upload your Implementation Artifact

You have two options to do this:

1) Automatically (to the Winery instance this IA project was generated with)

2) Manually