smart_ide/docs/repo/service-smart-ide-global-api.md
Nicolas Cantu 940cf59178 Share upstream definitions in @4nk/smart-ide-upstreams, systemd user units
- 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
2026-04-04 15:37:58 +02:00

1.3 KiB
Raw Blame History

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 lappelle avec GLOBAL_API_INTERNAL_TOKEN ; des scripts M2M peuvent aussi utiliser le même Bearer pour un point dentrée unique (voir sso-gateway-service.md).

Configuration locale

Exploitation

Démarrer avant la passerelle SSO. Voir services/smart-ide-global-api/README.md et docs/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, script scripts/install-smart-ide-gateway-systemd-user.sh.

Voir aussi