[SDNC] SDNC ServiceMesh compatibility
[oom.git] / kubernetes / sdnc / resources / config / conf / aaiclient.properties
1 {{/*
2 ###
3 # ============LICENSE_START=======================================================
4 # openECOMP : SDN-C
5 # ================================================================================
6 # Copyright (C) 2018 ONAP Intellectual Property. All rights reserved.
7 # ================================================================================
8 # Licensed under the Apache License, Version 2.0 (the "License");
9 # you may not use this file except in compliance with the License.
10 # You may obtain a copy of the License at
11 #
12 #      http://www.apache.org/licenses/LICENSE-2.0
13 #
14 # Unless required by applicable law or agreed to in writing, software
15 # distributed under the License is distributed on an "AS IS" BASIS,
16 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 # See the License for the specific language governing permissions and
18 # limitations under the License.
19 # ============LICENSE_END=========================================================
20 ###
21 */}}
22
23 #
24 # Configuration file for A&AI Client
25 #
26
27 #
28 # Certificate keystore and truststore
29 #
30 org.onap.ccsdk.sli.adaptors.aai.ssl.trust=/opt/onap/sdnc/data/stores/truststoreONAPall.jks
31 org.onap.ccsdk.sli.adaptors.aai.ssl.trust.psswd=changeit
32 org.onap.ccsdk.sli.adaptors.aai.host.certificate.ignore=true
33
34 org.onap.ccsdk.sli.adaptors.aai.client.name=${AAI_CLIENT_NAME}
35 org.onap.ccsdk.sli.adaptors.aai.client.psswd=${AAI_CLIENT_PASSWORD}
36
37 org.onap.ccsdk.sli.adaptors.aai.application=openECOMP
38 #
39 # Configuration file for A&AI Client
40 #
41 {{- if (include "common.needTLS" .) }}
42 org.onap.ccsdk.sli.adaptors.aai.uri=https://aai.{{.Release.Namespace}}:8443
43 {{- else }}
44 org.onap.ccsdk.sli.adaptors.aai.uri=http://aai.{{.Release.Namespace}}:80
45 {{- end }}
46 connection.timeout=60000
47 read.timeout=60000
48
49 # query
50 org.onap.ccsdk.sli.adaptors.aai.path.query=/aai/v13/search/sdn-zone-query
51 org.onap.ccsdk.sli.adaptors.aai.query.nodes=/aai/v13/search/nodes-query?search-node-type={node-type}&filter={entity-identifier}:EQUALS:{entity-name}
52 org.onap.ccsdk.sli.adaptors.aai.query.generic=/aai/v13/search/generic-query?key={identifier}:{value}&start-node-type={start-node-type}&include=complex&depth=3
53
54 # named query
55 org.onap.ccsdk.sli.adaptors.aai.query.named=/aai/search/named-query
56
57 #update
58 org.onap.ccsdk.sli.adaptors.aai.update=/aai/v13/actions/update
59
60 # UBB Notify
61 org.onap.ccsdk.sli.adaptors.aai.path.notify=/aai/v13/actions/notify
62 org.onap.ccsdk.sli.adaptors.aai.notify.selflink.fqdn=<%= @ubbUri %>/restconf/config/L3SDN-API:services/layer3-service-list/{service-instance-id}
63 org.onap.ccsdk.sli.adaptors.aai.notify.selflink.avpn=<%= @ubbUri %>/restconf/config/L3AVPN-EVC-API:services/service-list/{service-instance-id}/service-data/avpn-logicalchannel-information
64
65 # P-Interfaces
66 org.onap.ccsdk.sli.adaptors.aai.path.pserver.pinterfaces=/aai/v13/cloud-infrastructure/pservers/pserver/{hostname}/p-interfaces
67 org.onap.ccsdk.sli.adaptors.aai.path.pserver.pinterface=/aai/v13/cloud-infrastructure/pservers/pserver/{hostname}/p-interfaces/p-interface/{interface-name}
68
69 # VNF IMAGES
70 org.onap.ccsdk.sli.adaptors.aai.path.vnf.images=/aai/v13/service-design-and-creation/vnf-images
71 org.onap.ccsdk.sli.adaptors.aai.path.vnf.image=/aai/v13/service-design-and-creation/vnf-images/vnf-image/{att-uuid}
72 org.onap.ccsdk.sli.adaptors.aai.path.vnf.image.query=/aai/v13/service-design-and-creation/vnf-images/vnf-image?application={application_model}&application-vendor={application_vendor}
73
74 # service instance
75 org.onap.ccsdk.sli.adaptors.aai.path.svcinst.query=/aai/v13/search/generic-query?key=service-instance.service-instance-id:{svc-instance-id}&start-node-type=service-instance&include=service-instance
76 org.onap.ccsdk.sli.adaptors.aai.path.service.instance=/aai/v13/business/customers/customer/{global-customer-id}/service-subscriptions/service-subscription/{service-type}/service-instances/service-instance/{service-instance-id}
77
78 # VNF IMAGES QUERY
79 org.onap.ccsdk.sli.adaptors.aai.path.vnf.image.query=/aai/v13/service-design-and-creation/vnf-images/vnf-image?application={application_model}&application-vendor={application_vendor}
80
81 #
82 # Formatting
83 #
84 org.onap.ccsdk.sli.adaptors.aai.param.format=filter=%s:%s
85 org.onap.ccsdk.sli.adaptors.aai.param.vnf_type=vnf-type
86 org.onap.ccsdk.sli.adaptors.aai.param.physical.location.id=physical-location-id
87 org.onap.ccsdk.sli.adaptors.aai.param.service.type=service-type