Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/latest-upstream' into release-5.…
…0-reverted-222 fix various places where this conflicted with reversion of 222 or caused errors
- Loading branch information
Showing
89 changed files
with
337 additions
and
744 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Apache Brooklyn | ||
Copyright 2014-2016 The Apache Software Foundation | ||
Copyright 2014-2018 The Apache Software Foundation | ||
|
||
This product includes software developed at | ||
The Apache Software Foundation (http://www.apache.org/). |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -212,4 +212,6 @@ services: | |
https_port: 8443 | ||
admin_username: admin | ||
admin_password: secret | ||
``` | ||
``` | ||
|
||
|
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
location: aws-ec2:us-east-1 | ||
name: entity-config-example | ||
services: | ||
- type: entity-config-example |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
brooklyn.catalog: | ||
items: | ||
- id: entity-config-example | ||
itemType: entity | ||
name: Entity Config Example | ||
item: | ||
type: org.apache.brooklyn.entity.software.base.VanillaSoftwareProcess | ||
brooklyn.parameters: | ||
- name: custom.message | ||
type: string | ||
description: Message to be displayed | ||
default: Hello | ||
brooklyn.config: | ||
shell.env: | ||
MESSAGE: $brooklyn:config("custom.message") | ||
launch.command: | | ||
echo "My example launch command: $MESSAGE" | ||
checkRunning.command: | | ||
echo "My example checkRunning command: $MESSAGE" |
8 changes: 8 additions & 0 deletions
8
guide/blueprints/example_yaml/entity-config-override-app.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
location: aws-ec2:us-east-1 | ||
name: entity-config-override-example | ||
services: | ||
- type: entity-config-example | ||
brooklyn.config: | ||
custom.message: Goodbye | ||
launch.command: | | ||
echo "Sub-type launch command: $MESSAGE" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: entity-constraint-example | ||
services: | ||
- type: entity-constraint-example | ||
brooklyn.config: | ||
compulsoryExample: foo | ||
addressExample: 1.1.1.1 | ||
numberExample: 2.0 |
29 changes: 29 additions & 0 deletions
29
guide/blueprints/example_yaml/entity-constraint-catalog.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
brooklyn.catalog: | ||
items: | ||
- id: entity-constraint-example | ||
itemType: entity | ||
name: Entity Config Example | ||
item: | ||
type: org.apache.brooklyn.entity.stock.BasicEntity | ||
brooklyn.parameters: | ||
- name: compulsoryExample | ||
type: string | ||
constraints: | ||
- required | ||
- name: addressExample | ||
type: string | ||
constraints: | ||
- regex: ^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$ | ||
- name: numberExample | ||
type: double | ||
constraints: | ||
- $brooklyn:object: | ||
type: org.apache.brooklyn.util.math.MathPredicates | ||
factoryMethod.name: greaterThan | ||
factoryMethod.args: | ||
- 0.0 | ||
- $brooklyn:object: | ||
type: org.apache.brooklyn.util.math.MathPredicates | ||
factoryMethod.name: lessThan | ||
factoryMethod.args: | ||
- 256.0 |
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
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
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
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
Binary file modified
BIN
+16.3 KB
(110%)
guide/blueprints/test/images/getting-started-blueprint-test-large.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+52.4 KB
(160%)
guide/blueprints/test/images/getting-started-blueprint-test.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.