Skip to content

Commit 9bee2d1

Browse files
committed
Regenerate domain API
1 parent 96e9656 commit 9bee2d1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+2023
-82036
lines changed

pom.xml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,37 @@
180180

181181
<profiles>
182182

183+
<profile>
184+
<id>generate-model</id>
185+
<build>
186+
<plugins>
187+
<plugin>
188+
<groupId>org.jsonschema2pojo</groupId>
189+
<artifactId>jsonschema2pojo-maven-plugin</artifactId>
190+
<version>0.5.1</version>
191+
<configuration>
192+
<sourceDirectory>${basedir}/src/main/resources/schema</sourceDirectory>
193+
<targetPackage>oracle.kubernetes.operator.domain.model.v1</targetPackage>
194+
<targetVersion>1.8</targetVersion>
195+
<annotationStyle>gson</annotationStyle>
196+
<includeJsr303Annotations>true</includeJsr303Annotations>
197+
<generateBuilders>true</generateBuilders>
198+
<useJodaDates>true</useJodaDates>
199+
<useCommonsLang3>true</useCommonsLang3>
200+
<removeOldOutput>true</removeOldOutput>
201+
</configuration>
202+
<executions>
203+
<execution>
204+
<goals>
205+
<goal>generate</goal>
206+
</goals>
207+
</execution>
208+
</executions>
209+
</plugin>
210+
</plugins>
211+
</build>
212+
</profile>
213+
183214
<profile>
184215
<id>sign-artifacts</id>
185216
<build>
@@ -407,6 +438,11 @@
407438
<artifactId>joda-time</artifactId>
408439
<version>${jodatime-version}</version>
409440
</dependency>
441+
<dependency>
442+
<groupId>org.apache.commons</groupId>
443+
<artifactId>commons-lang3</artifactId>
444+
<version>3.7</version>
445+
</dependency>
410446

411447
<!-- Grizzly & jersey server side code -->
412448
<dependency>

src-generated-swagger/main/java/oracle/kubernetes/operator/domain/api/v1/WeblogicApi.java

Lines changed: 0 additions & 4602 deletions
This file was deleted.

src-generated-swagger/main/java/oracle/kubernetes/operator/domain/api/v1/package-info.java

Lines changed: 0 additions & 7 deletions
This file was deleted.

src-generated-swagger/main/java/oracle/kubernetes/operator/domain/model/oracle/kubernetes/weblogic/domain/v1/ClusterStartup.java

Lines changed: 0 additions & 174 deletions
This file was deleted.

0 commit comments

Comments
 (0)