From 7003208140fb18782052cb23dfc5e8373b40a12f Mon Sep 17 00:00:00 2001 From: Brinda Santh Date: Wed, 11 Sep 2019 22:07:33 -0400 Subject: Fix proto cyclic dependency. Change-Id: I84e0ba25b78e8212eff6b4c91fca2d4457dbf7eb Issue-ID: CCSDK-1682 Signed-off-by: Brinda Santh --- .../blueprint-proto/krotoPlusConfig.asciipb | 6 ++ .../modules/blueprint-proto/pom.xml | 113 +++++++++++++++++++++ ms/controllerblueprints/modules/pom.xml | 1 + 3 files changed, 120 insertions(+) create mode 100644 ms/controllerblueprints/modules/blueprint-proto/krotoPlusConfig.asciipb create mode 100644 ms/controllerblueprints/modules/blueprint-proto/pom.xml (limited to 'ms/controllerblueprints/modules') diff --git a/ms/controllerblueprints/modules/blueprint-proto/krotoPlusConfig.asciipb b/ms/controllerblueprints/modules/blueprint-proto/krotoPlusConfig.asciipb new file mode 100644 index 000000000..30255b96d --- /dev/null +++ b/ms/controllerblueprints/modules/blueprint-proto/krotoPlusConfig.asciipb @@ -0,0 +1,6 @@ +grpc_coroutines { + filter { exclude_path: "google/*" } +} +grpc_stub_exts { + support_coroutines: true +} \ No newline at end of file diff --git a/ms/controllerblueprints/modules/blueprint-proto/pom.xml b/ms/controllerblueprints/modules/blueprint-proto/pom.xml new file mode 100644 index 000000000..7d4d60028 --- /dev/null +++ b/ms/controllerblueprints/modules/blueprint-proto/pom.xml @@ -0,0 +1,113 @@ + + + + + + org.onap.ccsdk.cds.controllerblueprints + modules + 0.7.0-SNAPSHOT + + 4.0.0 + + blueprint-proto + Controller Blueprints Proto + Controller Blueprints Proto + + + + com.github.marcoferrer.krotoplus + kroto-plus-coroutines + + + + + + + kr.motd.maven + os-maven-plugin + 1.6.2 + + + + + org.xolstice.maven.plugins + protobuf-maven-plugin + 0.6.1 + + + com.google.protobuf:protoc:3.6.1:exe:${os.detected.classifier} + + ${project.basedir}/../../../../components/model-catalog/proto-definition/proto + + + + + + compile + + + + grpc-java + + compile-custom + + + grpc-java + io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier} + + + + + + + + + + + + + + + + + + + + kotlin-maven-plugin + org.jetbrains.kotlin + ${kotlin.maven.version} + + + compile + + compile + + + + ${project.basedir}/target/generated-sources/protobuf/java + ${project.basedir}/target/generated-sources/protobuf/grpc-java + + + + + + + + + diff --git a/ms/controllerblueprints/modules/pom.xml b/ms/controllerblueprints/modules/pom.xml index 73b231316..6cb4ea80a 100644 --- a/ms/controllerblueprints/modules/pom.xml +++ b/ms/controllerblueprints/modules/pom.xml @@ -31,6 +31,7 @@ blueprint-core resource-dict blueprint-validation + blueprint-proto -- cgit 1.2.3-korg