Skip to content

Circular references in GCPStorageConfiguration during application startup #2335

Open
@cjnickel

Description

@cjnickel

Describe the bug
The GCPStorageConfiguration bean may cause an exception during application startup due to circular references. This seems to be connected the bean provider for the PlacementService in this class.

To Reproduce
Add spring-content-gcs to a Spring Boot 3 application and enable GCP Storage.

Expected behavior
The GCPStorageConfiguration bean should be created without error.

Additional context
Previous similar issue for AzureStorageConfiguration bean #1431.

I can provide a PR to make a similar fix as the Azure issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions