2 # ============LICENSE_START=======================================================
3 # Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.
4 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 # ============LICENSE_END============================================
19 echo "Copying ORAN ACM Participants..."
21 cp -r ../../oran_oom/policy-clamp-ac-dme-ppnt ../../onap_oom/kubernetes/policy/components
23 if ! grep -q "policy-clamp-ac-dme-ppnt" ../../onap_oom/kubernetes/policy/values.yaml; then
24 cat <<EOF >> ../../onap_oom/kubernetes/policy/values.yaml
25 policy-clamp-ac-dme-ppnt:
30 if ! grep -q "policy-clamp-ac-dme-ppnt" ../../onap_oom/kubernetes/policy/Chart.yaml; then
31 cat <<EOF >> ../../onap_oom/kubernetes/policy/Chart.yaml
32 - name: policy-clamp-ac-dme-ppnt
34 repository: 'file://components/policy-clamp-ac-dme-ppnt'
35 condition: policy-clamp-ac-dme-ppnt.enabled
39 echo "ORAN ACM Participants copied and configured for build."