Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Winery

Revision as of 10:42, 7 April 2014 by Unnamed Poltroon (Talk) (TOSCA Topology Completion)

Winery Code Setup Guide

Repositories

Winery is split into three repositories: misc, models, and winery. Check out each of it in a separate folder. Under Windows, we recommend the parent folder to reside the root directory due to long path names during compilation: c:\wr

org.eclipse.winery.misc

Contains documentation, eclipse configuration, graphics, and the high level REST API package

org.eclipse.winery.models

Contains models:

  • CSAR meta file
  • Self-service Portal
  • TOSCA

org.eclipse.winery.winery

Contains the winery itself.

Compilation Instructions

Make Models Available

For each model in org.eclipse.winery.models do a mvn install.

Compile Winery

In org.eclipse.winery.winery, see the README.md there.

Winery Add-ons

TOSCA Topology Completion

The TOSCA Topology Completion of Winery enables the user to model incomplete TOSCA Topology Templates and complete them automatically.

In the following we will describe how such incomplete topologies can be modeled and how the Topology Completion can be invoked.

Modeling incomplete TOSCA Topology Templates

There are several ways to model incomplete topologies that will be described in the following.

1. Modeling incomplete TOSCA Topology Templates using TOSCA Requirements

TOSCA Requirements make it possible to define restrictions for the topology completion. By adding TOSCA Requirements to Node Templates you can determine which elements may or may not be added to the topology. E.g. by adding the Requirement "SQLDatabaseRequirement" you can predetermine that a "SQLDatabase" Node Template will be added to the topology. Note that in this case a Node Type with a suitable CapabilityDefinition (e.g. SQLDatabaseCapability) has to exist to fulfill the Requirement.

tbd.


Invoking the TOSCA Topology Completion

To invoke the Topology Completion open an incomplete topology in the topology modeler and select "Complete Topology". In the appearing dialog fill in the save options for the completed topology, the used TOSCA Runtime (exclusively OpenTOSCA at the moment) and if the topology completion shall be processed step-by-step. In case the step-by-step approach is selected, the topology completion algorithm will pause in every step giving feedback about the Node and Relatioship Templates to be inserted.

After the form has been completed you can start the completion by selecting "Complete Topology" in the dialog.

After the completion the completed topology will be displayed in the topology modeler or in a new browser window dependent on the save options.

Back to the top