blob: 791519187dce3c39678e70378a43c77c67bc71e9 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
* ========================LICENSE_START=================================
* O-RAN-SC
* %%
* Copyright (C) 2022 Nordix Foundation
* %%
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ========================LICENSE_END===================================
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.0</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>org.oransc</groupId>
<modelVersion>4.0.0</modelVersion>
<artifactId>capifserverapi</artifactId>
<version>1.0.0-SNAPSHOT</version>
<name>capifserverapi</name>
<description>Capif Server API</description>
<packaging>jar</packaging>
<properties>
<java.version>11</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<servlet-api.version>2.5</servlet-api.version>
<swagger-annotations.version>1.6.6</swagger-annotations.version>
<jackson-databind-nullable.version>0.2.1</jackson-databind-nullable.version>
<joda-time.version>2.10.14</joda-time.version>
<openapi-generator-maven-plugin.version>5.3.1</openapi-generator-maven-plugin.version><!-->Do not step version! Higher versions introduce compile problem<-->
</properties>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>${servlet-api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.openapitools</groupId>
<artifactId>jackson-databind-nullable</artifactId>
<version>${jackson-databind-nullable.version}</version>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>${swagger-annotations.version}</version>
</dependency>
<dependency>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-maven-plugin</artifactId>
<version>${openapi-generator-maven-plugin.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>${joda-time.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-maven-plugin</artifactId>
<version>${openapi-generator-maven-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<id>buildProviderApi</id>
<configuration>
<inputSpec>
${project.basedir}/specs/TS29222_CAPIF_API_Provider_Management_API.yaml
</inputSpec>
<generatorName>spring</generatorName>
<library>spring-boot</library>
<skipValidateSpec>true</skipValidateSpec>
<generateApis>true</generateApis>
<generateModels>true</generateModels>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<basePackage>org.oransc.capif.server</basePackage>
<apiPackage>org.oransc.capif.server.providermanagement.api</apiPackage>
<modelPackage>org.oransc.capif.server.model</modelPackage>
<dateLibrary>joda</dateLibrary>
<interfaceOnly>true</interfaceOnly>
<delegatePattern>true</delegatePattern>
</configOptions>
</configuration>
</execution>
<execution>
<goals>
<goal>generate</goal>
</goals>
<id>buildInvokerApi</id>
<configuration>
<inputSpec>
${project.basedir}/specs/TS29222_CAPIF_API_Invoker_Management_API.yaml
</inputSpec>
<generatorName>spring</generatorName>
<library>spring-boot</library>
<skipValidateSpec>true</skipValidateSpec>
<generateApis>true</generateApis>
<generateModels>true</generateModels>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<basePackage>org.oransc.capif.server</basePackage>
<apiPackage>org.oransc.capif.server.invokermanagement.api</apiPackage>
<modelPackage>org.oransc.capif.server.model</modelPackage>
<dateLibrary>joda</dateLibrary>
<interfaceOnly>true</interfaceOnly>
<delegatePattern>true</delegatePattern>
</configOptions>
</configuration>
</execution>
<execution>
<goals>
<goal>generate</goal>
</goals>
<id>buildPublishApi</id>
<configuration>
<inputSpec>
${project.basedir}/specs/TS29222_CAPIF_Publish_Service_API.yaml
</inputSpec>
<generatorName>spring</generatorName>
<library>spring-boot</library>
<skipValidateSpec>true</skipValidateSpec>
<generateApis>true</generateApis>
<generateModels>true</generateModels>
<generateApis>true</generateApis>
<generateModels>true</generateModels>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<basePackage>org.oransc.capif.server</basePackage>
<apiPackage>org.oransc.capif.server.publishservice.api</apiPackage>
<modelPackage>org.oransc.capif.server.model</modelPackage>
<dateLibrary>joda</dateLibrary>
<interfaceOnly>true</interfaceOnly>
<delegatePattern>true</delegatePattern>
</configOptions>
</configuration>
</execution>
<execution>
<goals>
<goal>generate</goal>
</goals>
<id>buildDiscoverApi</id>
<configuration>
<inputSpec>
${project.basedir}/specs/TS29222_CAPIF_Discover_Service_API.yaml
</inputSpec>
<generatorName>spring</generatorName>
<library>spring-boot</library>
<skipValidateSpec>true</skipValidateSpec>
<generateApis>true</generateApis>
<generateModels>true</generateModels>
<generateApis>true</generateApis>
<generateModels>true</generateModels>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<basePackage>org.oransc.capif.server</basePackage>
<apiPackage>org.oransc.capif.server.discoverservice.api</apiPackage>
<modelPackage>org.oransc.capif.server.model</modelPackage>
<dateLibrary>joda</dateLibrary>
<interfaceOnly>true</interfaceOnly>
<delegatePattern>true</delegatePattern>
</configOptions>
</configuration>
</execution>
<execution>
<goals>
<goal>generate</goal>
</goals>
<id>buildSecurityApi</id>
<configuration>
<inputSpec>${project.basedir}/specs/TS29222_CAPIF_Security_API.yaml
</inputSpec>
<generatorName>spring</generatorName>
<library>spring-boot</library>
<skipValidateSpec>true</skipValidateSpec>
<generateApis>true</generateApis>
<generateModels>true</generateModels>
<generateApis>true</generateApis>
<generateModels>true</generateModels>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<basePackage>org.oransc.capif.server</basePackage>
<apiPackage>org.oransc.capif.server.security.api</apiPackage>
<modelPackage>org.oransc.capif.server.model</modelPackage>
<dateLibrary>joda</dateLibrary>
<interfaceOnly>true</interfaceOnly>
<delegatePattern>true</delegatePattern>
</configOptions>
</configuration>
</execution>
<execution>
<goals>
<goal>generate</goal>
</goals>
<id>buildLoggingApi</id>
<configuration>
<inputSpec>
${project.basedir}/specs/TS29222_CAPIF_Logging_API_Invocation_API.yaml
</inputSpec>
<generatorName>spring</generatorName>
<library>spring-boot</library>
<skipValidateSpec>true</skipValidateSpec>
<generateApis>true</generateApis>
<generateModels>true</generateModels>
<generateApis>true</generateApis>
<generateModels>true</generateModels>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<basePackage>org.oransc.capif.server</basePackage>
<apiPackage>org.oransc.capif.server.loggingapiinvocation.api</apiPackage>
<modelPackage>org.oransc.capif.server.model</modelPackage>
<dateLibrary>joda</dateLibrary>
<interfaceOnly>true</interfaceOnly>
<delegatePattern>true</delegatePattern>
</configOptions>
</configuration>
</execution>
<execution>
<goals>
<goal>generate</goal>
</goals>
<id>buildRoutingApi</id>
<configuration>
<inputSpec>
${project.basedir}/specs/TS29222_CAPIF_Routing_Info_API.yaml
</inputSpec>
<generatorName>spring</generatorName>
<library>spring-boot</library>
<skipValidateSpec>true</skipValidateSpec>
<generateApis>true</generateApis>
<generateModels>true</generateModels>
<generateApis>true</generateApis>
<generateModels>true</generateModels>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<basePackage>org.oransc.capif.server</basePackage>
<apiPackage>org.oransc.capif.server.routinginfo.api</apiPackage>
<modelPackage>org.oransc.capif.server.model</modelPackage>
<dateLibrary>joda</dateLibrary>
<interfaceOnly>true</interfaceOnly>
<delegatePattern>true</delegatePattern>
</configOptions>
</configuration>
</execution>
<execution>
<goals>
<goal>generate</goal>
</goals>
<id>buildAccessControlApi</id>
<configuration>
<inputSpec>
${project.basedir}/specs/TS29222_CAPIF_Access_Control_Policy_API.yaml
</inputSpec>
<generatorName>spring</generatorName>
<library>spring-boot</library>
<skipValidateSpec>true</skipValidateSpec>
<generateApis>true</generateApis>
<generateModels>true</generateModels>
<generateApis>true</generateApis>
<generateModels>true</generateModels>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<basePackage>org.oransc.capif.server</basePackage>
<apiPackage>org.oransc.capif.server.accesscontrolpolicy.api</apiPackage>
<modelPackage>org.oransc.capif.server.model</modelPackage>
<dateLibrary>joda</dateLibrary>
<interfaceOnly>true</interfaceOnly>
<delegatePattern>true</delegatePattern>
</configOptions>
</configuration>
</execution>
<execution>
<goals>
<goal>generate</goal>
</goals>
<id>buildEventsApi</id>
<configuration>
<inputSpec>${project.basedir}/specs/TS29222_CAPIF_Events_API.yaml
</inputSpec>
<generatorName>spring</generatorName>
<library>spring-boot</library>
<skipValidateSpec>true</skipValidateSpec>
<generateApis>true</generateApis>
<generateModels>true</generateModels>
<generateApis>true</generateApis>
<generateModels>true</generateModels>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<basePackage>org.oransc.capif.server</basePackage>
<apiPackage>org.oransc.capif.server.events.api</apiPackage>
<modelPackage>org.oransc.capif.server.model</modelPackage>
<dateLibrary>joda</dateLibrary>
<interfaceOnly>true</interfaceOnly>
<delegatePattern>true</delegatePattern>
</configOptions>
</configuration>
</execution>
<execution>
<goals>
<goal>generate</goal>
</goals>
<id>buildAuditingsApi</id>
<configuration>
<inputSpec>${project.basedir}/specs/TS29222_CAPIF_Auditing_API.yaml
</inputSpec>
<generatorName>spring</generatorName>
<library>spring-boot</library>
<skipValidateSpec>true</skipValidateSpec>
<generateApis>true</generateApis>
<generateModels>true</generateModels>
<generateApis>true</generateApis>
<generateModels>true</generateModels>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<basePackage>org.oransc.capif.server</basePackage>
<apiPackage>org.oransc.capif.server.auditing.api</apiPackage>
<modelPackage>org.oransc.capif.server.model</modelPackage>
<dateLibrary>joda</dateLibrary>
<interfaceOnly>true</interfaceOnly>
<delegatePattern>true</delegatePattern>
</configOptions>
</configuration>
</execution>
<execution>
<goals>
<goal>generate</goal>
</goals>
<id>buildAefSecurityApi</id>
<configuration>
<inputSpec>${project.basedir}/specs/TS29222_AEF_Security_API.yaml
</inputSpec>
<generatorName>spring</generatorName>
<library>spring-boot</library>
<skipValidateSpec>true</skipValidateSpec>
<generateApis>true</generateApis>
<generateModels>true</generateModels>
<generateApis>true</generateApis>
<generateModels>true</generateModels>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<basePackage>org.oransc.capif.server</basePackage>
<apiPackage>org.oransc.capif.server.aefsecurity.api</apiPackage>
<modelPackage>org.oransc.capif.server.model</modelPackage>
<dateLibrary>joda</dateLibrary>
<interfaceOnly>true</interfaceOnly>
<delegatePattern>true</delegatePattern>
</configOptions>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>