summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2019-04-30 14:12:19 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-30 14:12:19 +0000
commit9f58a5d51f8945b4813227957edc8e49451c1eca (patch)
treeee73a858065492a4654dc72cdc4451a099ec219a
parent6613b25c7de599d047189c27b930b873749878f2 (diff)
parent30355d90858eaccd6dedd09f6811d3d112e400a2 (diff)
Merge "Add initial documentation for DCAE SDK"
-rw-r--r--docs/sections/apis/SDK.rst54
-rw-r--r--docs/sections/services/sdk/architecture.rst68
-rw-r--r--docs/sections/services/sdk/index.rst10
3 files changed, 132 insertions, 0 deletions
diff --git a/docs/sections/apis/SDK.rst b/docs/sections/apis/SDK.rst
new file mode 100644
index 00000000..d44dda59
--- /dev/null
+++ b/docs/sections/apis/SDK.rst
@@ -0,0 +1,54 @@
+========
+DCAE SDK
+========
+
+:Date: 2019-04-29
+
+.. contents::
+ :depth: 3
+..
+
+Overview
+========
+
+DCAE SDK contains utilities and clients which may be used for fetching configuration from CBS, consuming messages from DMaaP, interacting with A&AI, etc. SDK is written in Java.
+
+Introduction
+============
+
+ SDK Maven dependencies (modules).
+
+ .. code-block:: XML
+
+ <properties>
+ <sdk.version>1.1.4</sdk.version>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
+ <artifactId>cbs-client</artifactId>
+ <version>${sdk.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.onap.dcaegen2.services.sdk.security.crypt</groupId>
+ <artifactId>crypt-password</artifactId>
+ <version>${sdk.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.onap.dcaegen2.services.sdk</groupId>
+ <artifactId>hvvesclient-producer-api</artifactId>
+ <version>${sdk.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.onap.dcaegen2.services.sdk</groupId>
+ <artifactId>hvvesclient-producer-impl</artifactId>
+ <version>${sdk.version}</version>
+ <scope>runtime</scope>
+ </dependency>
+ <!-- more to go -->
+
+ </dependencies> \ No newline at end of file
diff --git a/docs/sections/services/sdk/architecture.rst b/docs/sections/services/sdk/architecture.rst
new file mode 100644
index 00000000..3f3cdf55
--- /dev/null
+++ b/docs/sections/services/sdk/architecture.rst
@@ -0,0 +1,68 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. http://creativecommons.org/licenses/by/4.0
+
+Architecture
+============
+
+Introduction
+------------
+As most services and collectors deployed on DCAE platform relies on similar microservices a common Software Development Kit has been created. It contains utilities and clients which may be used for getting configuration from CBS, consuming messages from DMaaP, interacting with A&AI, etc. SDK is written in Java.
+
+Some of common function across different services are targeted to build as separate library was created in Dublin release.
+
+Reactive programming
+--------------------
+Most of SDK APIs are using Project Reactor, which is one of available implementations of Reactive Streams (as well as Java 9 Flow). Due to this fact SDK supports both high-performance, non-blocking asynchronous clients and old-school, thread-bound, blocking clients. Reactive programming can solve many cloud-specific problems - if used properly.
+
+
+
+Libraries:
+----------
+
+DmaaP-MR Client
+~~~~~~~~~~~~~~~
+ * Support for DmaaP MR publish and subscribe
+ * Support for DmaaP configuration fetching from Consul
+ * Support for authenticated topics pub/sub
+ * Standardized logging
+
+
+ConfigBindingService Client
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ Thin client wrapper to invoke CBS api to fetch configuration based on exposed properties during deployment. Provides option to periodically query and capture new configuration changes if any should be returned to application.
+
+
+A&AI Client
+~~~~~~~~~~~
+ * Standardized logging and error handling
+ * Provides a wrapper on AAI api for identifying node-type and support appropriate enrichment queries
+ * Standardizes PNF update related queries
+
+
+DCAE Common Libraries (ONAP WIKI)
+---------------------------------
+Following link is a reference to an internet site which describes basic features in general.
+DCAE_Common_Libraries_
+
+.. _DCAE_Common_Libraries: https://wiki.onap.org/pages/viewpage.action?pageId=45300259
+
+DCAE SDK
+~~~~~~~~
+Contains some general notes about the project and libraries which were used.
+DCAE_SDK_
+
+.. _DCAE_SDK: https://wiki.onap.org/display/DW/DCAE+SDK
+
+Changelog
+~~~~~~~~~
+Below link is a reference to an internet site which contains information about the changelog.
+Changelog_
+
+.. _Changelog: https://wiki.onap.org/display/DW/DCAE+SDK+Changelog
+
+FAQ
+~~~~
+DCAE SDK Frequently Asked Questions.
+FAQ_
+
+.. _FAQ: https://wiki.onap.org/display/DW/DCAE+SDK+Frequently+Asked+Questions \ No newline at end of file
diff --git a/docs/sections/services/sdk/index.rst b/docs/sections/services/sdk/index.rst
new file mode 100644
index 00000000..f53b78b1
--- /dev/null
+++ b/docs/sections/services/sdk/index.rst
@@ -0,0 +1,10 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. http://creativecommons.org/licenses/by/4.0
+
+DCAE SDK
+========
+
+.. toctree::
+:maxdepth: 1
+
+ ./architecture.rst \ No newline at end of file