From 95553263e5ea110912e83c93e2b22b4796fe57c6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20de=20Talhou=C3=ABt?= Date: Fri, 18 Jan 2019 14:29:38 -0500 Subject: [PATCH] Create module for .proto definition MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit That way 3rd party system can depend on it to create a client Change-Id: I96e8588251eb0911a7dd7bee270954e966d9fc40 Issue-ID: CCSDK-947 Signed-off-by: Alexis de Talhouët --- components/model-catalog/proto-definition/pom.xml | 81 ++++++++++++++++++++++ .../proto/BluePrintManagement.proto | 0 .../proto/BluePrintProcessing.proto | 0 components/pom.xml | 4 +- 4 files changed, 84 insertions(+), 1 deletion(-) create mode 100644 components/model-catalog/proto-definition/pom.xml rename components/model-catalog/{api-definition => proto-definition}/proto/BluePrintManagement.proto (100%) rename components/model-catalog/{api-definition => proto-definition}/proto/BluePrintProcessing.proto (100%) diff --git a/components/model-catalog/proto-definition/pom.xml b/components/model-catalog/proto-definition/pom.xml new file mode 100644 index 000000000..c1f77922c --- /dev/null +++ b/components/model-catalog/proto-definition/pom.xml @@ -0,0 +1,81 @@ + + + + 4.0.0 + + org.onap.ccsdk.apps.controllerblueprints + modules + 0.4.1-SNAPSHOT + + + proto-definition + jar + + Controller Blueprints Proto Definition + Controller Blueprints Proto Definition + + + + io.grpc + grpc-protobuf + + + io.grpc + grpc-stub + + + com.google.protobuf + protobuf-java-util + + + + + + + kr.motd.maven + os-maven-plugin + 1.6.1 + + + + + org.xolstice.maven.plugins + protobuf-maven-plugin + 0.6.1 + + + com.google.protobuf:protoc:3.5.1-1:exe:${os.detected.classifier} + + grpc-java + + io.grpc:protoc-gen-grpc-java:1.16.1:exe:${os.detected.classifier} + + proto + + + + + compile + compile-custom + + + + + + + \ No newline at end of file diff --git a/components/model-catalog/api-definition/proto/BluePrintManagement.proto b/components/model-catalog/proto-definition/proto/BluePrintManagement.proto similarity index 100% rename from components/model-catalog/api-definition/proto/BluePrintManagement.proto rename to components/model-catalog/proto-definition/proto/BluePrintManagement.proto diff --git a/components/model-catalog/api-definition/proto/BluePrintProcessing.proto b/components/model-catalog/proto-definition/proto/BluePrintProcessing.proto similarity index 100% rename from components/model-catalog/api-definition/proto/BluePrintProcessing.proto rename to components/model-catalog/proto-definition/proto/BluePrintProcessing.proto diff --git a/components/pom.xml b/components/pom.xml index 5b8768cea..95ffd5c02 100644 --- a/components/pom.xml +++ b/components/pom.xml @@ -14,7 +14,8 @@ ~ See the License for the specific language governing permissions and ~ limitations under the License. --> - + org.onap.ccsdk.apps ccsdk-apps @@ -37,5 +38,6 @@ parent core resource-dict + model-catalog/proto-definition -- 2.16.6