blob: 5a6703f421b43942434ac29bc563215f140948f6 [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">
<groupId>org.oransc</groupId>
<modelVersion>4.0.0</modelVersion>
<artifactId>capifclientapi</artifactId>
<version>1.0.0-SNAPSHOT</version>
<name>capifclientapi</name>
<description>Capif Lient 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>
<jackson-databind-nullable.version>0.2.1</jackson-databind-nullable.version>
<spring-boot-starter-validation.version>2.7.0</spring-boot-starter-validation.version>
<spring-web.version>5.3.20</spring-web.version>
<joda-time.version>2.10.14</joda-time.version>
<openapi-generator-maven-plugin.version>6.0.0</openapi-generator-maven-plugin.version>
</properties>
<dependencies>
<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>org.openapitools</groupId>
<artifactId>openapi-generator-maven-plugin</artifactId>
<version>${openapi-generator-maven-plugin.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring-web.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
<version>${spring-boot-starter-validation.version}</version>
</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>generatingProviderApi</id>
<configuration>
<inputSpec>
${project.basedir}/specs/TS29222_CAPIF_API_Provider_Management_API.yaml
</inputSpec>
<language>java</language>
<generatorName>java</generatorName>
<library>native</library>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<basePackage>org.oransc.capif.client</basePackage>
<apiPackage>org.oransc.capif.client.providermanagement.api</apiPackage>
<modelPackage>org.oransc.capif.client.model</modelPackage>
<dateLibrary>java8</dateLibrary>
</configOptions>
</configuration>
</execution>
<execution>
<goals>
<goal>generate</goal>
</goals>
<id>generatingInvokerApi</id>
<configuration>
<inputSpec>
${project.basedir}/specs/TS29222_CAPIF_API_Invoker_Management_API.yaml
</inputSpec>
<language>java</language>
<generatorName>java</generatorName>
<library>native</library>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<basePackage>org.oransc.capif.client</basePackage>
<apiPackage>org.oransc.capif.client.invokermanagement.api</apiPackage>
<modelPackage>org.oransc.capif.client.model</modelPackage>
<dateLibrary>java8</dateLibrary>
</configOptions>
</configuration>
</execution>
<execution>
<goals>
<goal>generate</goal>
</goals>
<id>generatingPublishApi</id>
<configuration>
<inputSpec>
${project.basedir}/specs/TS29222_CAPIF_Publish_Service_API.yaml
</inputSpec>
<language>java</language>
<generatorName>java</generatorName>
<library>native</library>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<basePackage>org.oransc.capif.client</basePackage>
<apiPackage>org.oransc.capif.client.publishservice.api</apiPackage>
<modelPackage>org.oransc.capif.client.model</modelPackage>
<dateLibrary>java8</dateLibrary>
</configOptions>
</configuration>
</execution>
<execution>
<goals>
<goal>generate</goal>
</goals>
<id>generatingDiscoverApi</id>
<configuration>
<inputSpec>
${project.basedir}/specs/TS29222_CAPIF_Discover_Service_API.yaml
</inputSpec>
<language>java</language>
<generatorName>java</generatorName>
<library>native</library>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<basePackage>org.oransc.capif.client</basePackage>
<apiPackage>org.oransc.capif.client.discoverservice.api</apiPackage>
<modelPackage>org.oransc.capif.client.model</modelPackage>
<dateLibrary>java8</dateLibrary>
</configOptions>
</configuration>
</execution>
<execution>
<goals>
<goal>generate</goal>
</goals>
<id>generatingSecurityApi</id>
<configuration>
<inputSpec>
${project.basedir}/specs/TS29222_CAPIF_Security_API.yaml
</inputSpec>
<language>java</language>
<generatorName>java</generatorName>
<library>native</library>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<basePackage>org.oransc.capif.client</basePackage>
<apiPackage>org.oransc.capif.client.security.api</apiPackage>
<modelPackage>org.oransc.capif.client.model</modelPackage>
<dateLibrary>java8</dateLibrary>
</configOptions>
</configuration>
</execution>
<execution>
<goals>
<goal>generate</goal>
</goals>
<id>generatingLoggingApi</id>
<configuration>
<inputSpec>
${project.basedir}/specs/TS29222_CAPIF_Logging_API_Invocation_API.yaml
</inputSpec>
<language>java</language>
<generatorName>java</generatorName>
<library>native</library>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<basePackage>org.oransc.capif.client</basePackage>
<apiPackage>org.oransc.capif.client.loggingapiinvocation.api</apiPackage>
<modelPackage>org.oransc.capif.client.model</modelPackage>
<dateLibrary>java8</dateLibrary>
</configOptions>
</configuration>
</execution>
<execution>
<goals>
<goal>generate</goal>
</goals>
<id>generatingRoutingApi</id>
<configuration>
<inputSpec>
${project.basedir}/specs/TS29222_CAPIF_Routing_Info_API.yaml
</inputSpec>
<language>java</language>
<generatorName>java</generatorName>
<library>native</library>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<basePackage>org.oransc.capif.client</basePackage>
<apiPackage>org.oransc.capif.client.routinginfo.api</apiPackage>
<modelPackage>org.oransc.capif.client.model</modelPackage>
<dateLibrary>java8</dateLibrary>
</configOptions>
</configuration>
</execution>
<execution>
<goals>
<goal>generate</goal>
</goals>
<id>generatingAccess_ControlApi</id>
<configuration>
<inputSpec>
${project.basedir}/specs/TS29222_CAPIF_Access_Control_Policy_API.yaml
</inputSpec>
<language>java</language>
<generatorName>java</generatorName>
<library>native</library>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<basePackage>org.oransc.capif.client</basePackage>
<apiPackage>org.oransc.capif.client.accesscontrolpolicy.api</apiPackage>
<modelPackage>org.oransc.capif.client.model</modelPackage>
<dateLibrary>java8</dateLibrary>
</configOptions>
</configuration>
</execution>
<execution>
<goals>
<goal>generate</goal>
</goals>
<id>generatingEventsApi</id>
<configuration>
<inputSpec>
${project.basedir}/specs/TS29222_CAPIF_Events_API.yaml
</inputSpec>
<language>java</language>
<generatorName>java</generatorName>
<library>native</library>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<basePackage>org.oransc.capif.client</basePackage>
<apiPackage>org.oransc.capif.client.events.api</apiPackage>
<modelPackage>org.oransc.capif.client.model</modelPackage>
<dateLibrary>java8</dateLibrary>
</configOptions>
</configuration>
</execution>
<execution>
<goals>
<goal>generate</goal>
</goals>
<id>generatingAuditingApi</id>
<configuration>
<inputSpec>
${project.basedir}/specs/TS29222_CAPIF_Auditing_API.yaml
</inputSpec>
<language>java</language>
<generatorName>java</generatorName>
<library>native</library>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<basePackage>org.oransc.capif.client</basePackage>
<apiPackage>org.oransc.capif.client.auditing.api</apiPackage>
<modelPackage>org.oransc.capif.client.model</modelPackage>
<dateLibrary>java8</dateLibrary>
</configOptions>
</configuration>
</execution>
<execution>
<goals>
<goal>generate</goal>
</goals>
<id>generatingAEF_SecurityApi</id>
<configuration>
<inputSpec>
${project.basedir}/specs/TS29222_AEF_Security_API.yaml
</inputSpec>
<language>java</language>
<generatorName>java</generatorName>
<library>native</library>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<basePackage>org.oransc.capif.client</basePackage>
<apiPackage>org.oransc.capif.client.aefsecurity.api</apiPackage>
<modelPackage>org.oransc.capif.client.model</modelPackage>
<dateLibrary>java8</dateLibrary>
</configOptions>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>