Jakub Latusek | e0e8ca7 | 2020-10-21 13:36:29 +0200 | [diff] [blame] | 1 | {{/* |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 2 | ### |
| 3 | # ============LICENSE_START======================================================= |
| 4 | # openECOMP : SDN-C |
| 5 | # ================================================================================ |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 6 | # Copyright (C) 2018 ONAP Intellectual Property. All rights reserved. |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 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 |
jmac | 463c20b | 2018-05-10 15:49:09 +0000 | [diff] [blame] | 11 | # |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 12 | # http://www.apache.org/licenses/LICENSE-2.0 |
jmac | 463c20b | 2018-05-10 15:49:09 +0000 | [diff] [blame] | 13 | # |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 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 | ### |
Jakub Latusek | e0e8ca7 | 2020-10-21 13:36:29 +0200 | [diff] [blame] | 21 | */}} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 22 | |
| 23 | # |
| 24 | # Configuration file for A&AI Client |
| 25 | # |
| 26 | |
| 27 | # |
| 28 | # Certificate keystore and truststore |
| 29 | # |
jmac | 463c20b | 2018-05-10 15:49:09 +0000 | [diff] [blame] | 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 |
Mandeep Khinda | edc5941 | 2017-10-05 12:18:14 +0000 | [diff] [blame] | 32 | org.onap.ccsdk.sli.adaptors.aai.host.certificate.ignore=true |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 33 | |
Krzysztof Opasiak | cc97c73 | 2020-02-25 23:31:20 +0100 | [diff] [blame] | 34 | org.onap.ccsdk.sli.adaptors.aai.client.name=${AAI_CLIENT_NAME} |
| 35 | org.onap.ccsdk.sli.adaptors.aai.client.psswd=${AAI_CLIENT_PASSWORD} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 36 | |
Mandeep Khinda | edc5941 | 2017-10-05 12:18:14 +0000 | [diff] [blame] | 37 | org.onap.ccsdk.sli.adaptors.aai.application=openECOMP |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 38 | # |
| 39 | # Configuration file for A&AI Client |
| 40 | # |
Radoslaw Chmiel | 58662a3 | 2022-06-02 19:37:35 +0200 | [diff] [blame] | 41 | {{- if (include "common.needTLS" .) }} |
jmac | d09aa76 | 2018-05-03 17:52:15 +0000 | [diff] [blame] | 42 | org.onap.ccsdk.sli.adaptors.aai.uri=https://aai.{{.Release.Namespace}}:8443 |
Radoslaw Chmiel | 58662a3 | 2022-06-02 19:37:35 +0200 | [diff] [blame] | 43 | {{- else }} |
| 44 | org.onap.ccsdk.sli.adaptors.aai.uri=http://aai.{{.Release.Namespace}}:80 |
| 45 | {{- end }} |
jmac | 463c20b | 2018-05-10 15:49:09 +0000 | [diff] [blame] | 46 | connection.timeout=60000 |
| 47 | read.timeout=60000 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 48 | |
| 49 | # query |
jmac | d09aa76 | 2018-05-03 17:52:15 +0000 | [diff] [blame] | 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 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 53 | |
| 54 | # named query |
Mandeep Khinda | edc5941 | 2017-10-05 12:18:14 +0000 | [diff] [blame] | 55 | org.onap.ccsdk.sli.adaptors.aai.query.named=/aai/search/named-query |
| 56 | |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 57 | #update |
jmac | d09aa76 | 2018-05-03 17:52:15 +0000 | [diff] [blame] | 58 | org.onap.ccsdk.sli.adaptors.aai.update=/aai/v13/actions/update |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 59 | |
jmac | 463c20b | 2018-05-10 15:49:09 +0000 | [diff] [blame] | 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 |
Mandeep Khinda | edc5941 | 2017-10-05 12:18:14 +0000 | [diff] [blame] | 64 | |
| 65 | # P-Interfaces |
jmac | d09aa76 | 2018-05-03 17:52:15 +0000 | [diff] [blame] | 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} |
Mandeep Khinda | edc5941 | 2017-10-05 12:18:14 +0000 | [diff] [blame] | 68 | |
Mandeep Khinda | edc5941 | 2017-10-05 12:18:14 +0000 | [diff] [blame] | 69 | # VNF IMAGES |
jmac | d09aa76 | 2018-05-03 17:52:15 +0000 | [diff] [blame] | 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} |
Mandeep Khinda | edc5941 | 2017-10-05 12:18:14 +0000 | [diff] [blame] | 73 | |
jmac | 463c20b | 2018-05-10 15:49:09 +0000 | [diff] [blame] | 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} |
Mandeep Khinda | edc5941 | 2017-10-05 12:18:14 +0000 | [diff] [blame] | 77 | |
jmac | 463c20b | 2018-05-10 15:49:09 +0000 | [diff] [blame] | 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} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 80 | |
| 81 | # |
| 82 | # Formatting |
| 83 | # |
Mandeep Khinda | edc5941 | 2017-10-05 12:18:14 +0000 | [diff] [blame] | 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 |
Jakub Latusek | e0e8ca7 | 2020-10-21 13:36:29 +0200 | [diff] [blame] | 87 | org.onap.ccsdk.sli.adaptors.aai.param.service.type=service-type |