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

CODENVY-191: Add update factory client impl #677

Merged
merged 1 commit into from
Mar 15, 2016
Merged

CODENVY-191: Add update factory client impl #677

merged 1 commit into from
Mar 15, 2016

Conversation

akorneta
Copy link
Contributor

No description provided.

* 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,
Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Contributor

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.

Copy link
Contributor Author

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.

@skabashnyuk
Copy link
Contributor

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);
Copy link
Contributor

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?

@akorneta akorneta force-pushed the CODENVY-191 branch 7 times, most recently from 5ee2677 to ff31960 Compare March 15, 2016 10:25
akorneta added a commit that referenced this pull request Mar 15, 2016
CODENVY-191: Add update factory client impl
@akorneta akorneta merged commit 33c0cfb into master Mar 15, 2016
@akorneta akorneta deleted the CODENVY-191 branch March 15, 2016 14:22
Katka92 pushed a commit to Katka92/che that referenced this pull request Jun 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants