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

Document how to use MP Config to override context list with empty #99

Closed
njr-11 opened this issue Jan 18, 2019 · 0 comments · Fixed by #101
Closed

Document how to use MP Config to override context list with empty #99

njr-11 opened this issue Jan 18, 2019 · 0 comments · Fixed by #101
Assignees

Comments

@njr-11
Copy link
Contributor

njr-11 commented Jan 18, 2019

Our documentation for overrides via MicroProfile Config neglects to document how to use MicroProfile Config to clear our array properties (propagated context, cleared context, unchanged context). It turns out that MicroProfile Config is unclear on exactly how to do this. I've opened eclipse/microprofile-config#397 against MicroProfile Config for this. The main problem is disambiguating between an empty array and an array of empty string. A property such as org.eclipse.examples.MyBean.threadContext.unchanged= could be interpreted either way. In order for our users to have a solution, we can accommodate this by stating that both shall be interpreted by MicroProfile Concurrency to have the same meaning of indicating no context types. Thus, the user will be able to rely on specifying the blank value regardless of which way MP Config supplies that value to the MP Concurrency implementation.

@njr-11 njr-11 self-assigned this Jan 18, 2019
njr-11 added a commit to njr-11/microprofile-context-propagation that referenced this issue Jan 18, 2019
…roperties, clarifying how to configure empty values

Signed-off-by: Nathan Rauh <nathan.rauh@us.ibm.com>
njr-11 added a commit to njr-11/microprofile-context-propagation that referenced this issue Jan 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant