-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[Ready for review] Enable updateResourceAsync #1085
Conversation
Can one of the admins verify this patch? |
} | ||
|
||
@Override | ||
public final Observable<FluentModelT> createAsync() { |
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.
But createResourceAsync()
still needs to be implemented?
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.
Also, please add
@Override
public abstract Observable<FluentModelT> updateResourceAsync();
to reinforcement the implementation of update.
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.
nice, will add them..
@jianghaolu addressed your comments, please take a look when you get chance. |
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.
LGTM
merging as changes are approved. |
[Ready for review] Enable updateResourceAsync
[Ready for review] Enable updateResourceAsync
CreateableTaskGroup is renamed to createUpdateTaskGroup as the group contains task that can run update action on a resource
Renamed ResourceCreator to ResourceCreatorUpdator and it exposes new method updateResourceAsync
CreatableUpdatableImpl now contains default implementation of CreateAsync and UpdateAsync
CreatableImpl inherites from CreatableUpdatableImpl and adding a new base class AppliableImpl that inherits from CreatableUpdatableImpl
This will enable a resource which is only creatable to extends from CreatableImpl and anything that is applicable only to derive from ApplicableImpl.