mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 06:00:46 -05:00
GetRepositoryEndpoint for format=maven now returns a URL real Maven clients (mvn deploy, mvn dependency:get, Gradle) can publish to and resolve from directly, backed by a shared Reposilite sidecar container started lazily on first use. A CodeArtifact repository maps to its own Reposilite repository, provisioned automatically and never reused even across delete/recreate of a same-named repository, so a fresh repository can never inherit a previous one's artifacts. Adds GetAuthorizationToken (a token scoped to a domain, with the 900-43200s custom range; 0 falls back to 12 hours) and requires it on every Maven proxy request, either as the password of HTTP Basic credentials, the form AWS's Maven guide configures with username aws, or as a Bearer token. Maven requests are not SigV4-signed, so the region and account come from the token. Also enforces AWS's 5 GB asset size quota on the Maven endpoint, matching the existing PublishPackageVersion check. Artifacts do not survive a Floci restart; the service page documents this as a known limitation.