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

Make Namespace access modifier public in ImplicitStreamSubscriptionAttribute. Add Provider property. #1270

Merged

Conversation

centur
Copy link
Contributor

@centur centur commented Jan 11, 2016

Issue #1266 : update Namespace access modifier to public. Add Provider property and create constructor which takes it as a second parameter.

@gabikliot
Copy link
Contributor

LGTM from my side.
I know @jason-bragg is opposing (#1266 (comment)), as he considers this only a partial solution, but I think partial is better then nothing.

@gabikliot gabikliot changed the title Issue #1266 : update Namespace access modifier to public. Add Provider property Make Namespace access modifier public in ImplicitStreamSubscriptionAttribute. Add Provider property. Jan 12, 2016
internal string Namespace { get; private set; }
public string Namespace { get; private set; }

public string Provider { get; private set; }
Copy link
Contributor

Choose a reason for hiding this comment

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

If stream provider is specified, implicit subscription pub sub system must respect it and only create subscription to this grain for streams from the specified stream provider. I don't see that change here..

Options:

  • Don't allow specification of stream provider name.
  • Update Implicit subscription pubsub system to respect specified stream provider name.

@centur centur force-pushed the implicit-stream-subscription-attr-issue1266 branch from 095360a to fd3a961 Compare January 14, 2016 02:18
@gabikliot
Copy link
Contributor

@centur , my suggestion to you will be to split this PR into 2:

  • Make Namespace access modifier public in ImplicitStreamSubscriptionAttribute.
  • Add Provider property

It will be probably much easier to get the 1st one approved by @jason-bragg , while you negotiate the 2nd one. ;-)
As I always keep saying, again and again - DO NOT bundle PRs.

@centur
Copy link
Contributor Author

centur commented Jan 14, 2016

Ok. I've synchronized my branch with latest so I'll do 2 separate PRs then, I feel that second part - putting restriction on the stream provider by name will require extra unit tests :)

…rovider Provider property and create constructor which takes it as a second parameter.
@centur centur force-pushed the implicit-stream-subscription-attr-issue1266 branch from fd3a961 to eb1f4a2 Compare January 14, 2016 21:55
@centur
Copy link
Contributor Author

centur commented Jan 15, 2016

ok the smallest pull request I've ever seen :)

sergeybykov added a commit that referenced this pull request Jan 15, 2016
…r-issue1266

Make Namespace access modifier public in ImplicitStreamSubscriptionAttribute. Add Provider property.
@sergeybykov sergeybykov merged commit b111660 into dotnet:master Jan 15, 2016
@sergeybykov
Copy link
Contributor

Thank you, @centur!

Though I don't think one can beat https://github.com/dotnet/orleans/pull/955/files as the tiniest PR. :-)

@centur
Copy link
Contributor Author

centur commented Jan 15, 2016

That one is definitely the shortest one, which also fixes issue

@centur centur deleted the implicit-stream-subscription-attr-issue1266 branch January 15, 2016 23:18
@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants