[
https://issues.apache.org/jira/browse/AMBARI-24969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16705715#comment-16705715
]
ASF GitHub Bot commented on AMBARI-24969:
-----------------------------------------
kasakrisz commented on a change in pull request #20: AMBARI-24969 - Infra
Manager: REST api cleanup
URL: https://github.com/apache/ambari-infra/pull/20#discussion_r238056450
##########
File path: ambari-infra-manager-it/pom.xml
##########
@@ -182,6 +211,53 @@
<directory>src/test/resources</directory>
</testResource>
</testResources>
+ <plugins>
+ <plugin>
+ <groupId>io.swagger</groupId>
+ <artifactId>swagger-codegen-maven-plugin</artifactId>
+ <version>2.3.1</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ <configuration>
+
<inputSpec>${project.parent.basedir}/ambari-infra-manager/src/main/resources/swagger/swagger.yaml</inputSpec>
+ <language>java</language>
+ <generateApiTests>false</generateApiTests>
+ <generateModelTests>false</generateModelTests>
+ <output>${generated-sources-path}</output>
+ <configOptions>
+ <sourceFolder>${generated-sources-java-path}</sourceFolder>
+ <apiPackage>org.apache.ambari.infra.client.api</apiPackage>
+
<modelPackage>org.apache.ambari.infra.client.model</modelPackage>
+
<invokerPackage>org.apache.ambari.infra.client.invoker</invokerPackage>
+ <dateLibrary>java8</dateLibrary>
Review comment:
I think this affects only that the generated source is going to use java
`java.time`.
I am going to prepare and test Infra manager for java11 in another PR.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Infra Manager: REST api cleanup
> -------------------------------
>
> Key: AMBARI-24969
> URL: https://issues.apache.org/jira/browse/AMBARI-24969
> Project: Ambari
> Issue Type: Bug
> Components: ambari-infra
> Affects Versions: 2.8.0
> Reporter: Krisztian Kasa
> Assignee: Krisztian Kasa
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.8.0
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)