PMS, Removed use of CBS 71/126571/2
authorPatrikBuhr <patrik.buhr@est.tech>
Wed, 12 Jan 2022 15:15:34 +0000 (16:15 +0100)
committerPatrikBuhr <patrik.buhr@est.tech>
Wed, 12 Jan 2022 16:08:52 +0000 (17:08 +0100)
Documentation updates

Issue-ID: CCSDK-3560
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
Change-Id: I0e9e5fe4eefb8a95936596f5484c5b7cebc66717

a1-policy-management/config/application.yaml
docs/consumedapis/consumedapis.rst
docs/guide/developer-guide.rst

index 5e6c6fe..5684c46 100644 (file)
@@ -57,8 +57,7 @@ server:
       key-password: policy_agent
       key-alias: policy_agent
 app:
-  # Location of the component configuration file. The file will only be used if the Consul database is not used;
-  # configuration from the Consul will override the file.
+  # Location of the component configuration file.
   filepath: /opt/app/policy-agent/data/application_configuration.json
   webclient:
     # Configuration of the trust store used for the HTTP client (outgoing requests)
index d96dc9e..b572bc4 100755 (executable)
@@ -7,11 +7,6 @@ Consumed APIs
 
 Policy Management Service application is interacting with two ONAP APIs and the A1-P API.
 
-*******
-CBS API
-*******
-
-If *Consul* is used for configuring the A1 Policy Management Service the `ONAP DCAE Config Binding Service <https://docs.onap.org/projects/onap-dcaegen2/en/latest/sections/apis/configbinding.html>`_ is used. 
 
 *********
 DMAAP API
@@ -26,7 +21,6 @@ O-RAN A1 interface for A1 Policies (A1-P)
 Southbound, the ONAP A1 Policy functions communicate with *near-RT-RIC* RAN functions using the **A1** interface, as defined by the `O-RAN Alliance <https://www.o-ran.org>`_   
 The *A1 Interface - Application Protocol Specification (A1-AP)* describe this interface. The specification can be viewed from the `O-RAN Alliance <https://www.o-ran.org>`_ website. 
 
-The **Honolulu** ONAP A1 Policy functions implement the *A1 Policy* parts (*A1-P*) of A1-AP versions *v1.1* and *v2.0*
     
 An opensource implementation of a `near-RT-RIC <https://wiki.o-ran-sc.org/pages/viewpage.action?pageId=1179659>`_ is available from `O-RAN Software Community <https://o-ran-sc.org>`_. It supports a pre-spec version of the A1-AP. The ONAP A1 Policy functions described here also supports this A1 version (A1-OSC). 
 
index d0eb79c..29c9f91 100644 (file)
@@ -42,15 +42,7 @@ Dependencies
 This project uses various frameworks which are managed with Maven
 dependency management tool (see *pom.xml* file at root level) :
 
-- Swagger annotations
-- `Spring Framework <https://github.com/spring-projects/spring-boot>`_
-- `Springfox <https://github.com/springfox/springfox>`_ Automated JSON API documentation for API's built with Spring
-- `Immutable <https://immutables.github.io/>`_ to generate simple, safe and consistent value objects
-- `JSON in Java <https://github.com/stleary/JSON-java>`_ to parse JSON documents into Java objects
-- `Apache Commons Net <https://github.com/apache/commons-net>`_ for network utilities and protocol implementations
-- `DCAE SDK <https://github.com/onap/dcaegen2-services-sdk>`_ to get configuration from CBS
-- `Lombok <https://github.com/rzwitserloot/lombok>`_ to generate code, such as getters and setters
-- `Awaitility <https://github.com/awaitility/awaitility>`_ to test asynchronous functionality
+To get a complete list of all dependencies, use command "mvn dependency:tree".
 
 Configuration
 -------------
@@ -83,7 +75,7 @@ For details about the parameters in this file, see documentation in the file.
 Dynamic configuration
 ---------------------
 
-The component has configuration that can be updated in runtime. This configuration can either be loaded from a file (accessible from the container) or from a CBS/Consul database (Cloudify). The configuration is re-read and refreshed at regular intervals. This file based configuration can be updated or read via the REST API, See :ref:`pms_api`.
+The component has configuration that can be updated in runtime. This configuration is loaded from a file (accessible from the container). The configuration is re-read and refreshed at regular intervals. This file based configuration can be updated or read via the REST API, See :ref:`pms_api`.
 
 The configuration includes:
 
@@ -98,19 +90,6 @@ The configuration includes:
 
 For details about the syntax of the file, there is an example in source code repository */config/application_configuration.json*. This file is also included in the docker container */opt/app/policy-agent/data/application_configuration.json_example*.
 
-Using CBS/Consul database for dynamic configuration
----------------------------------------------------
-
-The access of CBS is setup by means of environment variables. There is currently no support for setting these at on boarding.
-
-The following variables are required by the CBS:
-
- * CONSUL_HOST
- * CONSUL_PORT
- * CONFIG_BINDING_SERVICE
- * SERVICE_NAME
-
-The CBS/Consul overrides the configuration file. So when CBS/Consul is used, the configuration file is ignored. 
 
 Configuration of certs
 ----------------------