forked from vmware-archive/admiral
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Health config ignore option is disregarder from the catalog
When provisioning from the catalog the health config ignore option is always set to true (default value). By default we have the jackson option Include.NON_DEFAULT and false is a defalt value for boolean/Boolean in jackson. But in Admiral the default value for ignore health check is true. Setting NON_NULL option for ignoreOnProvision filed. Change-Id: I4a2d31bbf5a63e9b770060c219ff7bbd84600a0e Reviewed-on: http://bellevue-ci.eng.vmware.com:8080/23129 Closures-Verified: jenkins <[email protected]> CS-Verified: jenkins <[email protected]> Upgrade-Verified: jenkins <[email protected]> Bellevue-Verified: jenkins <[email protected]> Reviewed-by: Sergio Sanchez <[email protected]>
- Loading branch information
Showing
3 changed files
with
48 additions
and
0 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
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
17 changes: 17 additions & 0 deletions
17
compute/src/test/resources/compose/composite.simple.health.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,17 @@ | ||
--- | ||
id: "hello" | ||
status: "PUBLISHED" | ||
name: "hello" | ||
components: | ||
hello: | ||
type: "App.Container" | ||
data: | ||
name: "hello" | ||
image: "registry.hub.docker.com/kitematic/hello-world-nginx" | ||
publish_all: false | ||
restart_policy: "always" | ||
network_mode: "bridge" | ||
health_config: | ||
protocol: "COMMAND" | ||
command: "foobar" | ||
ignore_on_provision: false |