summaryrefslogtreecommitdiffstats
path: root/docker/examples
diff options
context:
space:
mode:
authorMichael Hwang <mhwang@research.att.com>2017-09-06 17:46:45 -0400
committerMichael Hwang <mhwang@research.att.com>2017-09-06 17:50:51 -0400
commitda9cdd6a23d2fa2748795a6c83b14cc4d3fa3d13 (patch)
treea9e7a8580b992ebec517edb67b8e2e612dd4ecec /docker/examples
parentfcb0bb5252f8e90ce065e7e6f9034f9d1a4ef8ce (diff)
Enhance to query Consul for target docker host
* `SelectedDockerHost` actually queries by a name stem and location * Shorten name * Tag components with deployment id Change-Id: I715f1de25fa047ce70eb26a5cc7615cfd3b408e7 Issue-ID: DCAEGEN2-91 Signed-off-by: Michael Hwang <mhwang@research.att.com>
Diffstat (limited to 'docker/examples')
-rw-r--r--docker/examples/blueprint-laika.yaml15
1 files changed, 3 insertions, 12 deletions
diff --git a/docker/examples/blueprint-laika.yaml b/docker/examples/blueprint-laika.yaml
index 9a8dc46..98d27af 100644
--- a/docker/examples/blueprint-laika.yaml
+++ b/docker/examples/blueprint-laika.yaml
@@ -9,14 +9,9 @@ imports:
- {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2 }}/type_files/relationship/1.0.0/node-type.yaml
inputs:
-
- service_id:
- description: Unique id used for an instance of this DCAE service. Use deployment id
- default: 'foobar'
laika_image:
type: string
-
node_templates:
laika-zero:
@@ -24,10 +19,10 @@ node_templates:
properties:
service_component_type:
'laika'
- service_id:
- { get_input: service_id }
location_id:
'rework-central'
+ service_id:
+ 'foo-service'
application_config:
some-param: "Lorem ipsum dolor sit amet"
downstream-laika: "{{ laika }}"
@@ -62,10 +57,6 @@ node_templates:
properties:
service_component_type:
'laika'
- service_id:
- { get_input: service_id }
- location_id:
- 'rework-central'
application_config:
some-param: "Lorem ipsum dolor sit amet"
image: { get_input : laika_image }
@@ -85,5 +76,5 @@ node_templates:
properties:
location_id:
'rework-central'
- docker_host_override:
+ name_search:
'platform_dockerhost'