diff options
author | Alexis de Talhouët <adetalhouet89@gmail.com> | 2019-01-18 13:50:18 -0500 |
---|---|---|
committer | Alexis de Talhouët <adetalhouet89@gmail.com> | 2019-01-29 03:47:08 +0000 |
commit | 9d88d3f3f4791ea83f996032b64faed2a30735eb (patch) | |
tree | 7dad4ba3a7c770cc90e48868c7a8f9156e56b0ff /grpc-resource/provider/src/main/java | |
parent | 0a6fde9973487398b9cdb3fdfa3f79fac2bd9048 (diff) |
Add gRPC client scafholding
Change-Id: I3775d0bfe2806f099952fe620b8b7705bf30fb7a
Issue-ID: CCSDK-947
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'grpc-resource/provider/src/main/java')
-rw-r--r-- | grpc-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/grpc/GrpcClient.java | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/grpc-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/grpc/GrpcClient.java b/grpc-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/grpc/GrpcClient.java new file mode 100644 index 000000000..c70bcec46 --- /dev/null +++ b/grpc-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/grpc/GrpcClient.java @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2019 Bell Canada. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.onap.ccsdk.sli.adaptors.grpc; + +public class GrpcClient { + +// ManagedChannel channel = ManagedChannelBuilder +// .forAddress("localhost", 8080) +// .executor(Executors.newSingleThreadExecutor()) +// .intercept() +// .userAgent("CCSDK gRPC Client") +// .usePlaintext() +// //.useTransportSecurity() +// .build(); + +} |