Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -d/--dev common command-line flag to put service in Dev Mode #487

Open
FelixTing opened this issue Sep 28, 2023 · 0 comments
Open

Add -d/--dev common command-line flag to put service in Dev Mode #487

FelixTing opened this issue Sep 28, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@FelixTing
Copy link
Member

🚀 Feature Request

Relevant Package [REQUIRED]

This feature request is for C Device SDK

Description [REQUIRED]

Currently with the new Common Config, the common Host settings, i.e MessageBus.Host, etc., are in common config in the Config Provider. When running from command line in hybrid mode with Config Provider, the common Host settings have been overridden with the docker network names and are not valid when running service outside docker.
The current workaround is to have these common Host settings commented out every services' local private configuration file. When running the service in hybrid mode with Config Provider, the developer must uncomment these settings.

ref:

Describe the solution you'd like

Add the new -d/--dev command flag which will cause all the Host settings pulled from common configuration to be overridden with the value localhost.

Refer to these PRs in Go:

Describe alternatives you've considered

Use current work around of commented out settings which clutter the service config files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Icebox
Development

No branches or pull requests

1 participant