blob: 98990900d99b5ace425558f9778f764c1e12df5d [file] [log] [blame]
elinuxhenrikba5911d2022-06-13 13:55:28 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3* ========================LICENSE_START=================================
4* O-RAN-SC
5* %%
6* Copyright (C) 2022 Nordix Foundation
7* %%
8* Licensed under the Apache License, Version 2.0 (the "License");
9* you may not use this file except in compliance with the License.
10* You may obtain a copy of the License at
11*
12* http://www.apache.org/licenses/LICENSE-2.0
13*
14* Unless required by applicable law or agreed to in writing, software
15* distributed under the License is distributed on an "AS IS" BASIS,
16* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17* See the License for the specific language governing permissions and
18* limitations under the License.
19* ========================LICENSE_END===================================
20-->
21<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
23 <groupId>org.oransc</groupId>
24 <modelVersion>4.0.0</modelVersion>
25 <artifactId>capifclientapi</artifactId>
26 <version>1.0.0-SNAPSHOT</version>
27 <name>capifclientapi</name>
28 <description>Capif Lient API</description>
29 <packaging>jar</packaging>
30
31 <properties>
32 <java.version>11</java.version>
33 <maven.compiler.source>${java.version}</maven.compiler.source>
34 <maven.compiler.target>${java.version}</maven.compiler.target>
35 <servlet-api.version>2.5</servlet-api.version>
36 <jackson-databind-nullable.version>0.2.1</jackson-databind-nullable.version>
37 <spring-boot-starter-validation.version>2.7.0</spring-boot-starter-validation.version>
38 <spring-web.version>5.3.20</spring-web.version>
39 <joda-time.version>2.10.14</joda-time.version>
40 <openapi-generator-maven-plugin.version>6.0.0</openapi-generator-maven-plugin.version>
41 </properties>
42 <dependencies>
43 <dependency>
44 <groupId>javax.servlet</groupId>
45 <artifactId>servlet-api</artifactId>
46 <version>${servlet-api.version}</version>
47 <scope>provided</scope>
48 </dependency>
49 <dependency>
50 <groupId>org.openapitools</groupId>
51 <artifactId>jackson-databind-nullable</artifactId>
52 <version>${jackson-databind-nullable.version}</version>
53 </dependency>
54 <dependency>
55 <groupId>org.openapitools</groupId>
56 <artifactId>openapi-generator-maven-plugin</artifactId>
57 <version>${openapi-generator-maven-plugin.version}</version>
58 <scope>provided</scope>
59 </dependency>
60 <dependency>
61 <groupId>org.springframework</groupId>
62 <artifactId>spring-web</artifactId>
63 <version>${spring-web.version}</version>
64 </dependency>
65 <dependency>
66 <groupId>org.springframework.boot</groupId>
67 <artifactId>spring-boot-starter-validation</artifactId>
68 <version>${spring-boot-starter-validation.version}</version>
69 </dependency>
70 <dependency>
71 <groupId>joda-time</groupId>
72 <artifactId>joda-time</artifactId>
73 <version>${joda-time.version}</version>
74 </dependency>
75 </dependencies>
76 <build>
77 <plugins>
78 <plugin>
79 <groupId>org.openapitools</groupId>
80 <artifactId>openapi-generator-maven-plugin</artifactId>
81 <version>${openapi-generator-maven-plugin.version}</version>
82 <executions>
83 <execution>
84 <goals>
85 <goal>generate</goal>
86 </goals>
87 <id>generatingProviderApi</id>
88 <configuration>
89 <inputSpec>
90 ${project.basedir}/specs/TS29222_CAPIF_API_Provider_Management_API.yaml
91 </inputSpec>
92 <language>java</language>
93 <generatorName>java</generatorName>
94 <library>native</library>
95 <generateApiTests>false</generateApiTests>
96 <generateModelTests>false</generateModelTests>
97 <configOptions>
elinuxhenrik806724a2022-06-27 15:40:17 +020098 <basePackage>org.oransc.capif</basePackage>
99 <apiPackage>org.oransc.capif.providermanagement.client</apiPackage>
100 <modelPackage>org.oransc.capif.model</modelPackage>
elinuxhenrikba5911d2022-06-13 13:55:28 +0200101 <dateLibrary>java8</dateLibrary>
102 </configOptions>
103 </configuration>
104 </execution>
105 <execution>
106 <goals>
107 <goal>generate</goal>
108 </goals>
109 <id>generatingInvokerApi</id>
110 <configuration>
111 <inputSpec>
112 ${project.basedir}/specs/TS29222_CAPIF_API_Invoker_Management_API.yaml
113 </inputSpec>
114 <language>java</language>
115 <generatorName>java</generatorName>
116 <library>native</library>
117 <generateApiTests>false</generateApiTests>
118 <generateModelTests>false</generateModelTests>
119 <configOptions>
elinuxhenrik806724a2022-06-27 15:40:17 +0200120 <basePackage>org.oransc.capif</basePackage>
121 <apiPackage>org.oransc.capif.invokermanagement.client.api</apiPackage>
122 <modelPackage>org.oransc.capif.model</modelPackage>
elinuxhenrikba5911d2022-06-13 13:55:28 +0200123 <dateLibrary>java8</dateLibrary>
124 </configOptions>
125 </configuration>
126 </execution>
127 <execution>
128 <goals>
129 <goal>generate</goal>
130 </goals>
131 <id>generatingPublishApi</id>
132 <configuration>
133 <inputSpec>
134 ${project.basedir}/specs/TS29222_CAPIF_Publish_Service_API.yaml
135 </inputSpec>
136 <language>java</language>
137 <generatorName>java</generatorName>
138 <library>native</library>
139 <generateApiTests>false</generateApiTests>
140 <generateModelTests>false</generateModelTests>
141 <configOptions>
elinuxhenrik806724a2022-06-27 15:40:17 +0200142 <basePackage>org.oransc.capif</basePackage>
143 <apiPackage>org.oransc.capif.publishservice.client.api</apiPackage>
144 <modelPackage>org.oransc.capif.model</modelPackage>
elinuxhenrikba5911d2022-06-13 13:55:28 +0200145 <dateLibrary>java8</dateLibrary>
146 </configOptions>
147 </configuration>
148 </execution>
149 <execution>
150 <goals>
151 <goal>generate</goal>
152 </goals>
153 <id>generatingDiscoverApi</id>
154 <configuration>
155 <inputSpec>
156 ${project.basedir}/specs/TS29222_CAPIF_Discover_Service_API.yaml
157 </inputSpec>
158 <language>java</language>
159 <generatorName>java</generatorName>
160 <library>native</library>
161 <generateApiTests>false</generateApiTests>
162 <generateModelTests>false</generateModelTests>
163 <configOptions>
elinuxhenrik806724a2022-06-27 15:40:17 +0200164 <basePackage>org.oransc.capif</basePackage>
165 <apiPackage>org.oransc.capif.discoverservice.client.api</apiPackage>
166 <modelPackage>org.oransc.capif.model</modelPackage>
elinuxhenrikba5911d2022-06-13 13:55:28 +0200167 <dateLibrary>java8</dateLibrary>
168 </configOptions>
169 </configuration>
170 </execution>
171 <execution>
172 <goals>
173 <goal>generate</goal>
174 </goals>
175 <id>generatingSecurityApi</id>
176 <configuration>
177 <inputSpec>
178 ${project.basedir}/specs/TS29222_CAPIF_Security_API.yaml
179 </inputSpec>
180 <language>java</language>
181 <generatorName>java</generatorName>
182 <library>native</library>
183 <generateApiTests>false</generateApiTests>
184 <generateModelTests>false</generateModelTests>
185 <configOptions>
elinuxhenrik806724a2022-06-27 15:40:17 +0200186 <basePackage>org.oransc.capif</basePackage>
187 <apiPackage>org.oransc.capif.security.client.api</apiPackage>
188 <modelPackage>org.oransc.capif.model</modelPackage>
elinuxhenrikba5911d2022-06-13 13:55:28 +0200189 <dateLibrary>java8</dateLibrary>
190 </configOptions>
191 </configuration>
192 </execution>
193 <execution>
194 <goals>
195 <goal>generate</goal>
196 </goals>
197 <id>generatingLoggingApi</id>
198 <configuration>
199 <inputSpec>
200 ${project.basedir}/specs/TS29222_CAPIF_Logging_API_Invocation_API.yaml
201 </inputSpec>
202 <language>java</language>
203 <generatorName>java</generatorName>
204 <library>native</library>
205 <generateApiTests>false</generateApiTests>
206 <generateModelTests>false</generateModelTests>
207 <configOptions>
elinuxhenrik806724a2022-06-27 15:40:17 +0200208 <basePackage>org.oransc.capif</basePackage>
209 <apiPackage>org.oransc.capif.loggingapiinvocation.client.api</apiPackage>
210 <modelPackage>org.oransc.capif.model</modelPackage>
elinuxhenrikba5911d2022-06-13 13:55:28 +0200211 <dateLibrary>java8</dateLibrary>
212 </configOptions>
213 </configuration>
214 </execution>
215 <execution>
216 <goals>
217 <goal>generate</goal>
218 </goals>
219 <id>generatingRoutingApi</id>
220 <configuration>
221 <inputSpec>
222 ${project.basedir}/specs/TS29222_CAPIF_Routing_Info_API.yaml
223 </inputSpec>
224 <language>java</language>
225 <generatorName>java</generatorName>
226 <library>native</library>
227 <generateApiTests>false</generateApiTests>
228 <generateModelTests>false</generateModelTests>
229 <configOptions>
elinuxhenrik806724a2022-06-27 15:40:17 +0200230 <basePackage>org.oransc.capif</basePackage>
231 <apiPackage>org.oransc.capif.routinginfo.client.api</apiPackage>
232 <modelPackage>org.oransc.capif.model</modelPackage>
elinuxhenrikba5911d2022-06-13 13:55:28 +0200233 <dateLibrary>java8</dateLibrary>
234 </configOptions>
235 </configuration>
236 </execution>
237 <execution>
238 <goals>
239 <goal>generate</goal>
240 </goals>
241 <id>generatingAccess_ControlApi</id>
242 <configuration>
243 <inputSpec>
244 ${project.basedir}/specs/TS29222_CAPIF_Access_Control_Policy_API.yaml
245 </inputSpec>
246 <language>java</language>
247 <generatorName>java</generatorName>
248 <library>native</library>
249 <generateApiTests>false</generateApiTests>
250 <generateModelTests>false</generateModelTests>
251 <configOptions>
elinuxhenrik806724a2022-06-27 15:40:17 +0200252 <basePackage>org.oransc.capif</basePackage>
253 <apiPackage>org.oransc.capif.accesscontrolpolicy.client.api</apiPackage>
254 <modelPackage>org.oransc.capif.model</modelPackage>
elinuxhenrikba5911d2022-06-13 13:55:28 +0200255 <dateLibrary>java8</dateLibrary>
256 </configOptions>
257 </configuration>
258 </execution>
259 <execution>
260 <goals>
261 <goal>generate</goal>
262 </goals>
263 <id>generatingEventsApi</id>
264 <configuration>
265 <inputSpec>
266 ${project.basedir}/specs/TS29222_CAPIF_Events_API.yaml
267 </inputSpec>
268 <language>java</language>
269 <generatorName>java</generatorName>
270 <library>native</library>
271 <generateApiTests>false</generateApiTests>
272 <generateModelTests>false</generateModelTests>
273 <configOptions>
elinuxhenrik806724a2022-06-27 15:40:17 +0200274 <basePackage>org.oransc.capif</basePackage>
275 <apiPackage>org.oransc.capif.events.client.api</apiPackage>
276 <modelPackage>org.oransc.capif.model</modelPackage>
elinuxhenrikba5911d2022-06-13 13:55:28 +0200277 <dateLibrary>java8</dateLibrary>
278 </configOptions>
279 </configuration>
280 </execution>
281 <execution>
282 <goals>
283 <goal>generate</goal>
284 </goals>
285 <id>generatingAuditingApi</id>
286 <configuration>
287 <inputSpec>
288 ${project.basedir}/specs/TS29222_CAPIF_Auditing_API.yaml
289 </inputSpec>
290 <language>java</language>
291 <generatorName>java</generatorName>
292 <library>native</library>
293 <generateApiTests>false</generateApiTests>
294 <generateModelTests>false</generateModelTests>
295 <configOptions>
elinuxhenrik806724a2022-06-27 15:40:17 +0200296 <basePackage>org.oransc.capif</basePackage>
297 <apiPackage>org.oransc.capif.auditing.client.api</apiPackage>
298 <modelPackage>org.oransc.capif.model</modelPackage>
elinuxhenrikba5911d2022-06-13 13:55:28 +0200299 <dateLibrary>java8</dateLibrary>
300 </configOptions>
301 </configuration>
302 </execution>
303 <execution>
304 <goals>
305 <goal>generate</goal>
306 </goals>
307 <id>generatingAEF_SecurityApi</id>
308 <configuration>
309 <inputSpec>
310 ${project.basedir}/specs/TS29222_AEF_Security_API.yaml
311 </inputSpec>
312 <language>java</language>
313 <generatorName>java</generatorName>
314 <library>native</library>
315 <generateApiTests>false</generateApiTests>
316 <generateModelTests>false</generateModelTests>
317 <configOptions>
elinuxhenrik806724a2022-06-27 15:40:17 +0200318 <basePackage>org.oransc.capif</basePackage>
319 <apiPackage>org.oransc.capif.aefsecurity.client.api</apiPackage>
320 <modelPackage>org.oransc.capif.model</modelPackage>
elinuxhenrikba5911d2022-06-13 13:55:28 +0200321 <dateLibrary>java8</dateLibrary>
322 </configOptions>
323 </configuration>
324 </execution>
325 </executions>
326 </plugin>
327 </plugins>
328 </build>
329</project>