From 01162eadfe8aa3b14694b149b76773d8f64d675e Mon Sep 17 00:00:00 2001 From: PatrikBuhr Date: Wed, 12 Jan 2022 16:15:34 +0100 Subject: PMS, Removed use of CBS Documentation updates Issue-ID: CCSDK-3560 Signed-off-by: PatrikBuhr Change-Id: I0e9e5fe4eefb8a95936596f5484c5b7cebc66717 --- docs/guide/developer-guide.rst | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) (limited to 'docs/guide') 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 `_ -- `Springfox `_ Automated JSON API documentation for API's built with Spring -- `Immutable `_ to generate simple, safe and consistent value objects -- `JSON in Java `_ to parse JSON documents into Java objects -- `Apache Commons Net `_ for network utilities and protocol implementations -- `DCAE SDK `_ to get configuration from CBS -- `Lombok `_ to generate code, such as getters and setters -- `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 ---------------------- -- cgit 1.2.3-korg