diff options
Diffstat (limited to 'cds-ui/server/src/clients/blueprint-management-service-grpc-client.ts')
-rw-r--r-- | cds-ui/server/src/clients/blueprint-management-service-grpc-client.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cds-ui/server/src/clients/blueprint-management-service-grpc-client.ts b/cds-ui/server/src/clients/blueprint-management-service-grpc-client.ts index b54a1d10c..8975f4501 100644 --- a/cds-ui/server/src/clients/blueprint-management-service-grpc-client.ts +++ b/cds-ui/server/src/clients/blueprint-management-service-grpc-client.ts @@ -35,14 +35,14 @@ const packageDefinition: protoLoader.PackageDefinition = protoLoader.loadSync( const protoDescriptor = grpc.loadPackageDefinition(packageDefinition); // The protoDescriptor object has the full package hierarchy -const stub = new protoDescriptor.org.onap.ccsdk.cds.controllerblueprints.management.api.BlueprintManagementService( +const stub = new protoDescriptor.org.onap.ccsdk.cds.controllerblueprints.management.api.BluePrintManagementService( "" + processorApiConfig.grpc.host + ":" + processorApiConfig.grpc.port + "", grpc.credentials.createInsecure()); const metadata = new grpc.Metadata(); metadata.add('Authorization', processorApiConfig.grpc.authToken); -class BlueprintManagementServiceGrpcClient { +class BluePrintManagementServiceGrpcClient { async uploadBlueprint(filePath: string, actionName: string): Promise<any> { @@ -115,5 +115,5 @@ class BlueprintManagementServiceGrpcClient { } } -export const bluePrintManagementServiceGrpcClient = new BlueprintManagementServiceGrpcClient(); +export const bluePrintManagementServiceGrpcClient = new BluePrintManagementServiceGrpcClient(); |