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

Fetch module config directly from item reference #605

Merged
merged 1 commit into from
Mar 1, 2016
Merged

Conversation

vzhukovs
Copy link
Contributor

@vzhukovs vzhukovs commented Mar 1, 2016

Get children operation (on the server side, project service) is returning item reference with project configuration for the module if such exists. Client based on this information may faster construct module node instead of making additional request for the configuration.

Note: temporary solution will be alive before new changes will be merged (related to new project type with server side vfs refactorings)

Related issue: CHE-660

@vparfonov @dimasnurenko review this PR.

Squashed commit of the following:

commit e86d058
Merge: 32caa18 7b6bb02
Author: Vladyslav Zhukovskii vzhukovskii@codenvy.com
Date: Tue Mar 1 17:42:55 2016 +0200

Merge branch 'master' into CHE-660

commit 32caa18
Author: Vladyslav Zhukovskii vzhukovskii@codenvy.com
Date: Tue Mar 1 17:37:36 2016 +0200

Fetch module config directly from item reference

commit 04513ae
Author: Dmitry Shnurenko dshnurenko@codenvy.com
Date: Tue Mar 1 17:06:12 2016 +0200

CHE-660: Add java doc

commit 20e99f8
Author: Dmitry Shnurenko dshnurenko@codenvy.com
Date: Tue Mar 1 16:57:56 2016 +0200

CHE-660: Improve server side code to less time of getting project

Signed-off-by: Vladyslav Zhukovskii vzhukovskii@codenvy.com

Get children operation (on the server side, project service) is returning item reference with project configuration for the module if such exists. Client based on this information may faster construct module node instead of making additional request for the configuration.

Note: temporary solution will be alive before new changes will be merged (related to new project type with server side vfs refactorings)

Related issue: CHE-660

Squashed commit of the following:

commit e86d058
Merge: 32caa18 7b6bb02
Author: Vladyslav Zhukovskii <vzhukovskii@codenvy.com>
Date:   Tue Mar 1 17:42:55 2016 +0200

    Merge branch 'master' into CHE-660

commit 32caa18
Author: Vladyslav Zhukovskii <vzhukovskii@codenvy.com>
Date:   Tue Mar 1 17:37:36 2016 +0200

    Fetch module config directly from item reference

commit 04513ae
Author: Dmitry Shnurenko <dshnurenko@codenvy.com>
Date:   Tue Mar 1 17:06:12 2016 +0200

    CHE-660: Add java doc

commit 20e99f8
Author: Dmitry Shnurenko <dshnurenko@codenvy.com>
Date:   Tue Mar 1 16:57:56 2016 +0200

    CHE-660: Improve server side code to less time of getting project

Signed-off-by: Vladyslav Zhukovskii <vzhukovskii@codenvy.com>
@vzhukovs
Copy link
Contributor Author

vzhukovs commented Mar 1, 2016

Getting projects operation for che has reduced from ~26sec to ~279ms.

@vparfonov
Copy link
Contributor

ok, good job

@dimashnurenko
Copy link

ok

vzhukovs pushed a commit that referenced this pull request Mar 1, 2016
Fetch module config directly from item reference
@vzhukovs vzhukovs merged commit 7081000 into master Mar 1, 2016
@vzhukovs vzhukovs deleted the CHE-660 branch March 1, 2016 16:02
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.

3 participants