diff options
author | Tait,Trevor(rt0435) <rtait@amdocs.com> | 2018-08-17 14:05:30 -0400 |
---|---|---|
committer | Tait,Trevor(rt0435) <rtait@amdocs.com> | 2018-08-17 14:34:13 -0400 |
commit | a6bb3bf3afa5a36096ed4ae7c8a15b035b94aa21 (patch) | |
tree | 397144113946a3ab75db1817d7c29f497c896956 /config | |
parent | 92a058213a7ff50520e7ba5d388df46d30cb2ebd (diff) |
Make Resources configurable
Issue-ID: LOG-401
Change-Id: Iba325509cea2405a9e2ca2fd190bde58f9a0c054
Signed-off-by: Tait,Trevor(rt0435) <rtait@amdocs.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/application.properties | 2 | ||||
-rw-r--r-- | config/networkdiscoveryspec.json | 25 |
2 files changed, 27 insertions, 0 deletions
diff --git a/config/application.properties b/config/application.properties index d731df3..556c240 100644 --- a/config/application.properties +++ b/config/application.properties @@ -18,9 +18,11 @@ server.tomcat.max-idle-time=60000 # Network Discovery Context Builder REST Service networkDiscoveryCtxBuilder.httpProtocol=http +networkDiscoveryCtxBuilder.port=8080 # Basic Authorization credentials for Network Discovery Context Builder REST Service networkDiscoveryCtxBuilder.userId=admin networkDiscoveryCtxBuilder.password=OBF:1u2a1toa1w8v1tok1u30 +networkDiscoveryCtxBuilder.resourceList=vnfcs,vservers,l3-networks # Service Decomposition REST Client Configuration serviceDecomposition.httpProtocol=http diff --git a/config/networkdiscoveryspec.json b/config/networkdiscoveryspec.json new file mode 100644 index 0000000..093b81e --- /dev/null +++ b/config/networkdiscoveryspec.json @@ -0,0 +1,25 @@ +[ + { + "operation": "shift", + "spec": { + "service-instance-name": "service-instance-name", + "uuid": "uuid", + "service-instance-id": "service-instance-id", + "model-invariant-id": "model-invariant-id", + "generic-vnfs": { + "*": { + "vservers": { + "*": { + "vserver-id": "generic-vnfs[&3].vservers[&1].uuid" + } + }, + "l3-networks": { + "*": { + "network-id": "generic-vnfs[&3].l3-networks[&1].uuid" + } + } + } + } + } + } + ] |