Skip to content

Refactoring properties and constants. - #333

Merged
artursouza merged 1 commit into
dapr:masterfrom
artursouza:refactor_constants
Sep 2, 2020
Merged

artursouza merged 1 commit into
dapr:masterfrom
artursouza:refactor_constants

Conversation

@artursouza

Copy link
Copy Markdown
Contributor

Description

Move constants to correct corresponding owner class.
Remove Constants class.
Add SIDECAR_IP env var and property (defaults to 127.0.0.1).
Refactor properties to support reference to name and not only value.

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: N/A

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

pruthvidhodda
pruthvidhodda previously approved these changes Sep 1, 2020
@pruthvidhodda

Copy link
Copy Markdown
Contributor

Looks like there are some more places where Constants reference needs to be removed, else the changes LGTM

Comment thread sdk/src/main/java/io/dapr/config/Property.java Outdated
Comment thread sdk/src/main/java/io/dapr/config/Property.java Outdated
mukundansundar
mukundansundar previously approved these changes Sep 2, 2020
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