Grpc hello service implementation

This commit is contained in:
Alexander
2026-05-04 14:56:05 +02:00
parent 6baa895c6c
commit 268ee57913
14 changed files with 186 additions and 5 deletions
+23
View File
@@ -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"
}
'''
}
+21
View File
@@ -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: '''
{}
'''
}
+23
View File
@@ -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": ""
}
}
View File