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

[MNG-8222] Extend PropertyContributor #1679

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Conversation

cstamas
Copy link
Member

@cstamas cstamas commented Aug 23, 2024

Add more contextual info to it.


https://issues.apache.org/jira/browse/MNG-8222

@cstamas cstamas added this to the 4.0.0-beta-4 milestone Aug 23, 2024
@cstamas cstamas requested a review from gnodet August 23, 2024 11:14
@cstamas cstamas self-assigned this Aug 23, 2024
for (PropertyContributor contributor : effectivePropertyContributors.values()) {
contributor.contribute(userPropertiesMap);
Map<String, String> contribution = contributor.contribute(protoSession);
Copy link
Contributor

Choose a reason for hiding this comment

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

A given contributor won't see properties added by previous contributors, is that what we want ?

@Experimental
@ThreadSafe
public interface ProtoSession {

Copy link
Contributor

Choose a reason for hiding this comment

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

We should give access to CLI commands / arguments I think, this may be needed.

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe just a List<String> to not expose commons-cli.

@gnodet gnodet removed this from the 4.0.0-beta-4 milestone Aug 27, 2024
@cstamas
Copy link
Member Author

cstamas commented Aug 27, 2024

We will rework this, but leaving as DRAFT for reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants