From 4ddd6ac987341285d5f10636018e84afb9751b27 Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Thu, 4 Jun 2020 15:10:06 -0400 Subject: Refactor sliapi springboot Move springboot implementation of sliapi from sli/core to apps repository. Change-Id: I6e1dfdc39704935ba7e46d047149071defc101a6 Issue-ID: CCSDK-2096 Signed-off-by: Dan Timoney --- sliapi/model/swagger/pom.xml | 222 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 222 insertions(+) create mode 100644 sliapi/model/swagger/pom.xml (limited to 'sliapi/model/swagger/pom.xml') diff --git a/sliapi/model/swagger/pom.xml b/sliapi/model/swagger/pom.xml new file mode 100644 index 000000000..544f4f9e5 --- /dev/null +++ b/sliapi/model/swagger/pom.xml @@ -0,0 +1,222 @@ + + + 4.0.0 + + + org.onap.ccsdk.parent + oparent + 2.0.0-SNAPSHOT + + + org.onap.ccsdk.sli.core + sliapi-model-swagger + 1.0.0-SNAPSHOT + jar + + ccsdk-sli-core :: sliapi :: ${project.artifactId} + Generates swagger model from yang model + http://wiki.onap.org + + + sliapi + 2.9.5 + + + + + + ${project.groupId} + sliapi-model-yang + ${project.version} + + + + + + + >bintray-yang2swagger-yang2swagge + bintray + https://dl.bintray.com/yang2swagger/yang2swagger + + false + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + 2.10 + + ${project.build.directory}/dependency + **\/*.yang + org.opendaylight.mdsal.model,org.opendaylight.mdsal.binding.model.ietf,org.onap.ccsdk.sli.core + + + + unpack-shared-resources + + unpack-dependencies + + initialize + + + + + maven-antrun-plugin + 1.8 + + + initialize + + run + + + + + + + + + + + + + + + + + + + + org.opendaylight.yangtools + yang-maven-plugin + 1.2.3 + + + com.fasterxml.jackson.core + jackson-core + ${jackson.version} + + + com.fasterxml.jackson.core + jackson-databind + ${jackson.version} + + + com.fasterxml.jackson.core + jackson-annotations + ${jackson.version} + + + com.fasterxml.jackson.module + jackson-module-jaxb-annotations + ${jackson.version} + + + com.fasterxml.jackson.jaxrs + jackson-jaxrs-base + ${jackson.version} + + + com.fasterxml.jackson.jaxrs + jackson-jaxrs-json-provider + ${jackson.version} + + + com.mrv.yangtools + swagger-maven-plugin + 1.1.12 + + + com.github.romix + java-concurrent-hash-trie-map + 0.2.23 + + + + + yang2swagger-json + + generate-sources + + + + + com.mrv.yangtools.maven.gen.swagger.MavenSwaggerGenerator + ${project.basedir}/src/main/json + ${project.build.directory}/yang + + ${project.version} + ${api.name} + json + odl + true + + + + false + ${project.build.directory}/yang + + + + yang2swagger-yaml + + generate-sources + + + + + com.mrv.yangtools.maven.gen.swagger.MavenSwaggerGenerator + ${project.basedir}/src/main/yaml + ${project.build.directory}/yang + + ${project.version} + ${api.name} + yaml + odl + true + + + + false + ${project.build.directory}/yang + + + + + + org.apache.maven.plugins + maven-source-plugin + + + org.codehaus.mojo + build-helper-maven-plugin + 1.10 + + + attach-artifacts + package + + attach-artifact + + + + + src/main/json/${api.name}.json + json + + + src/main/yaml/${api.name}.yaml + yaml + + + + + + + + + -- cgit 1.2.3-korg