summaryrefslogtreecommitdiffstats
path: root/mod/runtimeapi
diff options
context:
space:
mode:
authorTony Hansen <tony@att.com>2021-01-27 19:14:55 +0000
committerGerrit Code Review <gerrit@onap.org>2021-01-27 19:14:55 +0000
commit0a405a9b4515f960d36d254032db680e97ab1e94 (patch)
tree6b8bd025230355eb1caf07885dee14c8d476812c /mod/runtimeapi
parenta958d9600cec4c9599d517178457228577542829 (diff)
parent848e92cfd43797c891399319752c9fd07b036f19 (diff)
Merge "Add support for config_volume in blueprint generator"
Diffstat (limited to 'mod/runtimeapi')
-rw-r--r--mod/runtimeapi/runtime-core/src/test/data/blueprints/helloworld_no_edits.yaml4
-rw-r--r--mod/runtimeapi/runtime-web/src/test/data/compspecs/componentSpec_hello_world.json6
2 files changed, 9 insertions, 1 deletions
diff --git a/mod/runtimeapi/runtime-core/src/test/data/blueprints/helloworld_no_edits.yaml b/mod/runtimeapi/runtime-core/src/test/data/blueprints/helloworld_no_edits.yaml
index 2bf4bea..6198f36 100644
--- a/mod/runtimeapi/runtime-core/src/test/data/blueprints/helloworld_no_edits.yaml
+++ b/mod/runtimeapi/runtime-core/src/test/data/blueprints/helloworld_no_edits.yaml
@@ -181,6 +181,10 @@ node_templates:
bind: /opt/app/vcc/archive/data
host:
path: /opt/data/DCAE/helloworldpm/vcc-archive
+ - container:
+ bind: /opt/app/etc/config
+ config_volume:
+ name: myConfig
image:
get_input: image
location_id:
diff --git a/mod/runtimeapi/runtime-web/src/test/data/compspecs/componentSpec_hello_world.json b/mod/runtimeapi/runtime-web/src/test/data/compspecs/componentSpec_hello_world.json
index cd394f8..62470ef 100644
--- a/mod/runtimeapi/runtime-web/src/test/data/compspecs/componentSpec_hello_world.json
+++ b/mod/runtimeapi/runtime-web/src/test/data/compspecs/componentSpec_hello_world.json
@@ -126,7 +126,11 @@
"host": {
"path": "/opt/data/DCAE/helloworldpm/vcc-archive"
}
- }
+ },
+ {
+ "container": { "bind": "/opt/app/etc/config" },
+ "config_volume": { "name":"myConfig" }
+ }
]
},