blob: d21b213bb82ed52bb8ebc6b09631b584e54e6082 [file] [log] [blame]
Ruslan Kashapov55dc6542021-03-02 16:48:41 +02001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. http://creativecommons.org/licenses/by/4.0
3.. Copyright (C) 2021 Nordix Foundation, Pantheon.tech
niamhcore541952b2021-02-24 14:11:56 +00004.. _architecture:
5
Ruslan Kashapov55dc6542021-03-02 16:48:41 +02006CPS Architecture
7################
8
9.. toctree::
10 :maxdepth: 1
11
12
13High Level Component Definition and Architectural Relationships
14===============================================================
15
16The Configuration Persistence Service (CPS) provides storage for run-time configuration and operational
17parameters that need to be used by ONAP.
18
ToineSiebelinkd0e4a9c2023-11-08 17:29:50 +000019CPS is no longer a stand alone component and is released along with and the NCMP-DMI-Plugin.
Ruslan Kashapov55dc6542021-03-02 16:48:41 +020020
shivasubedi44beaa32021-09-13 15:16:30 +010021Project page describing eventual scope and ambition is here:
22`Configuration Persistence Service Project <https://wiki.onap.org/display/DW/Configuration+Persistence+Service+Project>`_
23
emaclee92fd1bd2023-03-07 09:29:11 +000024This page reflects the state for the latest release.
Ruslan Kashapov55dc6542021-03-02 16:48:41 +020025
ToineSiebelinkd0e4a9c2023-11-08 17:29:50 +000026.. image:: _static/cps-r13-arch-diagram.png
Ruslan Kashapov55dc6542021-03-02 16:48:41 +020027
28API definitions
29===============
30
lukegleeson107fd7a2021-09-27 13:59:25 +010031Configuration Persistence Service provides the following interfaces.
Ruslan Kashapov55dc6542021-03-02 16:48:41 +020032
33.. list-table::
34 :header-rows: 1
35
36 * - Interface name
37 - Interface definition
38 - Interface capabilities
39 - Protocol
40 * - CPS-E-01
41 - Administrative Data Management
lukegleeson107fd7a2021-09-27 13:59:25 +010042 - - create dataspace
Ruslan Kashapov55dc6542021-03-02 16:48:41 +020043 - create/delete schema set
44 - create/delete anchor
45 - REST
46 * - CPS-E-02
47 - Generic Data Access
48 - - create data node
49 - read data node by xpath with or without descendants
50 - update data node by xpath with or without descendants
51 - REST
52 * - CPS-E-03
53 - Generic Data Search
54 - - query data nodes by xpath prefix and attribute value
55 - REST
56 * - CPS-E-04
57 - Change Notification
lukegleeson107fd7a2021-09-27 13:59:25 +010058 - - Kafka is used as the event messaging system
efiacorb8691812022-03-15 11:26:46 +000059 - running instance is supplied independently from any Kafka instance deployed from ONAP
lukegleeson107fd7a2021-09-27 13:59:25 +010060 - published events contain Timestamp, Dataspace, Schema set, Anchor and JSON Data Payload
efiacorb8691812022-03-15 11:26:46 +000061 - Kafka
Ruslan Kashapov55dc6542021-03-02 16:48:41 +020062 * - CPS-E-05
63 - xNF Data Access
64 - - read xNF data
65 - query xNF data
66 - REST
lukegleeson107fd7a2021-09-27 13:59:25 +010067 * - CPS-E-07
68 - Admin
69 - - logging levels and configuration
70 - monitoring
71 - health including liveliness state and readiness state
72 - metrics through Prometheus
73 - Various
Ruslan Kashapov55dc6542021-03-02 16:48:41 +020074
75The CPS Basic Concepts are described in :doc:`modeling`.