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 --- .../modules/commons/grpc-lib/pom.xml | 8 +- .../modules/inbounds/selfservice-api/pom.xml | 5 +- .../modules/services/execution-service/pom.xml | 4 - ms/blueprintsprocessor/parent/pom.xml | 11 +- .../blueprint-proto/krotoPlusConfig.asciipb | 6 ++ .../modules/blueprint-proto/pom.xml | 113 +++++++++++++++++++++ ms/controllerblueprints/modules/pom.xml | 1 + ms/controllerblueprints/parent/pom.xml | 6 ++ ms/sdclistener/application/pom.xml | 4 +- ms/sdclistener/parent/pom.xml | 15 ++- 10 files changed, 151 insertions(+), 22 deletions(-) create mode 100644 ms/controllerblueprints/modules/blueprint-proto/krotoPlusConfig.asciipb create mode 100644 ms/controllerblueprints/modules/blueprint-proto/pom.xml (limited to 'ms') diff --git a/ms/blueprintsprocessor/modules/commons/grpc-lib/pom.xml b/ms/blueprintsprocessor/modules/commons/grpc-lib/pom.xml index e5214e139..5cc29a65e 100644 --- a/ms/blueprintsprocessor/modules/commons/grpc-lib/pom.xml +++ b/ms/blueprintsprocessor/modules/commons/grpc-lib/pom.xml @@ -28,6 +28,10 @@ Blueprints Processor GRPC Lib + + org.onap.ccsdk.cds.controllerblueprints + blueprint-proto + org.onap.ccsdk.cds.controllerblueprints blueprint-core @@ -36,10 +40,6 @@ org.onap.ccsdk.cds.blueprintsprocessor processor-core - - org.onap.ccsdk.cds.components - proto-definition - diff --git a/ms/blueprintsprocessor/modules/inbounds/selfservice-api/pom.xml b/ms/blueprintsprocessor/modules/inbounds/selfservice-api/pom.xml index 7c53e1c04..b5cac581a 100755 --- a/ms/blueprintsprocessor/modules/inbounds/selfservice-api/pom.xml +++ b/ms/blueprintsprocessor/modules/inbounds/selfservice-api/pom.xml @@ -33,10 +33,9 @@ - org.onap.ccsdk.cds.components - proto-definition + org.onap.ccsdk.cds.controllerblueprints + blueprint-proto - org.onap.ccsdk.cds.controllerblueprints blueprint-core diff --git a/ms/blueprintsprocessor/modules/services/execution-service/pom.xml b/ms/blueprintsprocessor/modules/services/execution-service/pom.xml index 4acc22433..784906b4e 100644 --- a/ms/blueprintsprocessor/modules/services/execution-service/pom.xml +++ b/ms/blueprintsprocessor/modules/services/execution-service/pom.xml @@ -57,10 +57,6 @@ org.onap.ccsdk.cds.controllerblueprints resource-dict - - org.onap.ccsdk.cds.components - proto-definition - org.onap.ccsdk.sli.core diff --git a/ms/blueprintsprocessor/parent/pom.xml b/ms/blueprintsprocessor/parent/pom.xml index 5a54a7717..ded4ea1ad 100755 --- a/ms/blueprintsprocessor/parent/pom.xml +++ b/ms/blueprintsprocessor/parent/pom.xml @@ -248,11 +248,7 @@ protobuf-java-util ${protobuff.java.utils.version} - - org.onap.ccsdk.cds.components - proto-definition - ${project.version} - + @@ -458,6 +454,11 @@ blueprint-core ${project.version} + + org.onap.ccsdk.cds.controllerblueprints + blueprint-proto + ${project.version} + org.onap.ccsdk.cds.controllerblueprints blueprint-validation 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 diff --git a/ms/controllerblueprints/parent/pom.xml b/ms/controllerblueprints/parent/pom.xml index 925b1678a..86a721149 100644 --- a/ms/controllerblueprints/parent/pom.xml +++ b/ms/controllerblueprints/parent/pom.xml @@ -30,6 +30,7 @@ 1.0.0 27.0.1-jre + 0.5.0 2.9.2 1.4.197 1.2.2 @@ -200,6 +201,11 @@ protobuf-java-util ${protobuff.java.utils.version} + + com.github.marcoferrer.krotoplus + kroto-plus-coroutines + ${kroto-plus.version} + diff --git a/ms/sdclistener/application/pom.xml b/ms/sdclistener/application/pom.xml index da24e97bc..7b12e14ea 100644 --- a/ms/sdclistener/application/pom.xml +++ b/ms/sdclistener/application/pom.xml @@ -90,8 +90,8 @@ test - org.onap.ccsdk.cds.components - proto-definition + org.onap.ccsdk.cds.controllerblueprints + blueprint-proto diff --git a/ms/sdclistener/parent/pom.xml b/ms/sdclistener/parent/pom.xml index cfdfc9b24..05bfdeff4 100755 --- a/ms/sdclistener/parent/pom.xml +++ b/ms/sdclistener/parent/pom.xml @@ -16,7 +16,8 @@ ~ See the License for the specific language governing permissions and ~ limitations under the License. --> - + 4.0.0 org.onap.ccsdk.cds @@ -110,9 +111,15 @@ ${protobuff.java.utils.version} - org.onap.ccsdk.cds.components - proto-definition - ${project.version} + org.onap.ccsdk.cds.controllerblueprints + blueprint-proto + ${project.version} + + + * + * + + io.projectreactor -- cgit 1.2.3-korg