refactor: update gRPC client to use new request types

This commit is contained in:
Prad Nukala
2024-10-18 15:10:09 -04:00
parent a0a5f0c7e0
commit 3ad6036eb8
13 changed files with 793 additions and 1055 deletions
+48
View File
@@ -0,0 +1,48 @@
# For basic usage info, see:
# https://slumber.lucaspickering.me/book/getting_started.html
# For all collection options, see:
# https://slumber.lucaspickering.me/book/api/request_collection/index.html
# Profiles are groups of data you can easily switch between. A common usage is
# to define profiles for various environments of a REST service
# slumber.yml
# $schema: https://json.schemastore.org/github-workflow
profiles:
local:
data:
host: http://localhost:1317
production:
data:
host: https://api.sonr.id
requests:
did: !folder
name: x/did
requests:
get_did_params: !request
method: GET
url: "{{host}}/did/v1/params"
macaroon: !folder
name: x/macaroon
requests:
get_macaroon_params: !request
method: GET
url: "{{host}}/macaroon/v1/params"
service: !folder
name: x/service
requests:
get_service_params: !request
method: GET
url: "{{host}}/service/v1/params"
vault: !folder
name: x/vault
requests:
get_vault_params: !request
method: GET
url: "{{host}}/vault/v1/params"
get_vault_schema: !request
method: GET
url: "{{host}}/vault/v1/schema"