Updating AAI charts for MSB discovery config

Development Testing

See also MSB Test Environment Setup

References

OOM Deployment

AAI-1965: Create wiki page documenting AAI MSB discovery config Closed

Affected charts:

-          kubernetes/aai/charts/aai-resources/templates/deployment.yaml

-          kubernetes/aai/charts/aai-traversal/templates/deployment.yaml

For new version of data model and each service these two tables needs to be updated by adding these configs (both need to be added):

XX needs to be changed for current version number

  • In this case path is used for query

{

    "serviceName": "_aai-cloudInfrastructure",

    "version": "vXX",

    "url": "/aai/vXX/cloud-infrastructure",

    "protocol": "REST",

    "port": "8447",

    "enable_ssl": true,

    "lb_policy":"ip_hash",

    "visualRange": "1",

    "path": "/aai/vXX/cloud-infrastructure"

  },



  •  In this case query is assembled from the parameters

{

  "serviceName": "aai-cloudInfrastructure",

  "version": "vXX",

  "url": "/aai/vXX/cloud-infrastructure",

  "protocol": "REST",

  "port": "8447",

   "enable_ssl": true,

   "lb_policy":"ip_hash",

   "visualRange": "1"

   },