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.

PathAccessDescription
/databaseelasticsearch

provides Elastic search REST-API

/aaiAAIuses AAI API
/msmediator servers

provides api for external mediators based on

Melacon NetConf2SNMP project

Architecture

api_gw_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
aaiHeaders=["X-FromAppId:SDNR","Authorization: Basic QUFJOkFBSQ=="]
database=http://localhost:9200
insecure=0
cors=1

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 - Getting issue details... STATUS




  • No labels