-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use only one token, renamed environment variables (#40)
* only one token from now on * renamed variables
- Loading branch information
1 parent
4ca3e14
commit 57720b1
Showing
3 changed files
with
14 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
|
||
# These are the URL and token for resolver_service api | ||
RESOLVER_SERVICE_URL = 'https://dev.adsabs.harvard.edu/v1/resolver/%s' | ||
RESOLVER_SERVICE_ADSWS_API_TOKEN = 'this is a secret api token!' | ||
# This the URL to resolver_service api | ||
GATEWAY_RESOLVER_SERVICE_URL = 'https://dev.adsabs.harvard.edu/v1/resolver/%s' | ||
|
||
# Service URL to translate session into user account information | ||
RESOLVER_SERVICE_ACCOUNT_TOKEN_URL = 'https://qa.adsabs.harvard.edu/v1/accounts/info' | ||
RESOLVER_SERVICE_ADSWS_API_INFO_TOKEN = 'this is a secret api token!' | ||
# This is a URL to adsws account info service | ||
GATEWAY_SERVICE_ACCOUNT_INFO_URL = 'https://qa.adsabs.harvard.edu/v1/accounts/info' | ||
|
||
# gateway token | ||
GATEWAY_TOKEN = 'this is a secret api token!' | ||
|
||
# For caching | ||
REDIS_URL = "redis://localhost:6379/0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters