Hi all,

The current implementation of the developer studio automatic updater tool
queries through the complete P2 repo (tooling p2 structure for all products
[1]) which is a huge repository.

Quering through the whole repository consumes a lot of time and resources
which most of the time results is a single message "no updates were found".
In order to optimize this search process to trigger the P2 query iff there
are updates for the particular dev studio instance the user has, the
following approach is designed.


A metadata file of the format [2] is proposed to store the latest versions
of all features available in developer studio.




[1]
http://builder1.us1.wso2.org/~developerstudio/developer-studio-kernel/4.0.0/

[2]

org.wso2.developerstudio.capp.feature, 4.0.0-201501210708
org.wso2.developerstudio.carbon.server-40.feature, 4.0.0-201501210708
org.wso2.developerstudio.carbon.server-42.feature, 4.0.0-201501210708
org.wso2.developerstudio.carbon.server-44.feature, 4.0.0-201501210708
org.wso2.developerstudio.carbon.server-remote.feature, 4.0.0-201501210708
org.wso2.developerstudio.kernel.core.feature, 4.0.0-201501210708
org.wso2.developerstudio.kernel.core.ui.feature, 4.0.0-201501210708
org.wso2.developerstudio.kernel.dependencies.feature, 4.0.0-201501210708
org.wso2.developerstudio.kernel.registry.feature, 4.0.0-201501210708
org.wso2.developerstudio.kernel.security.feature, 4.0.0-201501210708
org.wso2.developerstudio.kernel.tools.feature, 4.0.0-201501210708
org.wso2.developerstudio.kernel.utils.feature, 4.0.0-201501210708
org.wso2.developerstudio.kernel.webui.tools.feature, 4.0.0-201501210708
org.wso2.developerstudio.kernel.wso2plugins.default.samples.feature,
4.0.0-201501210708
org.wso2.developerstudio.library.artifact.feature, 4.0.0-201501210708

[3] ​​​
 Updater modification
<https://docs.google.com/a/wso2.com/drawings/d/1F1r2Dr30hWxAG1IWYTXgC9PO8cXMbl7g1yE1MuDxILk/edit?usp=drive_web>
​
Please provide if there are any suggestions.

Awanthika Senarath
Software Engineer, WSO2 Inc.
Mobile: +94717681791
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to