blob: 667a5f7577b52071acbc30b787e72713b272c7a9 [file] [log] [blame]
garciadeblas2deba7f2024-07-09 14:38:25 +02001/*
2#######################################################################################
3# Copyright ETSI Contributors and Others.
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
14# implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17#######################################################################################
18*/
lloretgalleg1d2ff512020-08-01 06:05:58 +000019syntax = "proto3";
20
21option java_multiple_files = true;
22option java_package = "com.etsi.osm.lcm.osm_ee";
23option java_outer_classname = "GrpcExecutor";
24option objc_class_prefix = "OEE";
25
26package osm_ee;
27
28service FrontendExecutor {
29
30 // Execute action leaving open a channel for notifications
31 rpc RunPrimitive (PrimitiveRequest) returns (stream PrimitiveReply) {}
32
33 // Sends a greeting
34 rpc GetSshKey (SshKeyRequest) returns (SshKeyReply) {}
35}
36
37// Request parameters
38message PrimitiveRequest {
39 string id=1;
40 string name=2;
41 string params=3;
42}
43
44message PrimitiveReply {
45 string status=1;
46 string detailed_message=2;
47}
48
49// The request message containing the user's name.
50message SshKeyRequest {
51 // empty
52}
53
54// The response message containing the greetings
55message SshKeyReply {
56 string message = 1;
57}