4 Customizing Binding Support Function

This chapter describes how to customize the Binding Support Function (BSF) deployment in a cloud native environment.

The BSF deployment is customized by overriding the default values of various configurable parameters in the ocbsf-custom-values-1.4.0.yaml file.

To customize the ocbsf-custom-values-1.4.0.yaml file as per the required parameters:
  1. Go to the Oracle Help Center (OHC) Web site:

    https://docs.oracle.com

  2. Navigate to Industries->Communications->Cloud Native Core
  3. Click the Binding Support Function (BSF) Custom Template link to download the zip file.
  4. Unzip the file to get ocbsf-custom-configTemplates-1.4.0.0.0 file that contains the ocbsf-custom-values-1.4.0.yaml. This file is used during installation.
  5. Customize the ocbsf-custom-values-1.4.0.yaml file.
  6. Save the updated ocbsf-custom-values-1.4.0.yaml file in the helm chart directory.
Following is a sample ocbsf-custom-values-1.4.0.yaml file created based on all the parameters described in the Binding Support Function Customization Parameters section .

# Copyright 2019 (C), Oracle and/or its affiliates. All rights reserved.
  
  
# section:- global
global:
   # Docker registry name
   dockerRegistry: 'occne-bastion:5000'
   #image tag for readiness detector
   imageServiceDetector: readiness-detector:1.4.0
   #Jaeger Hostname
   envJaegerAgentHost: 'occne-tracer-jaeger-agent.occne-infra'
 
   # Primary MYSQL Host IP or Hostname
   envMysqlHost: ''
   # OCBSF MYSQL UserName
   envMysqlUser: ''
   # OCBSF MYSQL Password
   envMysqlPassword: ''
 
   # To assign custom node port for CM service(use port range above 30000)
   cmServiceNodePort: 0
   # To assign custom node port for Diameter Gateway service(use port range above 30000)
   bsfDiamGatewayNodePort: 0
 
   #Network Function Name
   envManageNF: 'BSF'
   #System Name
   envSystemName: 'BSF'
     
bsf:
  enabled: true
  deploymentBsfManagementService:
    # MySQL Database for Bsf Management Service
    envMysqlDatabase: 'ocpm_bsf'
common:
  deploymentPcfCmService:
    # MySQL Database for session viewer. Fill the value of Bsf Management Service database name here
    envMysqlDatabaseSessionViewer: 'ocpm_bsf'
  deploymentPcfConfig:
    # MySQL Database for Config Server
    envMysqlDatabase: 'ocpm_config_server_bsf'
  deploymentNrfClientservice:
    envNfNamespace: 'bsf-rc-4'
    envNfType: 'bsf'
    envConsumeSvcName: 'bsf-management-service:nbsf-management'
  configmapApplicationConfig:
    # IpAddress/Fqdn of NRF
    nrfHost: '10.75.153.80'
    nrfServicePort: 31871
    nrfClientType: BSF
api-gateway:
  fullnameOverride : 'bsf-apigateway'
  image:
    registry: 'occne-bastion:5000'
  service:
    type: NodePort
    configServiceNetworkNameEnabled: false
    configServiceNetworkName: 'metallb.universe.tf/address-pool: oam'