You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by "iuliana (via GitHub)" <gi...@apache.org> on 2023/04/17 13:46:47 UTC
[GitHub] [brooklyn-server] iuliana opened a new pull request, #1388: Added new step type for setting entity name
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-unsubscribe@brooklyn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [brooklyn-server] iuliana merged pull request #1388: Added new step type for setting entity name
Posted by "iuliana (via GitHub)" <gi...@apache.org>.
iuliana merged PR #1388:
URL: https://github.com/apache/brooklyn-server/pull/1388
--
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-unsubscribe@brooklyn.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org