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?