From 910fa69e65b3d151ef2bdbbf90fdcc31cfa01008 Mon Sep 17 00:00:00 2001 From: Brinda Santh Date: Tue, 22 Oct 2019 16:14:00 -0400 Subject: Add grpc TLS property lib services. Issue-ID: CCSDK-1853 Signed-off-by: Brinda Santh Change-Id: I92c8b39a6db0bf7c1fe7e9928e4eddaef8a30f07 --- .../modules/commons/grpc-lib/pom.xml | 5 + .../grpc/BluePrintGrpcLibConfiguration.kt | 20 ++++ .../grpc/BluePrintGrpcLibData.kt | 26 +++++ .../grpc/service/BluePrintGrpcClientService.kt | 23 ----- .../service/BluePrintGrpcLibPropertyService.kt | 70 ++++++++++++-- .../grpc/service/BluePrintGrpcService.kt | 29 ++++++ .../grpc/service/TLSAuthGrpcClientService.kt | 54 +++++++++++ .../grpc/service/TLSAuthGrpcServerService.kt | 49 ++++++++++ .../service/BluePrintGrpcLibPropertyServiceTest.kt | 70 +++++++++++++- .../grpc/service/BluePrintGrpcServerTest.kt | 105 +++++++++++++++++++++ .../service/MockTLSBluePrintProcessingServer.kt | 90 ++++++++++++++++++ .../grpc-lib/src/test/resources/tls-manual/README | 5 + .../test/resources/tls-manual/my-private-key.pem | 52 ++++++++++ .../resources/tls-manual/my-public-key-cert.pem | 27 ++++++ ms/blueprintsprocessor/parent/pom.xml | 10 ++ 15 files changed, 600 insertions(+), 35 deletions(-) delete mode 100644 ms/blueprintsprocessor/modules/commons/grpc-lib/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/grpc/service/BluePrintGrpcClientService.kt create mode 100644 ms/blueprintsprocessor/modules/commons/grpc-lib/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/grpc/service/BluePrintGrpcService.kt create mode 100644 ms/blueprintsprocessor/modules/commons/grpc-lib/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/grpc/service/TLSAuthGrpcClientService.kt create mode 100644 ms/blueprintsprocessor/modules/commons/grpc-lib/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/grpc/service/TLSAuthGrpcServerService.kt create mode 100644 ms/blueprintsprocessor/modules/commons/grpc-lib/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/grpc/service/BluePrintGrpcServerTest.kt create mode 100644 ms/blueprintsprocessor/modules/commons/grpc-lib/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/grpc/service/MockTLSBluePrintProcessingServer.kt create mode 100644 ms/blueprintsprocessor/modules/commons/grpc-lib/src/test/resources/tls-manual/README create mode 100644 ms/blueprintsprocessor/modules/commons/grpc-lib/src/test/resources/tls-manual/my-private-key.pem create mode 100644 ms/blueprintsprocessor/modules/commons/grpc-lib/src/test/resources/tls-manual/my-public-key-cert.pem (limited to 'ms') diff --git a/ms/blueprintsprocessor/modules/commons/grpc-lib/pom.xml b/ms/blueprintsprocessor/modules/commons/grpc-lib/pom.xml index 5945e29fd..15cabb260 100644 --- a/ms/blueprintsprocessor/modules/commons/grpc-lib/pom.xml +++ b/ms/blueprintsprocessor/modules/commons/grpc-lib/pom.xml @@ -1,6 +1,7 @@ @@ -665,6 +671,10 @@ com.google.protobuf protobuf-java-util + + io.netty + netty-tcnative-boringssl-static + -- cgit 1.2.3-korg