blob: 5108a9d00566ea2837277e92cfc67ec4e479b60f [file] [log] [blame]
Jakub Latuseke0e8ca72020-10-21 13:36:29 +02001{{/*
Mandeep Khindad6ea9872017-06-24 11:49:37 -04002###
3# ============LICENSE_START=======================================================
4# openECOMP : SDN-C
5# ================================================================================
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +01006# Copyright (C) 2018 ONAP Intellectual Property. All rights reserved.
Mandeep Khindad6ea9872017-06-24 11:49:37 -04007# ================================================================================
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
jmac463c20b2018-05-10 15:49:09 +000011#
Mandeep Khindad6ea9872017-06-24 11:49:37 -040012# http://www.apache.org/licenses/LICENSE-2.0
jmac463c20b2018-05-10 15:49:09 +000013#
Mandeep Khindad6ea9872017-06-24 11:49:37 -040014# 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 Latuseke0e8ca72020-10-21 13:36:29 +020021*/}}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040022
23#
24# Configuration file for A&AI Client
25#
26
27#
28# Certificate keystore and truststore
29#
jmac463c20b2018-05-10 15:49:09 +000030org.onap.ccsdk.sli.adaptors.aai.ssl.trust=/opt/onap/sdnc/data/stores/truststoreONAPall.jks
31org.onap.ccsdk.sli.adaptors.aai.ssl.trust.psswd=changeit
Mandeep Khindaedc59412017-10-05 12:18:14 +000032org.onap.ccsdk.sli.adaptors.aai.host.certificate.ignore=true
Mandeep Khindad6ea9872017-06-24 11:49:37 -040033
Krzysztof Opasiakcc97c732020-02-25 23:31:20 +010034org.onap.ccsdk.sli.adaptors.aai.client.name=${AAI_CLIENT_NAME}
35org.onap.ccsdk.sli.adaptors.aai.client.psswd=${AAI_CLIENT_PASSWORD}
Mandeep Khindad6ea9872017-06-24 11:49:37 -040036
Mandeep Khindaedc59412017-10-05 12:18:14 +000037org.onap.ccsdk.sli.adaptors.aai.application=openECOMP
Mandeep Khindad6ea9872017-06-24 11:49:37 -040038#
39# Configuration file for A&AI Client
40#
Radoslaw Chmiel58662a32022-06-02 19:37:35 +020041{{- if (include "common.needTLS" .) }}
jmacd09aa762018-05-03 17:52:15 +000042org.onap.ccsdk.sli.adaptors.aai.uri=https://aai.{{.Release.Namespace}}:8443
Radoslaw Chmiel58662a32022-06-02 19:37:35 +020043{{- else }}
44org.onap.ccsdk.sli.adaptors.aai.uri=http://aai.{{.Release.Namespace}}:80
45{{- end }}
jmac463c20b2018-05-10 15:49:09 +000046connection.timeout=60000
47read.timeout=60000
Mandeep Khindad6ea9872017-06-24 11:49:37 -040048
49# query
jmacd09aa762018-05-03 17:52:15 +000050org.onap.ccsdk.sli.adaptors.aai.path.query=/aai/v13/search/sdn-zone-query
51org.onap.ccsdk.sli.adaptors.aai.query.nodes=/aai/v13/search/nodes-query?search-node-type={node-type}&filter={entity-identifier}:EQUALS:{entity-name}
52org.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 Khindad6ea9872017-06-24 11:49:37 -040053
54# named query
Mandeep Khindaedc59412017-10-05 12:18:14 +000055org.onap.ccsdk.sli.adaptors.aai.query.named=/aai/search/named-query
56
Mandeep Khindad6ea9872017-06-24 11:49:37 -040057#update
jmacd09aa762018-05-03 17:52:15 +000058org.onap.ccsdk.sli.adaptors.aai.update=/aai/v13/actions/update
Mandeep Khindad6ea9872017-06-24 11:49:37 -040059
jmac463c20b2018-05-10 15:49:09 +000060# UBB Notify
61org.onap.ccsdk.sli.adaptors.aai.path.notify=/aai/v13/actions/notify
62org.onap.ccsdk.sli.adaptors.aai.notify.selflink.fqdn=<%= @ubbUri %>/restconf/config/L3SDN-API:services/layer3-service-list/{service-instance-id}
63org.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 Khindaedc59412017-10-05 12:18:14 +000064
65# P-Interfaces
jmacd09aa762018-05-03 17:52:15 +000066org.onap.ccsdk.sli.adaptors.aai.path.pserver.pinterfaces=/aai/v13/cloud-infrastructure/pservers/pserver/{hostname}/p-interfaces
67org.onap.ccsdk.sli.adaptors.aai.path.pserver.pinterface=/aai/v13/cloud-infrastructure/pservers/pserver/{hostname}/p-interfaces/p-interface/{interface-name}
Mandeep Khindaedc59412017-10-05 12:18:14 +000068
Mandeep Khindaedc59412017-10-05 12:18:14 +000069# VNF IMAGES
jmacd09aa762018-05-03 17:52:15 +000070org.onap.ccsdk.sli.adaptors.aai.path.vnf.images=/aai/v13/service-design-and-creation/vnf-images
71org.onap.ccsdk.sli.adaptors.aai.path.vnf.image=/aai/v13/service-design-and-creation/vnf-images/vnf-image/{att-uuid}
72org.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 Khindaedc59412017-10-05 12:18:14 +000073
jmac463c20b2018-05-10 15:49:09 +000074# service instance
75org.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
76org.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 Khindaedc59412017-10-05 12:18:14 +000077
jmac463c20b2018-05-10 15:49:09 +000078# VNF IMAGES QUERY
79org.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 Khindad6ea9872017-06-24 11:49:37 -040080
81#
82# Formatting
83#
Mandeep Khindaedc59412017-10-05 12:18:14 +000084org.onap.ccsdk.sli.adaptors.aai.param.format=filter=%s:%s
85org.onap.ccsdk.sli.adaptors.aai.param.vnf_type=vnf-type
86org.onap.ccsdk.sli.adaptors.aai.param.physical.location.id=physical-location-id
Jakub Latuseke0e8ca72020-10-21 13:36:29 +020087org.onap.ccsdk.sli.adaptors.aai.param.service.type=service-type