iuliana opened a new pull request, #1388:
URL: https://github.com/apache/brooklyn-server/pull/1388

   Added a new step type. Added to the catalog as `set-entity-name`. 
   Sample usage (shorthand):
   ```
   name: test-set-entity-name-step
   location: localhost
   services:
     - type: server
       name: renamer
       brooklyn.initializers:
         - type: workflow-effector
           brooklyn.config:
             name: change-entity-name
             steps:
             # shorthand
             - set-entity-name new-name # renames itself
   ```
   
   Sample usage (expanded):
   ```
   name: test-set-entity-name-step
   location: localhost
   services:
     - type: server
       id: the-other-server
     - type: server
       name: renamer
       brooklyn.initializers:
         - type: workflow-effector
           brooklyn.config:
             name: change-entity-name
             steps:
             - type: set-entity-name
               value: new-name1
             - type: set-entity-name
               value: new-name2
               entity: $brooklyn:entity("the-other-server") # or 
$brooklyn:component("the-other-server")
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@brooklyn.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to