Skip to content

support spring boot's ServiceConnection mechanism #685

Closed
@joshlong

Description

@joshlong

basically, spring boot can automatically during development create a connetion to a running docker image or to a testcontainer, allowing the user to avoid having to specify all this in application.properties during development. even better, the spring initializr can generate docker compose.yml definintiions and Testcontainers definitions for tests that point to a docker image. the result is the user goes to start.spring.io, chooses, eg, PgVectorDB, and one or both of Testcontainers or Docker Compose, and they get a compose.yml and Testcontainers tests ready to go. Even better, whrn they run their spring boot app they don't need to specify connectivity credentials in application.properties.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions