Re: Workflow graph, Juju charm and node states

2017-08-02 Thread Tal Liron
> > 1) Is it possible to send me an example of a custom workflow graph? > There is a rather simple one here: https://github.com/apache/incubator-ariatosca/tree/master/tests/resources/service-templates/tosca-simple-1.0/node-cellar On the YAML side, you'll see how we use the aria.Workflow policy

Workflow graph, Juju charm and node states

2017-08-02 Thread Steve Baillargeon
Hi Tal 1) Is it possible to send me an example of a custom workflow graph? I am trying to visualize such graph or use it in my presentation 2) When executing an operation associated with a "script", what are the main implications or differences between executing a Juju charm vs executing a

Re: Service Composition / Substitution Mapping

2017-08-02 Thread Tal Liron
Our goal with adding new "conventions" to ARIA, such as policies, is to always make them optional. The idea is that a plain-vanilla TOSCA template would "just work" in ARIA via sensible defaults. The extra stuff is there if you know you are using ARIA and you want to make use of its features. (The

Re: Service Composition / Substitution Mapping

2017-08-02 Thread DeWayne Filppi
Cool. Missed that. That leaves things almost completely wide open from the orchestrator side, IOW few predefined keys. Too few IMHO, but if everyone uses ARIA conventions it could work. On Tue, Aug 1, 2017 at 11:49 PM, Tal Liron wrote: > I agree! Luckily metadata exists in

Digest for ASF's Slack

2017-08-02 Thread Digest
Here’s your digest for today! #ariatosca undefined: [UPDATE] started the reviewv with <@U53FAA5HP> over the instantiation module refactory. <@U53P75YTD> I'd be happy if you could review it as well :slightly_smiling_face: undefined: ok, but only because you begged undefined: _offended that

pip executable expected as part of plugin install.

2017-08-02 Thread D Jayachandran
Hi, Am using a Ubuntu version of linux for my development and ARIA does not find the correct path of pip during the plugin install. To be precise this happens when pip freeze is executed. @staticmethod def _pip_freeze(): """Run pip freeze in current environment and return the

RE: Inputs and Node object context for python and shell scripts

2017-08-02 Thread D Jayachandran
Hi Max, Thanks for the info. So with this decorator we get only the attributes and properties wrapped as dictionary. All other node objects like relationships, capabilities and interfaces are as wrapped mapped collections. Regards, DJ -Original Message- From: Maxim Orlov

Re: Service Composition / Substitution Mapping

2017-08-02 Thread Tal Liron
I agree! Luckily metadata exists in the 1.0 spec. :) http://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/cos01/TOSCA-Simple-Profile-YAML-v1.0-cos01.html#_Toc379455044 On Tue, Aug 1, 2017 at 7:16 PM, DeWayne Filppi wrote: > It occurs that it might be useful to