Skip to content

Commit

Permalink
feat: add server timing operations
Browse files Browse the repository at this point in the history
  • Loading branch information
ni507 authored and CommonGuy committed Nov 6, 2023
1 parent d116e56 commit 88d98b4
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
23 changes: 23 additions & 0 deletions example-project/Kreya features/Timing/Timing REST.krop
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"details": {
"path": "/v1/books/{id}",
"method": "GET",
"importedOperationId": "GET /v1/books/{id}",
"headers": [],
"pathParams": [
{
"key": "id",
"value": "1"
}
]
},
"requests": [
{
"contentType": "none"
}
],
"operationType": "unary",
"invokerName": "rest",
"typeHint": "GET",
"importStreamId": "3173a966-56b1-435f-9a60-937058ec6c80"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"name": "{{ faker.name.last_name }}"
}
13 changes: 13 additions & 0 deletions example-project/Kreya features/Timing/Timing gRPC.krop
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"details": {
"methodFqn": "kreya.ExampleService.SayHello"
},
"requests": [
{
"location": "Timing gRPC-request.json"
}
],
"operationType": "unary",
"invokerName": "grpc",
"importStreamId": "463869a1-4cf8-470d-871d-c873192881c7"
}

0 comments on commit 88d98b4

Please sign in to comment.