devops-get-overview and devops-edit are extremely slow

15 views
Skip to first unread message

zhang...@gmail.com

unread,
Nov 13, 2016, 9:09:04 PM11/13/16
to fabric8
I've been bothered a lot by a problem that devops-get-overview and devops-edit are extremely slow (up to several minutes and finally timeout) sometimes. For example, when I create a 'MicroSevice' app and click 'next', the next page will become stuck forever. But if I choose other app type, this problem will not occur.

I read the source code and found a possible reason. In `AbstractDevOpsCommand.getProjectOverview()` method I found code as follows:

if (hasProjectFile(uiContext, "pom.xml")) {
projectOveriew.addBuilder("maven");
projectOveriew.addPerspective("forge");

if (containsProject(uiContext)) {
Project project = getSelectedProject(uiContext);
if (findCamelCoreDependency(project) != null) {
if (hasFunktionDependency(project)) {
projectOveriew.addPerspective("funktion");
} else {
}
// TOD should we show funktion instead of camel?
projectOveriew.addPerspective("camel");
}
if (ProfilesProjectHelper.isProfilesProject(project)) {
projectOveriew.addPerspective("fabric8-profiles");
}
}
}


In `findCamelCoreDependency()` method, It seems that there is a building process to caculate the dependencies of `camel-core`, and the building process may have failed. But this is just my speculation, how can I troubleshoot this problem when I can't see anything useful in `fabric8-forge`  logs? 

Claus Ibsen

unread,
Nov 21, 2016, 5:11:33 AM11/21/16
to zhang...@gmail.com, fabric8
Hi

Thanks for bringing this to our attention. I have logged a ticket
about your findings
https://github.com/fabric8io/fabric8-forge/issues/704
> --
> You received this message because you are subscribed to the Google Groups
> "fabric8" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to fabric8+u...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2
Reply all
Reply to author
Forward
0 new messages