HTTP/S Proxy support for A1 Adapter , since it uses the CCSDK SLI node function to perform REST calls southbound. This function needs to be extended in CCSDK (or a new one added). This changes, and associated regression testing will be quite tricky.
In order to configure a HTTP proxy for A1 southbound from A1 Adapter:
- Add proxy URL to properties file odlsli/src/main/properties/a1-adapter-api-dg.properties variable a1Mediator.proxy.url
- This file is part of CCSDK/distribution project
- After adding this information in the file, the distribution module must be rebuild.
- (In a running container this file is found at /opt/onap/ccsdk/data/properties/a1-adapter-api-dg.properties)
After this configuration has been changed the A1 adapter needs to be either rebuilt, or restarted if the configuration is changed inside a container, or re-read by the container if externally accessible (e.g. K8s ConfigMap).