...
API | URL | Description |
---|---|---|
DataProvider RPC | /rest | FCAPS function |
About | /about | Version info (format in Markdown, rendered by aboutPage in ODLUX) |
GetYangSchema | /yang-schema | Provide collected yang specs (scheme-cache) Yang Download Service |
ReadyServlet | /ready | Ready status of SDN-R get GET /ready |
mediator gateway | /ms | Proxy function to manage a Mediator Gateway |
read-inventory-tree | /tree | Analysis of inventory data. See ODLUX DB API Guilin Extension |
userdata | /userdata | See: ODLUX DB API Extension for Userdata |
...
The entrypoint for the data-provider is the DataProviderImpl class (org.onap.ccsdk.features.sdnr.wt.dataprovider.impl.DataProviderImpl). Its just handling all the nested services and other provided servlets. The most important part is the DataProviderServiceImpl (org.onap.ccsdk.features.sdnr.wt.dataprovider.impl.DataProviderServiceImpl). This is implementing the Service for the rpc-requests defined by the data-provider.yang so the handler for all our webrequests for the database.
Ready Service
GET /ready
response | description |
---|---|
200 | no bundle in failure state, everything up and running |
!200 | at least one bundle is in failure state or not all bundles are in Active or Resolved state |
Mediator Gateway Service
Reverse proxy functionality which forwards e.g.
GET /ms/{ms-server-db-id}/api/?task=getconfig
to
Wiki Markup |
---|
\{mediator-server-url\}/api/?task=getconfig |