X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2Fapi-docs.rst;h=ed0cc79a42cfe183fac478bf57cc9c92c817933d;hb=b83e54c2bdab21d7f6ff5c9a4c340e801c93e1c2;hp=193a8281730eb09f213eba01093ad9d5107e65d6;hpb=2f2b9e89aba501d3e1c361839cab735aa148c7e2;p=nonrtric.git diff --git a/docs/api-docs.rst b/docs/api-docs.rst index 193a8281..ed0cc79a 100644 --- a/docs/api-docs.rst +++ b/docs/api-docs.rst @@ -1,51 +1,75 @@ .. This work is licensed under a Creative Commons Attribution 4.0 International License. .. http://creativecommons.org/licenses/by/4.0 +.. Copyright (C) 2020 Nordix +.. _api_docs: +.. |swagger-icon| image:: ./images/swagger.png + :width: 40px +.. |yaml-icon| image:: ./images/yaml_logo.png + :width: 40px + + +======== API-Docs ======== This is the API-docs of Non-RT RIC. -.. contents:: - :depth: 3 - :local: +The Non-RT RIC consists of three parts, described in the sections below: + * The Policy Agent + * The Enrichment Coordinator Service + * The rAPP Catalogue + + +Policy Agent +============ -API Introduction ------------------ +For information about the The Policy Agent that is implemented in ONAP, see `readthedocs`_ and `wiki`_. -The Non-RT RIC dashboard is an interface that allows human users to create, edit and delete policy instances, for each existing policy type. The policy types are owned by the Near-RT RIC, Non-RT RIC can just query them, so it's not possible to act on them. +.. _readthedocs: https://docs.onap.org/projects/onap-ccsdk-oran/en/latest/index.html +.. _wiki: https://wiki.onap.org/pages/viewpage.action?pageId=84644984 +Enrichment Coordinator Service +============================== -API Functions -------------- +See `ECS API <./ecs-api.html>`_ for how to use the API. -To run the dashboard locally, you can follow these steps: +.. csv-table:: + :header: "API name", "|swagger-icon|" + :widths: 10,5 -- Fetch the latest code from `gerrit`_ + "ECS API", ":download:`link <./offeredapis/swagger/ecs-api.json>`" -.. _gerrit: https://gerrit.nordix.org/c/oransc/nonrtric/+/2747/ -- Before compiling, run the following commands:: +rAPP Catalogue +============== - git submodule init +The Non RT-RIC Service Catalogue provides a way for services to register themselves for other services to discover. - git submodule update +See `RAC API <./rac-api.html>`_ for how to use the API. -- Start the backend (you might have to build it first):: - mvn clean install +.. csv-table:: + :header: "API name", "|swagger-icon|", "|yaml-icon|" + :widths: 10,5, 5 - mvn -Dorg.oransc.ric.portal.dashboard=mock -Dtest=DashboardTestServer -DfailIfNoTests=false test + "RAC API", ":download:`link <../r-app-catalogue/api/rac-api.json>`", ":download:`link <../r-app-catalogue/api/rac-api.yaml>`" +Complementary tools +=================== -- Now you can open URL: `localhost:8080`_ in a browser. +There are two additional tools that can be used together with the Non-RT RIC, namely the Control Panel and the Near-RT RIC simulator. -.. _localhost:8080: localhost:8080 +The Non-RT RIC Control Panel provides a user interface that allows the user to interact with the Non-RT RIC. +Documentation for the Control Panel can be found here: +:doc:`Non-RT RIC Control Panel `. +It can be downloaded from here: :: -From the main page, click on the "Policy Control" card. From here, it is possible to create or list instances for each existing policy type. + git clone "https://gerrit.o-ran-sc.org/r/portal/nonrtric-controlpanel". -When the instances are listed, it is possible to edit or delete each instance from the expanded view. +The Near-RT RIC simulator simulates an A1 protocol termination endpoint. Documentation for the simulator can be found +here: :doc:`A1 Interface Simulator `. It can be downloaded from here: :: -.. image:: ./images/non-RT_RIC_dashboard.png \ No newline at end of file + git clone "https://gerrit.o-ran-sc.org/r/sim/a1-interface"