Closed zzxwill closed 3 years ago
@negz Hi, Nic, we're going to implement more cloud resources here, do you have any suggestion about the priority of cloud resources needed?
Hi, Nic, we're going to implement more cloud resources here
That's great news!
do you have any suggestion about the priority of cloud resources needed?
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.
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.
HI @negz Can we merge it first and fix the rest in following PRs. We need it to be merged and show in demos.
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.
This is looking good @zzxwill, thank you. The main thing that still needs addressing is using
meta.GetExternalName
. Done. Per your suggestion, I believe SLS project namespec.froProvider.name
should be deleted and the managed resource name should be regarded as the SLS project name.I also wonder if we should agree on the pattern proposed in #63 before we merge this PR, but if it's urgent I could be convinced to approve while we figure out #63. I will add more some examples in #63 after I talked with my colleagues which will integrated provider-base base logics.
@negz And I am so sorry for the late of addressing your newly two comments:) I was so busy with some other stuffs.
No problem @zzxwill! We've been very busy too. :) Thanks for addressing my comments about using GetExternalName
and pkg/errors
. It seems like there are now only two things we need to sort out to merge this:
gofmt
.I prefer to not introduce the BaseObserve
pattern in this PR until after we have a chance to discuss the context and approach in https://github.com/crossplane/provider-alibaba/issues/63. How do you feel about updating this PR to use a 'normal' ExternalClient
implementation for now, until we discuss further and agree?
@negz Your suggestion is helpful for decomposing the problems. Addressed all of the two. Thanks help review it:)
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.
Create the issue #67, and I will talk to some potential users and contributors offline first.
Description of your changes
Support provision Alibaba Cloud SLS project, create
examples
directory for official examples and update makefileFixes #
I have:
make reviewable test
to ensure this PR is ready for review.How has this code been tested