From eadb5f551ee335b16607862c1609a7c76b175e0b Mon Sep 17 00:00:00 2001 From: "Timoney, Dan (dt5972)" Date: Fri, 27 Jul 2018 10:07:10 -0400 Subject: [PATCH] Add client code to generic-resource-api Add code to generate generic-resource-api client which was contributed to sdnc/apps repo to sdnc/northbound/generic-resource-api, so that it will automatically be updated when yang model is updated. Change-Id: I4d36073e9771e72a2ebc38cb45f2151a88699ae6 Issue-ID: SDNC-406 Signed-off-by: Timoney, Dan (dt5972) --- generic-resource-api/client/pom.xml | 110 ++++++++++++++++++++++++++++++++++++ generic-resource-api/pom.xml | 7 ++- 2 files changed, 115 insertions(+), 2 deletions(-) create mode 100644 generic-resource-api/client/pom.xml diff --git a/generic-resource-api/client/pom.xml b/generic-resource-api/client/pom.xml new file mode 100644 index 00000000..b0b6a471 --- /dev/null +++ b/generic-resource-api/client/pom.xml @@ -0,0 +1,110 @@ + + + + + 4.0.0 + jar + org.onap.sdnc.northbound + generic-resource-api-client + 1.4.0-SNAPSHOT + + sdnc-northbound :: generic-resource-api:: ${project.artifactId} + http://wiki.onap.org + POM to be used for yang2swagger generation of client in SDNC project + + + org.onap.ccsdk.parent + client-parent + 1.1.0-SNAPSHOT + + + + + + ${project.groupId} + generic-resource-api-model + ${project.version} + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + org.apache.maven.plugins + maven-dependency-plugin + + org.opendaylight.mdsal.model, org.onap.sdnc.northbound + + + + maven-antrun-plugin + + + org.opendaylight.yangtools + yang-maven-plugin + + + io.swagger + swagger-codegen-maven-plugin + + + + generate + + + + true + true + ${project.build.directory}/generated-sources/swagger + false + false + true + false + true + org.onap.sdnc.northbound.client.handler + org.onap.sdnc.northbound.client.model + org.onap.sdnc.northbound.client.invoker + src/main/java + true + true + + + + + + + org.apache.maven.plugins + maven-source-plugin + + + org.codehaus.mojo + build-helper-maven-plugin + 1.10 + + + attach-artifacts + package + + attach-artifact + + + + + target/generated-sources/swagger-maven-api-gen/client.yaml + yaml + + + + + + + + + diff --git a/generic-resource-api/pom.xml b/generic-resource-api/pom.xml index d2a18f2b..9842dd3c 100644 --- a/generic-resource-api/pom.xml +++ b/generic-resource-api/pom.xml @@ -1,5 +1,7 @@ - + 4.0.0 @@ -18,8 +20,9 @@ model - provider + provider features + client installer -- 2.16.6