-
-
Save mikezaccardo/227d00f0a90ed46ad7350b067e416bf4 to your computer and use it in GitHub Desktop.
VSP Children service.isUp Test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brooklyn.catalog: | |
version: "1.0.0-SNAPSHOT" | |
items: | |
- id: test-template | |
name: "Test Template" | |
itemType: template | |
item: | |
services: | |
- type: item-a | |
name: "Parent Entity" | |
- id: centos-software-process | |
name: "CentOS Software Process" | |
itemType: entity | |
item: | |
type: org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess | |
brooklyn.config: | |
provisioning.properties: | |
osFamily: centos | |
osVersionRegex: 7 | |
- id: item-a | |
name: "Item A" | |
itemType: entity | |
item: | |
type: centos-software-process | |
brooklyn.config: | |
childStartMode: foreground_late | |
launch.command: | | |
touch ~/item-a | |
checkRunning.command: | | |
test -f ~/item-a | |
brooklyn.children: | |
- type: item-b | |
name: "Item B" | |
- type: item-c | |
name: "Item C" | |
- id: item-b | |
name: "Item B" | |
itemType: entity | |
item: | |
type: centos-software-process | |
brooklyn.config: | |
launch.command: | | |
touch ~/item-b | |
checkRunning.command: | | |
test -f ~/item-b | |
- id: item-c | |
name: "Item C" | |
itemType: entity | |
item: | |
type: centos-software-process | |
brooklyn.config: | |
launch.command: | | |
touch ~/item-c | |
checkRunning.command: | | |
test -f ~/item-c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment