docs/offeredapis/**/README.md
a1-policy-management/api/offeredapis/openapigentool/**/README.md
a1-policy-management/api/**/.openapi-generator**
+a1-policy-management/custom/
post_build:
- mkdir -p ${READTHEDOCS_OUTPUT}html/openapi
- cp -v -r docs/offeredapis/openapitoolgen/offeredapis/pms-api/* ${READTHEDOCS_OUTPUT}html/openapi
+ - cp -v -r docs/offeredapis/swagger/*.json ${READTHEDOCS_OUTPUT}html/openapi
+ - cp -v -r docs/offeredapis/swagger/*.yaml ${READTHEDOCS_OUTPUT}html/openapi
+ - cp -v -r docs/offeredapis/*.json ${READTHEDOCS_OUTPUT}html/openapi
+ - cp -v -r docs/offeredapis/*.yaml ${READTHEDOCS_OUTPUT}html/openapi
python:
install:
ONAP : ccsdk oran
Copyright (C) 2019-2023 Nordix Foundation. All rights reserved.
-Copyright (C) 2023-2024 OpenInfra Foundation Europe. All rights reserved.
+Copyright (C) 2023-2025 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.
You may obtain a copy of the License at
--- /dev/null
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "type": "object",
+ "properties": {
+ "config": {
+ "type": "object",
+ "properties": {
+ "//description": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "controller": {
+ "type": "array",
+ "items": [
+ {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "baseUrl": {
+ "type": "string"
+ },
+ "userName": {
+ "type": "string"
+ },
+ "password": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "baseUrl",
+ "userName",
+ "password"
+ ],
+ "additionalProperties": false
+ }
+ ]
+ },
+ "ric": {
+ "type": "array",
+ "items": [
+ {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "baseUrl": {
+ "type": "string"
+ },
+ "controller": {
+ "type": "string"
+ },
+ "customAdapterClass": {
+ "type": "string"
+ },
+ "managedElementIds": {
+ "type": "array",
+ "items": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "baseUrl"
+ ],
+ "additionalProperties": false
+ }
+ ]
+ }
+ },
+ "required": [
+ "ric"
+ ],
+ "additionalProperties": true
+ }
+ },
+ "required": [
+ "config"
+ ]
+}
# ONAP : ccsdk oran
# ================================================================================
# Copyright (C) 2020-2023 Nordix Foundation. All rights reserved.
-# Modifications Copyright (C) 2024-2025 OpenInfra Foundation Europe. All rights reserved.
+# Copyright (C) 2024-2025 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.
# A URL to authorization provider such as OPA. Each time an A1 Policy is accessed, a call to this
# authorization provider is done for access control. If this is empty, no fine grained access control is done.
authorization-provider:
- # the config-file-schema-path referres to a location in the jar file. If this property is empty or missing,
+ # the config-file-schema-path refers to a location in the jar file. If this property is empty or missing,
# no schema validation will be executed.
config-file-schema-path: /application_configuration_schema.json
# Postgres database usage is enabled using the below parameter.
<include>openapitoolgen/offeredapis/pms-api/v3/custom/index.html</include>
</includes>
</resource>
+ <resource>
+ <directory>${project.basedir}/src/main/resources/</directory>
+ <includes>
+ <include>application_configuration_schema.json</include>
+ </includes>
+ </resource>
</resources>
</configuration>
</execution>
html_extra_path = [
'offeredapis/openapitoolgen'
+ # note:
+ # during the readthedocs build, additional files are copied, e.g. into directory "/openapi"
+ # See .readthedocs.yaml file
]
#