Grpc hello service implementation
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: Hello Echo
|
||||
type: grpc
|
||||
seq: 3
|
||||
}
|
||||
|
||||
grpc {
|
||||
url: localhost:8081
|
||||
method: /music_agregator.hello.v1.HelloService/Echo
|
||||
body: grpc
|
||||
protoPath: ../proto/music_agregator/hello/v1/service.proto
|
||||
auth: none
|
||||
methodType: unary
|
||||
}
|
||||
|
||||
body:grpc {
|
||||
name: message 1
|
||||
content: '''
|
||||
{
|
||||
"msg": "hello"
|
||||
}
|
||||
'''
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
meta {
|
||||
name: Hello Ping
|
||||
type: grpc
|
||||
seq: 1
|
||||
}
|
||||
|
||||
grpc {
|
||||
url: localhost:8081
|
||||
method: /music_agregator.hello.v1.HelloService/Ping
|
||||
body: grpc
|
||||
protoPath: ../proto/music_agregator/hello/v1/service.proto
|
||||
auth: none
|
||||
methodType: unary
|
||||
}
|
||||
|
||||
body:grpc {
|
||||
name: message 1
|
||||
content: '''
|
||||
{}
|
||||
'''
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"version": "1",
|
||||
"name": "Music Agregator",
|
||||
"type": "collection",
|
||||
"protobuf": {
|
||||
"importPaths": [
|
||||
{
|
||||
"path": "../proto",
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"protoFiles": [
|
||||
{
|
||||
"path": "../proto/music_agregator/hello/v1/service.proto",
|
||||
"type": "file"
|
||||
}
|
||||
]
|
||||
},
|
||||
"presets": {
|
||||
"requestType": "grpc",
|
||||
"requestUrl": ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user