Removed usage of kafka when deploying (polling mongodb instead)
This commit is contained in:
parent
b9f11ad846
commit
69c5ef7d43
56 changed files with 396 additions and 542 deletions
|
|
@ -2,7 +2,6 @@ package org.chtijbug.drools.common;
|
|||
|
||||
public class KafkaTopicConstants {
|
||||
public final static String LOGING_TOPIC ="logging";
|
||||
public final static String RESPONSE_TOPIC ="Response";
|
||||
public final static String RESPONSE_DEPLOY_TOPIC ="ResponseDeploy";
|
||||
public final static String REVERSE_PROXY="proxy";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -74,10 +74,14 @@ public class AssetService {
|
|||
private List<PlatformProjectResponse> getSpace(OrganizationalUnit ou) {
|
||||
|
||||
final List<PlatformProjectResponse> repoNames = new ArrayList<>();
|
||||
for (WorkspaceProject workspaceProject : workspaceProjectService.getAllWorkspaceProjects(ou)) {
|
||||
for (Branch branch : workspaceProject.getRepository().getBranches()) {
|
||||
repoNames.add(getProjectResponse(workspaceProject, branch));
|
||||
try {
|
||||
for (WorkspaceProject workspaceProject : workspaceProjectService.getAllWorkspaceProjects(ou)) {
|
||||
for (Branch branch : workspaceProject.getRepository().getBranches()) {
|
||||
repoNames.add(getProjectResponse(workspaceProject, branch));
|
||||
}
|
||||
}
|
||||
}catch (Exception e){
|
||||
logger.info("getSpace error "+ou.getName(),e);
|
||||
}
|
||||
return repoNames;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue