Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Add Tests For Environment Variable Override #243

@michaelestrin

Description

@michaelestrin

Related edgex-go issue: edgexfoundry/edgex-go#1450
Related edgex-go PR: edgexfoundry/edgex-go#1461

Add tests for newly added edgex-go environment variable override support.

Core services were modified to:

  • Support environment variable overrides for config-seed to the configuration.toml content it uploads into registry. An environment variable can be service-specific or generic.

    A service-specific environment variable override would include the targeted service's name and would only affect configuration for that service; i.e. core-metadata_Clients_logging_Host=<someAddr>.

    A generic environment variable override would not include a service name and would affect configuration across all services config-seed handles; i.e. Registry_Host=<someAddr>.

  • Support environment variable override of a core service's RegistryInfo fields (i.e. host, port, and type) to allow a containerized service instance to be pointed at an alternate registry location.

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