Skip to content

Commit

Permalink
Merge pull request #39 from uc-cdis/feat/unity
Browse files Browse the repository at this point in the history
feat(unity): support customizing Arborist
  • Loading branch information
fantix authored Jun 10, 2019
2 parents a86835e + acf4b26 commit 7d5a077
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ You could set the endpoint by:
export GEN3_ARBORIST_ENDPOINT=${arborist_service}
```

If not set, Guppy will skip all authorization steps as default.
But if you just want to mock your own authorization behavior for local test without Arborist, just set `INTERNAL_LOCAL_TEST=true`.
Please look into `/src/server/utils/accessibilities.js` for more details.
If not set, it would default to `http://arborist-service`. You could set it to `mock` to
skip all authorization steps. But if you just want to mock your own authorization
behavior for local test without Arborist, just set `INTERNAL_LOCAL_TEST=true`. Please
look into `/src/server/auth/utils.js` for more details.

#### Tier access
Guppy also support 3 different levels of tier access, by setting `TIER_ACCESS_LEVEL`:
Expand Down
2 changes: 1 addition & 1 deletion src/server/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const config = {

port: 80,
path: '/graphql',
arboristEndpoint: 'mock',
arboristEndpoint: 'http://arborist-service',
tierAccessLevel: 'private',
tierAccessLimit: 1000,
logLevel: 'INFO',
Expand Down

0 comments on commit 7d5a077

Please sign in to comment.