winery
winery copied to clipboard
[WIP] Feature/properties in boundary definitions
Add Property Definitions for Properties in Boundary Defintions
With this feature, Properties in Boundary Defintions, in addition to the original plain XML specification, can be specified using a PropertyDefintions extension element that is defined on the level of ServiceTemplate.
What's added:
-
Properties Definition tab on the level of ServiceTemplate (similar to Node Types, etc)
-
Apart from Winery's KV proeprties, specification of XML elements/types is also possible
-
Properties are instantiated based on the specified Properties Definition
-
If no Properties Definition was specified, properties can be specified as in the original implementation
-
If existing Properties Definition are removed or their type is changed, e.g., from XML element to KV properties, specified properties and property mappings are also removed
-
Changes of KV Properties Definition (adding or removing new kv pairs) is reflected in both, properties and property mappings
-
Property Mappings now have a select element allowing to choose defined KV properties (in case KV properties were used in Properties Definition), otherwise an original input field is kept
-
[ ] Ensure that you followed http://eclipse.github.io/winery/dev/ToolChain#github---prepare-pull-request. Especially, we require a single commit
-
[x] Ensure that the commit message is a good commit message
-
[ ] Ensure to use auto format in all files
-
[ ] Ensure that you appear in
NOTICE
at Copyright Holders -
[ ] Tests created for changes
-
[ ] Documentation updated (if needed)
-
[ ] Screenshots added (for UI changes)
I generated a structure-diff below from pulling c2f8beb
on OpenTOSCA:feature/issue-199 into e34186c
on OpenTOSCA:master.
Hi @v-yussupov, what needs to be done here for the final merge?
@miwurster actually, I'm not sure if it's still needed. I think initially Lukas planned to have this feature for the paper, but eventually it was not used. @lharzenetter, is it still needed?
@lharzenetter please revise, finalize and merge this PR ... otherwise, close it.