Skip to content

Architecture ​

SunLicense Cloud is four Spring Boot services behind a gateway, each with its own database. They talk to each other through events, so the validation path keeps working when the rest is down.

Architecture

ServiceOwns
GatewayThe only entry point: checks the session or API key, decides the organization, enforces roles and rate limits
IdentityOrganizations, users, roles, plans, API keys
LicensingProducts, policies, licenses, signing keys (private keys never leave it)
ValidationIts own copy of licenses and policies, machine activations, the validate endpoints

How a revocation travels ​

Revocation flow

The change and its event are saved in one database transaction (a transactional outbox), then published to RabbitMQ. Validation applies each event once and ignores out-of-date ones, so a revocation is never lost and never applied twice.

SunLicense Cloud is in alpha.