- Add packages/smart-ide-upstreams (versioned dist) for resolveUpstream + listUpstreamKeys - Wire smart-ide-global-api and smart-ide-sso-gateway via file: dependency - Add systemd user unit templates and install-smart-ide-gateway-systemd-user.sh (SSO After/Requires global API) - Update docs and VERSION 0.0.3
22 lines
1.3 KiB
Markdown
22 lines
1.3 KiB
Markdown
# Service smart-ide-global-api (`services/smart-ide-global-api/`)
|
||
|
||
Couche HTTP **interne** : proxy vers les micro-services avec jetons techniques, **sans OIDC**. **`smart-ide-sso-gateway`** l’appelle avec `GLOBAL_API_INTERNAL_TOKEN` ; des **scripts M2M** peuvent aussi utiliser le même Bearer pour un point d’entrée unique (voir [sso-gateway-service.md](../features/sso-gateway-service.md)).
|
||
|
||
## Configuration locale
|
||
|
||
- Agrégat : **[`config/services.local.env.example`](../../config/services.local.env.example)**
|
||
- Service : **`services/smart-ide-global-api/.env.example`**
|
||
|
||
## Exploitation
|
||
|
||
Démarrer **avant** la passerelle SSO. Voir **[`services/smart-ide-global-api/README.md`](../../services/smart-ide-global-api/README.md)** et **[`docs/API/global-api.md`](../API/global-api.md)**.
|
||
|
||
**Liste des amonts** : source unique dans **`packages/smart-ide-upstreams/`** (import `@4nk/smart-ide-upstreams` côté global-api et SSO).
|
||
|
||
**systemd (utilisateur)** : gabarits `systemd/user/smart-ide-global-api.service.in` et `smart-ide-sso-gateway.service.in` ; installation — [systemd-units.md](./systemd-units.md), script `scripts/install-smart-ide-gateway-systemd-user.sh`.
|
||
|
||
## Voir aussi
|
||
|
||
- [service-smart-ide-sso-gateway.md](./service-smart-ide-sso-gateway.md)
|
||
- [sso-gateway-service.md](../features/sso-gateway-service.md)
|