summaryrefslogtreecommitdiffstats
path: root/ms/controllerblueprints/application/load/resource_dictionary
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2018-10-19 14:43:45 -0400
committerDan Timoney <dtimoney@att.com>2018-10-25 18:26:08 +0000
commit6a893bb0ae984d15076394d9225d4873ad953791 (patch)
tree5245e279f7c5e8bd4182491bb1759c91f1ee5f43 /ms/controllerblueprints/application/load/resource_dictionary
parent71ed2c947fd3a94920ce1e8082374fc34d124435 (diff)
Assign image keyname and pubkey at vnf level
Change-Id: I7eb4b47a9440e277a510864f2bb52323e464da5a Issue-ID: CCSDK-621 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> (cherry picked from commit f39904fbe580301b896ad598e85a135d11c8944b)
Diffstat (limited to 'ms/controllerblueprints/application/load/resource_dictionary')
-rwxr-xr-xms/controllerblueprints/application/load/resource_dictionary/image_name.json33
-rwxr-xr-xms/controllerblueprints/application/load/resource_dictionary/key_name.json33
-rwxr-xr-xms/controllerblueprints/application/load/resource_dictionary/pub_key.json34
3 files changed, 100 insertions, 0 deletions
diff --git a/ms/controllerblueprints/application/load/resource_dictionary/image_name.json b/ms/controllerblueprints/application/load/resource_dictionary/image_name.json
new file mode 100755
index 00000000..37ef5ae1
--- /dev/null
+++ b/ms/controllerblueprints/application/load/resource_dictionary/image_name.json
@@ -0,0 +1,33 @@
+{
+ "name": "image_name",
+ "tags": "image_name",
+ "updated-by": "Singal, Kapil <ks220y@att.com>",
+ "property": {
+ "type": "string",
+ "description": "image_name"
+ },
+ "sources": {
+ "input": {
+ "type": "source-input"
+ },
+ "mdsal": {
+ "type": "source-rest",
+ "properties": {
+ "type": "JSON",
+ "url-path": "config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/image_name",
+ "path": "/param/0/value",
+ "input-key-mapping": {
+ "service-instance-id": "service-instance-id",
+ "vnf-id": "vnf-id"
+ },
+ "output-key-mapping": {
+ "image_name": "value"
+ },
+ "key-dependencies": [
+ "service-instance-id",
+ "vnf-id"
+ ]
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/ms/controllerblueprints/application/load/resource_dictionary/key_name.json b/ms/controllerblueprints/application/load/resource_dictionary/key_name.json
new file mode 100755
index 00000000..1f1b3e65
--- /dev/null
+++ b/ms/controllerblueprints/application/load/resource_dictionary/key_name.json
@@ -0,0 +1,33 @@
+{
+ "name": "key_name",
+ "tags": "key_name",
+ "updated-by": "Singal, Kapil <ks220y@att.com>",
+ "property": {
+ "type": "string",
+ "description": "key_name"
+ },
+ "sources": {
+ "input": {
+ "type": "source-input"
+ },
+ "mdsal": {
+ "type": "source-rest",
+ "properties": {
+ "type": "JSON",
+ "url-path": "config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/key_name",
+ "path": "/param/0/value",
+ "input-key-mapping": {
+ "service-instance-id": "service-instance-id",
+ "vnf-id": "vnf-id"
+ },
+ "output-key-mapping": {
+ "key_name": "value"
+ },
+ "key-dependencies": [
+ "service-instance-id",
+ "vnf-id"
+ ]
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/ms/controllerblueprints/application/load/resource_dictionary/pub_key.json b/ms/controllerblueprints/application/load/resource_dictionary/pub_key.json
new file mode 100755
index 00000000..ce6c2f2a
--- /dev/null
+++ b/ms/controllerblueprints/application/load/resource_dictionary/pub_key.json
@@ -0,0 +1,34 @@
+{
+ "name": "pub_key",
+ "tags": "pub_key",
+ "updated-by": "Singal, Kapil <ks220y@att.com>",
+ "property": {
+ "type": "string",
+ "description": "pub_key"
+ },
+ "sources": {
+ "input": {
+ "type": "source-input"
+ },
+ "mdsal": {
+ "type": "source-rest",
+ "properties": {
+ "type": "JSON",
+ "url-path": "config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/pub_key",
+ "path": "/param/0/value",
+ "input-key-mapping": {
+ "service-instance-id": "service-instance-id",
+ "vnf-id": "vnf-id"
+ },
+ "output-key-mapping": {
+ "pub_key": "value"
+ },
+ "key-dependencies": [
+ "service-instance-id",
+ "vnf-id"
+ ]
+ }
+ }
+ }
+}
+