-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from aneoconsulting/jg/results_service
Add results service
- Loading branch information
Showing
5 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
syntax = "proto3"; | ||
|
||
package armonik.api.grpc.v1.results; | ||
|
||
import "result_status.proto"; | ||
|
||
option csharp_namespace = "ArmoniK.Api.gRPC.V1.Results"; | ||
|
||
/* | ||
* Request for getting the id of the task that should create this result | ||
*/ | ||
message GetOwnerTaskIdRequest { | ||
string session_id = 1; | ||
repeated string result_id = 2; | ||
} | ||
|
||
/* | ||
* Response for getting the id of the task that should create this result | ||
*/ | ||
message GetOwnerTaskIdResponse { | ||
message MapResultTask { | ||
string result_id = 1; | ||
string task_id = 2; | ||
} | ||
repeated MapResultTask result_task = 1; | ||
string session_id = 2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
syntax = "proto3"; | ||
|
||
package armonik.api.grpc.v1.results; | ||
|
||
import "results_common.proto"; | ||
|
||
option csharp_namespace = "ArmoniK.Api.gRPC.V1.Results"; | ||
|
||
/** | ||
* The ResultsService provides methods for interacting with results | ||
*/ | ||
service Results { | ||
// Get the id of the task that should produce the result | ||
rpc GetOwnerTaskId(GetOwnerTaskIdRequest) returns (GetOwnerTaskIdResponse); | ||
} |