-
Notifications
You must be signed in to change notification settings - Fork 1.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
CODENVY-191: Add update factory client impl #677
Conversation
* push refuses to update a remote ref that is not an ancestor of the local ref used to overwrite it. If <code>true</code> | ||
* disables the check. This can cause the remote repository to lose commits | ||
*/ | ||
Promise<PushResponse> push(String wsId, |
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, mark old method as deprecated
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.
done
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.
You use only string path from the ProjectConfigDto
. So there is no need to pass whole configuration into this method.
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 it should be fixed over other issue, not related to this, here I only rewrite methods with the promises without changing in the common signature.
ok |
@@ -90,4 +90,7 @@ | |||
* @return a promise that will provide a list of {@link Factory}s, or rejects with an error | |||
*/ | |||
Promise<List<Factory>> findFactory(Integer skipCount, Integer maxItems, List<Pair<String, String>> params); | |||
|
|||
|
|||
Promise<Factory> updateFactory(String id, Factory factory); |
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.
Javadoc for the api method?
5ee2677
to
ff31960
Compare
…hub pull request update
CODENVY-191: Add update factory client impl
No description provided.