(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:
Manuel Raynaud
2026-09-21 14:46:08 +02:00
parent 302903a782
commit e76da04f31
10 changed files with 321 additions and 3 deletions
+1
View File
@@ -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/