Supporting New API_NAME in RESOURCE_MAP Table

If we have added new API_NAME in RESOURCE_MAP table, then we need to expose this new API_NAME to ambassador service as well, so that, ambassador does not reject requests when received with new API_NAME.

For this you need to modify 5G-UDR/lifecycle/helm/helm_merged/charts/udr-v1/templates/service.yaml and add mapping for new API_NAME (say nudr-dr2):

apiVersion: ambassador/v0
      kind:  Mapping
      name:  traffic_mapping_http
      grpc: True
      prefix: /nudr-dr2/
      rewrite: /nudr-dr2/
      service: nudr-drservice:80
      ambassador_id: {{ .Values.ambassador.id }}

For complete service.yaml file, Please view UDR Custom Templates on the Oracle Help Center site.