From bc95a55c61685694a930d659bef336989a04df2f Mon Sep 17 00:00:00 2001 From: Brinda Santh Date: Wed, 10 Apr 2019 18:14:44 -0400 Subject: Add grpc execution service Change-Id: Icfbd9cef8775f2f72329ec726309d14377b9188a Issue-ID: CCSDK-1215 Signed-off-by: Brinda Santh --- .../proto-definition/proto/CommandExecutor.proto | 27 ++++++++++++---------- 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'components/model-catalog') diff --git a/components/model-catalog/proto-definition/proto/CommandExecutor.proto b/components/model-catalog/proto-definition/proto/CommandExecutor.proto index e95e55521..f488cc1b4 100644 --- a/components/model-catalog/proto-definition/proto/CommandExecutor.proto +++ b/components/model-catalog/proto-definition/proto/CommandExecutor.proto @@ -6,27 +6,30 @@ package org.onap.ccsdk.cds.controllerblueprints.command.api; message ExecutionInput { string requestId = 1; + // Optional Id used to correlate multiple requests so that it can identify previous request information. + string correlationId = 2; // Optional Blueprint Information used to identify CBA content information in shared file structure environment. - Identifiers identifiers = 2; - ScriptType scriptType = 3; + Identifiers identifiers = 3; + ScriptType scriptType = 4; // Actual Command to Execute in Scripting Environment - string command = 4; - int32 timeOut = 5; + string command = 5; + int32 timeOut = 6; // Extra Dynamic Properties for Command processing in JSON format - google.protobuf.Struct properties = 6; + google.protobuf.Struct properties = 7; // Request Time Stamp - google.protobuf.Timestamp timestamp = 7; + google.protobuf.Timestamp timestamp = 8; } message PrepareEnvInput { Identifiers identifiers = 1; + string requestId = 2; // Optional Id used to correlate multiple requests so that it can identify previous request information. - string correlationId = 2; - ScriptType scriptType = 3; - repeated string packages = 4; - int32 timeOut = 5; - google.protobuf.Struct properties = 6; - google.protobuf.Timestamp timestamp = 7; + string correlationId = 3; + ScriptType scriptType = 4; + repeated string packages = 5; + int32 timeOut = 6; + google.protobuf.Struct properties = 7; + google.protobuf.Timestamp timestamp = 8; } message Identifiers { -- cgit 1.2.3-korg