Skip to content

Commit

Permalink
Added new api endpoint (#998)
Browse files Browse the repository at this point in the history
* fix(jungle): migrate dev environment to jungle 4 (#988)

* fix(jungle): migrate dev environment to jungle 4

* fix(jungle): migrate dev environment to jungle 4

* Improve(hapi): changed hapi server routes structure (#992)

* fix(enviroment): change env value

* fix(hasura): add permissions tables

* fix(comments): fix comments section

* fix(hyperion): fix codefactor issues

* fix(hyperion): fix codefactor issues

* fix(hasura): delete migration restriction

* fix(hyperion): fix updater flows

* improve(hapi): changed hapi server routes structure

* feat(hapi): created eosrate stats api endpoint (#993)

* fix(enviroment): change env value

* fix(hasura): add permissions tables

* fix(comments): fix comments section

* fix(hyperion): fix codefactor issues

* fix(hyperion): fix codefactor issues

* fix(hasura): delete migration restriction

* fix(hyperion): fix updater flows

* feat(hapi): created eosrate stats api endpoint

* fix(hapi): fix codefactor error

* fix(webapp): added validation on bp profile page (#995)

* fix(enviroment): change env value

* fix(hasura): add permissions tables

* fix(comments): fix comments section

* fix(hyperion): fix codefactor issues

* fix(hyperion): fix codefactor issues

* fix(hasura): delete migration restriction

* fix(hyperion): fix updater flows

* feat(hapi): created eosrate stats api endpoint

* fix(hapi): fix codefactor error

* fix(webapp): added validation on bp profile page

* feat(hasura): added permissions to getRatesStats action (#997)

* fix(enviroment): change env value

* fix(hasura): add permissions tables

* fix(comments): fix comments section

* fix(hyperion): fix codefactor issues

* fix(hyperion): fix codefactor issues

* fix(hasura): delete migration restriction

* fix(hyperion): fix updater flows

* feat(hapi): created eosrate stats api endpoint

* fix(hapi): fix codefactor error

* fix(webapp): added validation on bp profile page

* feat(hasura): added permissions to getRatesStats action

Co-authored-by: Xavier Fernandez <[email protected]>
  • Loading branch information
AngeloCG97 and xavier506 authored Nov 29, 2022
1 parent 766cbba commit f13734f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ HAPI_HASURA_URL=http://hasura:8080/v1/graphql
HAPI_HASURA_ADMIN_SECRET=myadminsecretkey
# HASURA
HASURA_GRAPHQL_DATABASE_URL=postgres://user:password@eosrate_postgres:5432/eosrate
HASURA_GRAPHQL_ADMIN_SECRET=hasurasecret
HASURA_GRAPHQL_ADMIN_SECRET=myadminsecretkey
HASURA_GRAPHQL_UNAUTHORIZED_ROLE=anonymous
HASURA_GRAPHQL_ACTION_BASE_URL=http://hapi:9090
# WEBAPP
Expand Down
2 changes: 2 additions & 0 deletions hasura/metadata/actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ actions:
kind: synchronous
handler: '{{HASURA_GRAPHQL_ACTION_BASE_URL}}/get-rates-stats'
forward_client_headers: true
permissions:
- role: anonymous
- name: rateProducer
definition:
kind: synchronous
Expand Down

0 comments on commit f13734f

Please sign in to comment.