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

example config micro registry #4910

Closed
wants to merge 1 commit into from
Closed

example config micro registry #4910

wants to merge 1 commit into from

Conversation

wkloucek
Copy link
Contributor

Description

Related Issue

  • Fixes <issue_link>

Motivation and Context

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

@update-docs
Copy link

update-docs bot commented Oct 26, 2022

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

Comment on lines +31 to +32
Type string `yaml:"type" env:"MICRO_REGISTRY"`
Addresses []string `yaml:"addresses" env:"MICRO_REGISTRY_ADDRESSES"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should't those envs start with OICS_ or APP_PROVIDER_ ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just used the current ENV name for demo purposes. If we change it we need to check if we also need to keep backwards compatibility.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe to add new ones in parallel having the correct name as we "later" plan a deprication process anyways...?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually in this case it might even need to stay MICRO_REGISTRY (haven't checked in detail) as go-micro itself make use of that variable.

Copy link
Contributor

@mmattel mmattel Oct 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#3917 (Harmonize env variable naming for those which are not bound to a particular service)
@dragonchaser fyi

@wkloucek
Copy link
Contributor Author

closing because I cannot work on this for the next months.

@wkloucek wkloucek closed this Dec 23, 2022
@wkloucek wkloucek deleted the exmple-config-micro-registry branch December 23, 2022 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants