fix: use traefik-public network name

This commit is contained in:
Gwadaking
2026-04-01 19:56:44 -04:00
parent 813b26ec1d
commit 1474b14e35
6 changed files with 1086 additions and 22 deletions

View File

@@ -7,9 +7,11 @@ use Symfony\Contracts\HttpClient\HttpClientInterface;
class SentinelHubClient
{
private const AUTH_URL = 'https://services.sentinel-hub.com/oauth/token';
private const PROCESS_URL = 'https://services.sentinel-hub.com/api/v1/process';
private const CATALOG_URL = 'https://services.sentinel-hub.com/api/v1/catalog/1.0.0/search';
// Copernicus Data Space Ecosystem (CDSE) — gratuit, financé par l'UE
// https://documentation.dataspace.copernicus.eu/APIs/SentinelHub/Overview/Authentication.html
private const AUTH_URL = 'https://identity.dataspace.copernicus.eu/auth/realms/CDSE/protocol/openid-connect/token';
private const PROCESS_URL = 'https://sh.dataspace.copernicus.eu/api/v1/process';
private const CATALOG_URL = 'https://sh.dataspace.copernicus.eu/api/v1/catalog/1.0.0/search';
public function __construct(
private HttpClientInterface $httpClient,