Update readthedocs pages with healthcheck API 54/135954/4
authorhalil.cakal <halil.cakal@est.tech>
Tue, 12 Sep 2023 14:32:53 +0000 (15:32 +0100)
committerhalil.cakal <halil.cakal@est.tech>
Fri, 15 Sep 2023 08:59:30 +0000 (09:59 +0100)
- Add healthcheck API to read the docs pages

Issue-ID: CPS-1868
Change-Id: I6d57bc26845f9d0dcd4402b4c6f0c087b9be0c5d
Signed-off-by: halil.cakal <halil.cakal@est.tech>
docs/architecture.rst
docs/design.rst

index a7bc974..622b9c8 100644 (file)
@@ -1,6 +1,6 @@
 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
 .. http://creativecommons.org/licenses/by/4.0
-.. Copyright (C) 2021 Nordix Foundation
+.. Copyright (C) 2021-2023 Nordix Foundation
 .. _architecture:
 
 DMI-Plugin Architecture
@@ -41,6 +41,7 @@ The DMI-Plugin provides following interfaces.
    * - CPS-NCMP-I-01
      - DMI-Plugin Inventory
      - - Register Plug-in CM-Handles
+       - Health Check API
      - REST
    * - DMI-I-01
      - Provides NCMP with  xNF data access and module information
index 9326fd3..27bfdf9 100644 (file)
@@ -1,6 +1,6 @@
 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
 .. http://creativecommons.org/licenses/by/4.0
-.. Copyright (C) 2021 Nordix Foundation
+.. Copyright (C) 2021-2023 Nordix Foundation
 
 .. DO NOT CHANGE THIS LABEL FOR RELEASE NOTES - EVEN THOUGH IT GIVES A WARNING
 .. _design:
@@ -38,6 +38,19 @@ and CPS-NCMP using the drop down table in the top right:
 
   http://<hostname>:<port>/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config#/
 
+Health Check APIs
+=================
+
+The healthcheck URL can be accessed using following URI:
+
+.. code-block:: bash
+
+  http://<hostname>:<port>/manage/health
+
+The Health check endpoint is essential for monitoring the status of DMI-Plugins.
+CPS is using a Spring Boot pattern here which can easily be configured for any spring boot application.
+Springboot provides a built-in Health Check feature through the Spring Boot Actuator module.
+
 Consumed APIs
 =============