* feat(codegurureviewer): repository association lifecycle with tagging AssociateRepository, DescribeRepositoryAssociation, DisassociateRepository and ListRepositoryAssociations over CodeGuru Reviewer's REST JSON protocol, with TagResource/UntagResource/ListTagsForResource served on the shared /tags path. The Repository union is validated as AWS validates it (exactly one provider, Owner/ConnectionArn for third-party providers, KMSKeyId required for CUSTOMER_MANAGED_CMK), duplicate associations report ConflictException, and an association is Associated from the first read so provider waiters complete immediately. * fix(codegurureviewer): paginate ListRepositoryAssociations, register the model for reflection, generate the action table ListRepositoryAssociations now honours MaxResults and NextToken with real pagination (the filter query keys stay singular - ProviderType, State, Name, Owner - matching the wire mapping the API reference documents for the plural request fields). RepositoryAssociation carries @RegisterForReflection so native-image persistence survives a restart. The docs page now uses the generated action-table markers, has its service-matrix row, and maps the hyphenated codeguru-reviewer signing name to its doc slug. * fix(codegurureviewer): reject a malformed MaxResults with ValidationException, not 404 A JAX-RS Integer binding fails during parameter conversion, so MaxResults=abc surfaced as 404 before the handler ran. The parameter is now bound as a String and parsed in the controller, routing bad values through the modeled 400 ValidationException.
2.0 KiB
CodeGuru Reviewer
Protocol: REST JSON
Endpoint: http://localhost:4566
Floci implements the CodeGuru Reviewer repository-association lifecycle for local SDK, CLI, and Terraform workflows. Associations are isolated by region and use the configured Floci storage mode.
Supported Actions
| Action | Description |
|---|---|
AssociateRepository |
Associates a CodeCommit, Bitbucket, GitHub Enterprise Server, or S3 repository (POST /associations) |
DescribeRepositoryAssociation |
Returns the association, its state, and its tags (GET /associations/{associationArn}) |
DisassociateRepository |
Removes the association (DELETE /associations/{associationArn}) |
ListRepositoryAssociations |
Lists association summaries with filters and pagination (GET /associations) |
ListTagsForResource |
Lists association tags (GET /tags/{resourceArn}) |
TagResource |
Adds tags to an association (POST /tags/{resourceArn}) |
UntagResource |
Removes tag keys from an association (DELETE /tags/{resourceArn}) |
ListRepositoryAssociations accepts the documented filters (ProviderType,
State, Name, Owner) plus MaxResults and NextToken pagination.
An association reaches the terminal Associated state as soon as AssociateRepository
returns, so a provider waiter polling DescribeRepositoryAssociation completes on its
first read instead of spinning through an Associating state the emulator would never
leave. The Repository union is validated the way AWS validates it: exactly one of
CodeCommit, Bitbucket, GitHubEnterpriseServer, or S3Bucket must be set, third-party
providers require Owner and ConnectionArn, and CUSTOMER_MANAGED_CMK encryption
requires a KMSKeyId. Associating the same repository twice reports ConflictException.
Code reviews and recommendations are not implemented.
Configuration
| Variable | Default | Description |
|---|---|---|
FLOCI_SERVICES_CODEGURUREVIEWER_ENABLED |
true |
Enable or disable CodeGuru Reviewer |