Resource Resolution Service: Source Rest
[ccsdk/cds.git] / components / model-catalog / resource-dictionary / starter-dictionary / mdsal-source.json
1 {
2   "tags": "oam-local-ipv4-address",
3   "name": "mdsal-source",
4   "property" :{
5     "description": "based on service-instance-id,network-role,v4-ip-type and vm-type get the ipv4-gateway-prefix from the SDN-GC mdsal",
6     "type": "string"
7   },
8   "updated-by": "brindasanth@onap.com",
9   "sources": {
10     "primary-config-data": {
11       "type": "source-rest",
12       "properties": {
13         "type": "JSON",
14         "url-path": "config/L3VNF-API:services/service-list/$service-instance-id/service-data/vnf-topology-information/vnf-assignments/vnf-vms/$vm-type/vm-networks/$network-role/v4-assigned-ip-list/$v4-ip-type",
15         "path": "/v4-assigned-ip-list/0/v4-ip-prefix",
16         "input-key-mapping": {
17           "service-instance-id": "service-instance-id",
18           "network-role": "network-role",
19           "v4-ip-type": "v4-ip-type",
20           "vm-type": "vm-type"
21         },
22         "output-key-mapping": {
23           "oam-local-ipv4-address": "v4-ip-prefix"
24         },
25         "key-dependencies": [
26           "service-instance-id",
27           "network-role",
28           "v4-ip-type",
29           "vm-type"
30         ]
31       }
32     }
33   }
34 }