diff options
author | raviteja.karumuri <raviteja.karumuri@est.tech> | 2024-09-20 14:06:44 +0100 |
---|---|---|
committer | RAVITEJA KARUMURI <raviteja.karumuri@est.tech> | 2024-10-01 14:23:06 +0000 |
commit | 890978456c238de30d547d5d4a2992b5cace62ee (patch) | |
tree | b46aa07fc678a41698ee225d9282c2b1b9b00b69 /a1-policy-management/pom.xml | |
parent | 7c50c52e71bb26071d40ffd6db97640ad2a5a963 (diff) |
Generating multiple HTML files to support multiple scenarios
Issue-ID: CCSDK-4036
Change-Id: Iba0fd2432d2d6ce411a4762fee0cb8d1fa434ed2
Signed-off-by: Raviteja Karumuri <raviteja.karumuri@est.tech>
Diffstat (limited to 'a1-policy-management/pom.xml')
-rw-r--r-- | a1-policy-management/pom.xml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/a1-policy-management/pom.xml b/a1-policy-management/pom.xml index 718a2742..411878df 100644 --- a/a1-policy-management/pom.xml +++ b/a1-policy-management/pom.xml @@ -432,6 +432,22 @@ </configuration> </execution> <execution> + <id>generate-openapi-json-config-a1pms</id> + <phase>prepare-package</phase> + <goals> + <goal>generate</goal> + </goals> + <configuration> + <inputSpec>${project.basedir}/api/offeredapis/swagger/pms-api-v3.yaml</inputSpec> + <generatorName>openapi</generatorName> + <apisToGenerate>A1PolicyManagement</apisToGenerate> + <output>${project.basedir}/api/offeredapis/swagger</output> + <configOptions> + <outputFileName>a1pms-api-v3.json</outputFileName> + </configOptions> + </configuration> + </execution> + <execution> <id>generate-openapi-html</id> <phase>prepare-package</phase> <goals> @@ -477,6 +493,29 @@ </configuration> </execution> <execution> + <id>generate-openapi-html-config-a1pms</id> + <phase>prepare-package</phase> + <goals> + <goal>generate</goal> + </goals> + <configuration> + <inputSpec>${project.basedir}/api/offeredapis/swagger/pms-api-v3.json</inputSpec> + <generatorName>html2</generatorName> + <output>${project.basedir}/api/offeredapis/openapitoolgen/offeredapis/pms-api/v3/custom</output> + <skipOperationExample>false</skipOperationExample> + <strictSpec>false</strictSpec> + <apisToGenerate>A1PolicyManagement</apisToGenerate> + <configOptions> + <appDescription>The O-RAN Non-RT RIC Policy Management Service + provides a REST API for managing O-RAN A1 Policies.</appDescription> + <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) 2024 OpenInfra Foundation Europe. All rights reserved.</licenseInfo> + <licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl> + </configOptions> + </configuration> + </execution> + <execution> <id>generate-policy-api</id> <phase>generate-sources </phase> <goals> @@ -558,8 +597,10 @@ <include>swagger/pms-api.yaml</include> <include>swagger/pms-api-v3.json</include> <include>swagger/pms-api-v3.yaml</include> + <include>swagger/a1pms-api-v3.json</include> <include>openapitoolgen/offeredapis/pms-api/index.html</include> <include>openapitoolgen/offeredapis/pms-api/v3/index.html</include> + <include>openapitoolgen/offeredapis/pms-api/v3/custom/index.html</include> </includes> </resource> </resources> |