diff options
author | PatrikBuhr <patrik.buhr@est.tech> | 2022-01-12 16:15:34 +0100 |
---|---|---|
committer | PatrikBuhr <patrik.buhr@est.tech> | 2022-01-12 17:08:52 +0100 |
commit | 01162eadfe8aa3b14694b149b76773d8f64d675e (patch) | |
tree | d68248911e1d93a840ba1594933d9df49206d60f /docs/guide/developer-guide.rst | |
parent | 0f8b20544745afaf9c7b38140b9516667d9c4752 (diff) |
PMS, Removed use of CBS
Documentation updates
Issue-ID: CCSDK-3560
Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
Change-Id: I0e9e5fe4eefb8a95936596f5484c5b7cebc66717
Diffstat (limited to 'docs/guide/developer-guide.rst')
-rw-r--r-- | docs/guide/developer-guide.rst | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/docs/guide/developer-guide.rst b/docs/guide/developer-guide.rst index d0eb79c9..29c9f91d 100644 --- a/docs/guide/developer-guide.rst +++ b/docs/guide/developer-guide.rst @@ -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 ---------------------- |