1 ################################################################################
2 # Copyright (c) 2019 AT&T Intellectual Property. #
3 # Copyright (c) 2019 Nokia. #
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 ################################################################################
17 {{/* vim: set filetype=mustache: */}}
19 Generate the URLS of the endpoints.
23 {{- define "dashboard.prefix.a1mediator" -}}
24 {{- $ingress := ( include "common.ingressurl.ric" . ) -}}
25 {{- if .Values.dashboard.a1med.url.prefix -}}
26 {{- printf "%s" .Values.dashboard.a1med.url.prefix -}}
28 {{- printf "http://%s/a1mediator" $ingress -}}
32 {{- define "dashboard.prefix.anrxapp" -}}
33 {{- $ingress := ( include "common.ingressurl.ric" . ) -}}
34 {{- if .Values.dashboard.anrxapp.url.prefix -}}
35 {{- printf "%s" .Values.dashboard.anrxapp.url.prefix -}}
37 {{- printf "http://%s/anr" $ingress -}}
41 {{- define "dashboard.prefix.e2mgr" -}}
42 {{- $ingress := ( include "common.ingressurl.ric" . ) -}}
43 {{- if .Values.dashboard.e2mgr.url.prefix -}}
44 {{- printf "%s" .Values.dashboard.e2mgr.url.prefix -}}
46 {{- printf "http://%s/e2mgr" $ingress -}}
50 {{- define "dashboard.prefix.appmgr" -}}
51 {{- $ingress := ( include "common.ingressurl.ric" . ) -}}
52 {{- if .Values.dashboard.appmgr.url.prefix -}}
53 {{- printf "%s" .Values.dashboard.appmgr.url.prefix -}}
55 {{- printf "http://%s/appmgr" $ingress -}}