mirror of
https://github.com/suitenumerique/docs.git
synced 2026-09-22 17:45:12 +02:00
✨(backend) add a service to call the yhub REST API
The backend application will have to call the yhub REST API for some operations. We want to use a dedicated service to do that. This first commit introduces the shape of this service, it only does the configuration for now, calling actions will be implemented later.
This commit is contained in:
@@ -83,6 +83,7 @@ COLLABORATION_WS_URL=ws://localhost:3002/collaboration/ws/v1/docs
|
||||
COLLABORATION_WS_INACTIVITY_TIMEOUT=15 # Seconds
|
||||
# server-to-server, reached with an admin JWT (aud: yhub)
|
||||
COLLABORATION_API_URL=http://yhub:3002/collaboration
|
||||
YHUB_API_BASE_URL=http://yhub:3002
|
||||
|
||||
DJANGO_SERVER_TO_SERVER_API_TOKENS=server-api-token
|
||||
Y_PROVIDER_API_BASE_URL=http://y-provider-development-converter:4444/api/
|
||||
|
||||
Reference in New Issue
Block a user