Replies: 2 comments
-
|
Of course, both approaches are feasible, but in my opinion keeping three separate capabilities is slightly cleaner and contributes to add clarity. In fact, the concept behind keeping 3 separate capabilities is that when they get refined in derived nodes, they may possibly be specialized with different set of properties/attributes. Consider e.g. an application written in PHP running together with a mySQL DB into the same node, which actually consists in a VM realized on top of a VMWare stack. The VM is the target of 2 relationships (from PHP Application and from mySQL Data) and source of another relationship to a VirtualizationPlatform node. All capabilities and relationship involved in this scenario are obviously characterized by different sets of properties (e.g. minimum PHP version, other relevant PHP configuration parameters vs minimum mySQL version, DB schemas, credentials, etc.). In principle, part of those properties may be managed through the Of course, this is just my opinion, but I believe that keeping 3 distinct capabilities helps to keep things separated and, ultimately, enables a cleaner approach. |
Beta Was this translation helpful? Give feedback.
-
|
@Roberto-Mameli-Eng makes good points. Let's try to work through various use cases that create substituting templates for the various abstract types, and analyze whether keeping capabilities separate does indeed simplify substitution. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The
Platformnode type in the base profile currently defines three capabilities that all define similar functionality:execution-environmentcapability to hostApplicationnodesdata-platformcapability to hostDatanodeshostcapability to host otherPlatformnodesIt might be simpler and cleaner to consolidate all or some of these capabilities, and instead use the
valid_source_node_typesto restrict which nodes can target this capability.Beta Was this translation helpful? Give feedback.
All reactions