Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The API gateway provides WEB access to all wt SDN-R related web service providers considering cross origin resource sharing (CORS) principles.

to prevent cross site requests. The Opendaylight default UI HTTP port is extendet by additonal URIs.

PathAccessDescription
/database

...

elasticsearch

provides Elastic search REST-API

/aai

...

AAIuses AAI API
/ms

...

mediator servers

provides api for external mediators based on

Melacon NetConf2SNMP project

Architecture

Gliffy Diagram
nameapi_gw_architecture
pagePin2

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

Code Block
nano $ODL_KARAF_HOME/etc/apigateway.properties


Restart the bundle in the karaf console

Code Block
./$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

Jira
serverONAP JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keySDNC-571

...