API Gateway
Abstract
The API gateway provides WEB access to all SDN-R related web service providers considering cross origin resource sharing (CORS) principles.
The Opendaylight default HTTP port is extendet by additonal URIs.
Path | Access | Description |
---|---|---|
/database | elasticsearch | provides Elastic search REST-API |
/aai | AAI | uses AAI API |
/ms | mediator servers | provides api for external mediators based on |
Architecture
Configuration
The following snippet shows an exmaple of the configuration data for the API-Gateway component:
Filename: apigateway.properties
aai=https://aai.onap.myserver.com:8443 |
---|
Reconfiguration
Paths are defined within
nano $ODL_KARAF_HOME/etc/apigateway.properties
Restart the bundle in the karaf console
./$ODL_KARAF_HOME/bin/client
bundle:restart apigateway-impl
With the next request on apigateway it will be newly instantiated and the properties will be reloaded.
Related Issues
SDNC-571: SDN-R: Server side components - API GatewayClosed