Skip to content

Placeholder in Git URI doesn't work when used with local filesystem #3095

@arch-rzur-2004

Description

@arch-rzur-2004

When providing such configuration, filesystem is not monitored due to exception:

config-svc-1 | 2025-10-16T18:12:02.919Z ERROR 1 --- [ main] o.s.c.c.m.FileMonitorConfiguration : Cannot resolve URI for path: file:/var/opt/config-service/{application} MDC={}

cloud:
    config:
        server:
            health:
                enabled: false
            git:
                uri: file:${APP_DATA_DIR}/\{application}
                default-label: ${APP_MAIN_BRANCH_NAME}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions