Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Plugin could not be enabled if using external config file #76

@robertoschwald

Description

@robertoschwald

If using external application.properties file via SPRING_CONFIG_ADDITIONAL_LOCATION env var, you cannot enable the plugin in non-dev environments.

Reason:
ConsoleConfig gets the config map and checks if the enabled flag is of type Boolean.
This does not work with external config files, as everything is String.
Maybe it helps to rework the ConsoleConfig class to use config.getProperty("enabled", Boolean, false) and check that one.

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