summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/proto-definition
diff options
context:
space:
mode:
authorBrinda Santh <brindasanth@in.ibm.com>2019-04-10 18:14:44 -0400
committerAlexis de Talhouƫt <adetalhouet89@gmail.com>2019-04-16 10:38:50 -0400
commitbc95a55c61685694a930d659bef336989a04df2f (patch)
treefbe0b9101bc3d6cebf19b5e9d4dd4acb399fdce2 /components/model-catalog/proto-definition
parent0371cdd595b125da3c10440f6ce5e13fcaa8b0bc (diff)
Add grpc execution service
Change-Id: Icfbd9cef8775f2f72329ec726309d14377b9188a Issue-ID: CCSDK-1215 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
Diffstat (limited to 'components/model-catalog/proto-definition')
-rw-r--r--components/model-catalog/proto-definition/proto/CommandExecutor.proto27
1 files changed, 15 insertions, 12 deletions
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 {