summaryrefslogtreecommitdiffstats
path: root/participant/participant-impl/participant-impl-simulator/pom.xml
diff options
context:
space:
mode:
authorFrancescoFioraEst <francesco.fiora@est.tech>2023-06-13 09:19:08 +0100
committerFrancescoFioraEst <francesco.fiora@est.tech>2023-06-13 10:43:14 +0100
commit73a48d9c7e599baf145820d0bc0968040142dac8 (patch)
tree6c43242a65decb54306ecd29bbe6a6591721f280 /participant/participant-impl/participant-impl-simulator/pom.xml
parent33f508d48de474c752c2c06d396b7b946f998447 (diff)
Add Java Implementation for mock participant in ACM
Add Java Code Implementation for mock participant to test different ACM scenarios. Issue-ID: POLICY-4722 Change-Id: I8475c05c2469e190ca81d4caff0babc22c5d6db9 Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'participant/participant-impl/participant-impl-simulator/pom.xml')
-rw-r--r--participant/participant-impl/participant-impl-simulator/pom.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/participant/participant-impl/participant-impl-simulator/pom.xml b/participant/participant-impl/participant-impl-simulator/pom.xml
index da5b7632e..2fd8c3703 100644
--- a/participant/participant-impl/participant-impl-simulator/pom.xml
+++ b/participant/participant-impl/participant-impl-simulator/pom.xml
@@ -34,6 +34,38 @@
<build>
<plugins>
<plugin>
+ <groupId>io.swagger.codegen.v3</groupId>
+ <artifactId>swagger-codegen-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>code-gen</id>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ <configuration>
+ <inputSpec>${project.basedir}/src/main/resources/openapi/openapi.yaml</inputSpec>
+ <invokerPackage>org.onap.policy.clamp.acm.participant.sim.controller</invokerPackage>
+ <apiPackage>org.onap.policy.clamp.acm.participant.sim.controller.genapi</apiPackage>
+ <language>spring</language>
+ <generateModels>false</generateModels>
+ <generateSupportingFiles>false</generateSupportingFiles>
+ <importMappings>
+ AutomationCompositions=org.onap.policy.clamp.models.acm.concepts.AutomationCompositions,
+ InternalDatas=org.onap.policy.clamp.acm.participant.sim.model.InternalDatas,
+ InternalData=org.onap.policy.clamp.acm.participant.sim.model.InternalData,
+ SimConfig=org.onap.policy.clamp.acm.participant.sim.model.SimConfig
+ </importMappings>
+ <configOptions>
+ <sourceFolder>src/gen/java</sourceFolder>
+ <dateLibrary>java11</dateLibrary>
+ <interfaceOnly>true</interfaceOnly>
+ <useTags>true</useTags>
+ </configOptions>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>