-
Notifications
You must be signed in to change notification settings - Fork 18
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
Implement Alibaba cloud SLS project #58
Conversation
@negz Hi, Nic, we're going to implement more cloud resources here, do you have any suggestion about the priority of cloud resources needed? |
That's great news!
Why don't we start an issue on this repository to gather input from users - Slack would be a great place to ask the community for input on this. |
} | ||
|
||
func (e *external) Observe(ctx context.Context, mg resource.Managed) (managed.ExternalObservation, error) { | ||
return BaseObserve(mg, e.client) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is gained by breaking all this logic out into these separate Base
functions, compared to just writing them inline?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please kindly refer to issue #63, in which I tried to explain the reason in details and wrote a few examples.
Thanks for working on this @zzxwill! Looks like a great start, but I would prefer if this managed resource was more in line with typical Crossplane conventions. If you strongly disagree with any we can discuss that and perhaps capture how provider-alibaba will diverge and why. |
Support provision Alibaba Cloud SLS project, create `examples` directory for official examples and update makefile Signed-off-by: zzxwill <[email protected]>
Signed-off-by: zzxwill <[email protected]>
Moved copyright Year bump to crossplane-contrib#62 and examples folder changing to crossplane-contrib#61 Signed-off-by: Zheng Xi Zhou <[email protected]>
Signed-off-by: Zheng Xi Zhou <[email protected]>
Signed-off-by: Zheng Xi Zhou <[email protected]>
9e6febb
to
be3d391
Compare
Signed-off-by: Zheng Xi Zhou <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HI @negz Can we merge it first and fix the rest in following PRs. We need it to be merged and show in demos. |
No, sorry. I recommend building the provider from your branch if you need to use it for demos. I'm happy to merge once the remaining comments are addressed. |
and wrap all errors Signed-off-by: Zheng Xi Zhou <[email protected]>
|
@negz And I am so sorry for the late of addressing your newly two comments:) I was so busy with some other stuffs. |
Signed-off-by: Zheng Xi Zhou <[email protected]>
No problem @zzxwill! We've been very busy too. :) Thanks for addressing my comments about using
I prefer to not introduce the |
Signed-off-by: Zheng Xi Zhou <[email protected]>
Signed-off-by: Zheng Xi Zhou <[email protected]>
@negz Your suggestion is helpful for decomposing the problems. Addressed all of the two. Thanks help review it:) |
Signed-off-by: Zheng Xi Zhou <[email protected]>
Signed-off-by: Zheng Xi Zhou <[email protected]>
Signed-off-by: Zheng Xi Zhou <[email protected]>
Create the issue #67, and I will talk to some potential users and contributors offline first. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent work @zzxwill - thank you!
Description of your changes
Support provision Alibaba Cloud SLS project, create
examples
directoryfor official examples and update makefile
Fixes #
I have:
make reviewable test
to ensure this PR is ready for review.How has this code been tested