A1PMS - Add API Docs 94/12894/1 master
authorDenisGNoonan <denis.noonan@est.tech>
Thu, 9 May 2024 16:54:26 +0000 (17:54 +0100)
committerDenisGNoonan <denis.noonan@est.tech>
Thu, 9 May 2024 16:54:36 +0000 (17:54 +0100)
Change-Id: Ib479e4549684e3e793d1bc8f98af2f154b7a1398
Signed-off-by: DenisGNoonan <denis.noonan@est.tech>
.readthedocs.yaml
docs/api-docs.rst [new file with mode: 0644]
docs/conf.py
docs/index.rst
docs/offeredapis/openapitoolgen/offeredapis/pms-api/pms-api.html [moved from docs/offeredapis/openapitoolgen/offeredapis/pms-api/index.html with 100% similarity]
docs/release-notes.rst
pom.xml

index 311a67c..26aaa65 100644 (file)
@@ -1,5 +1,6 @@
 #  ============LICENSE_START===============================================
 #  Copyright (C) 2020-2023 Nordix Foundation. All rights reserved.
+#  Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.
 #  ========================================================================
 #  Licensed under the Apache License, Version 2.0 (the "License");
 #  you may not use this file except in compliance with the License.
@@ -25,6 +26,9 @@ build:
   os: ubuntu-22.04
   tools:
     python: "3.11"
+  jobs:
+    post_build:
+      - cp -v docs/offeredapis/openapitoolgen/offeredapis/pms-api/pms-api.html $READTHEDOCS_OUTPUT/html
 
 python:
   install:
diff --git a/docs/api-docs.rst b/docs/api-docs.rst
new file mode 100644 (file)
index 0000000..24f66b3
--- /dev/null
@@ -0,0 +1,17 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. http://creativecommons.org/licenses/by/4.0
+.. Copyright (C) 2024 OpenInfra Foundation Europe
+
+.. _api_docs:
+
+========
+API Docs
+========
+
+To view the Open API specification for A1 PMS, please see the following.
+
+.. raw:: html
+
+    <ul>
+    <li><a href="./pms-api.html">A1 Policy Management Service API and SDK Documentation</a></li>
+    </ul>
index adbae5d..51a61b7 100644 (file)
@@ -1,5 +1,6 @@
 #  ============LICENSE_START===============================================
 #  Copyright (C) 2021-2022 Nordix Foundation. All rights reserved.
+#  Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.
 #  ========================================================================
 #  Licensed under the Apache License, Version 2.0 (the "License");
 #  you may not use this file except in compliance with the License.
@@ -30,6 +31,10 @@ linkcheck_ignore = [
 
 extensions = ['sphinx.ext.intersphinx',]
 
+html_extra_path = [
+    'offeredapis/openapitoolgen/offeredapis/pms-api'
+]
+
 #intershpinx mapping with other projects
 intersphinx_mapping = {}
 
index 0b5d96a..9a71178 100644 (file)
@@ -1,6 +1,7 @@
 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
 .. SPDX-License-Identifier: CC-BY-4.0
 .. Copyright (C) 2023 Nordix
+.. Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.
 
 Non-RT RIC A1 Policy Management Service
 =======================================
@@ -13,3 +14,4 @@ Non-RT RIC A1 Policy Management Service
    ./developer-guide.rst
    ./installation-guide.rst
    ./release-notes.rst
+   ./api-docs.rst
index 2c60148..ff523a3 100755 (executable)
@@ -1,17 +1,17 @@
 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
 .. http://creativecommons.org/licenses/by/4.0
 .. Copyright (C) 2021 Nordix. All rights reserved.
-.. Copyright (C) 2023 OpenInfra Foundation Europe. All rights reserved.
+.. Copyright (C) 2023-2024 OpenInfra Foundation Europe. All rights reserved.
 
 =============
-Release-Notes
+Release Notes
 =============
 
 
 This document provides the release notes for the release of the Non-RT RIC A1 Policy Management Service.
 
 
-Version history A1 Policy Management Service (A1 Policy Agent) 
+Version history A1 Policy Management Service (A1 Policy Agent)
 ==============================================================
 
 +------------+----------+------------------+--------------------+
diff --git a/pom.xml b/pom.xml
index ba524d1..309c95a 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                                 <appName>ONAP CCSDK A1 Policy Management Service</appName>
                                 <infoUrl>https://wiki.onap.org/display/DW/O-RAN+A1+Policies+in+ONAP</infoUrl>
                                 <licenseInfo>Copyright (C) 2020-2023 Nordix Foundation. Licensed
-                                    under the Apache License, and Copyright (C) 2024 OpenInfra 
+                                    under the Apache License, and Copyright (C) 2024 OpenInfra
                                     Foundation Europe. All rights reserved.</licenseInfo>
                                 <licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
                             </configOptions>
                                 <resource>
                                     <directory>${project.basedir}/api/pms-api</directory>
                                     <includes>
-                                        <include>index.html</include>
+                                        <include>pms-api.html</include>
                                     </includes>
                                 </resource>
                             </resources>