| lloretgalleg | 1d2ff51 | 2020-08-01 06:05:58 +0000 | [diff] [blame] | 1 | syntax = "proto3"; |
| 2 | |
| 3 | option java_multiple_files = true; |
| 4 | option java_package = "com.etsi.osm.lcm.osm_ee"; |
| 5 | option java_outer_classname = "GrpcExecutor"; |
| 6 | option objc_class_prefix = "OEE"; |
| 7 | |
| 8 | package osm_ee; |
| 9 | |
| 10 | service FrontendExecutor { |
| 11 | |
| 12 | // Execute action leaving open a channel for notifications |
| 13 | rpc RunPrimitive (PrimitiveRequest) returns (stream PrimitiveReply) {} |
| 14 | |
| 15 | // Sends a greeting |
| 16 | rpc GetSshKey (SshKeyRequest) returns (SshKeyReply) {} |
| 17 | } |
| 18 | |
| 19 | // Request parameters |
| 20 | message PrimitiveRequest { |
| 21 | string id=1; |
| 22 | string name=2; |
| 23 | string params=3; |
| 24 | } |
| 25 | |
| 26 | message PrimitiveReply { |
| 27 | string status=1; |
| 28 | string detailed_message=2; |
| 29 | } |
| 30 | |
| 31 | // The request message containing the user's name. |
| 32 | message SshKeyRequest { |
| 33 | // empty |
| 34 | } |
| 35 | |
| 36 | // The response message containing the greetings |
| 37 | message SshKeyReply { |
| 38 | string message = 1; |
| 39 | } |