Monday 15 September 2014

groovy - Upload files as part of Cloudify recipe -


In a cloudwise service recipe, is there an inherent way of uploading static files in examples? I see examples in recipes to use template files through a Groove Parser:

  def yaml = new file ('templates / storm.yaml') engine = new SimpleTemplateEngine () template = Engine.createTemplate (Yaml). Make (compulsive)   

And I can do anything for static files in the ZeroView script of a lifecycle event like this, except that they do not go to the template engine, upload static file To do is a common pattern used in cloud dishes, ideally where everything in a directory gets uploaded in examples.

I do not see anything in the document or forum, one way to do this is such a good method of uploading files as part of the service recipe?

You can upload one of the following methods in one instance:

You can apply the installation that can be applied even during the runtime (i.e .: after deployment).

> In any life cycle event handler and in any custom command, you can use the wget or ant function to download any file that you want to be any frequency the wanted.

I hope this will answer your question, if not, please expand.

Thamir,

Cloudify Community Manager.

No comments:

Post a Comment