diff --git a/dss-framework/dss-framework-orchestrator-server/src/main/java/com/webank/wedatasphere/dss/orchestrator/server/service/impl/OrchestratorFrameworkServiceImpl.java b/dss-framework/dss-framework-orchestrator-server/src/main/java/com/webank/wedatasphere/dss/orchestrator/server/service/impl/OrchestratorFrameworkServiceImpl.java index bfa3974b9..53590e756 100644 --- a/dss-framework/dss-framework-orchestrator-server/src/main/java/com/webank/wedatasphere/dss/orchestrator/server/service/impl/OrchestratorFrameworkServiceImpl.java +++ b/dss-framework/dss-framework-orchestrator-server/src/main/java/com/webank/wedatasphere/dss/orchestrator/server/service/impl/OrchestratorFrameworkServiceImpl.java @@ -626,7 +626,11 @@ private static DSSOrchestratorInfo getDssOrchestratorInfo(OrchestratorMeta orche dssOrchestratorInfo.setCreator(orchestratorMetaInfo.getCreator()); dssOrchestratorInfo.setProjectId(orchestratorMetaInfo.getProjectId()); dssOrchestratorInfo.setComment(orchestratorMetaInfo.getDescription()); - dssOrchestratorInfo.setIsDefaultReference(orchestratorMetaInfo.getIsDefaultReference()); + if(StringUtils.isEmpty(orchestratorMetaInfo.getIsDefaultReference())){ + dssOrchestratorInfo.setIsDefaultReference(null); + }else{ + dssOrchestratorInfo.setIsDefaultReference(orchestratorMetaInfo.getIsDefaultReference()); + } dssOrchestratorInfo.setType(dssOrchestratorRelation.getDSSOrchestratorName()); dssOrchestratorInfo.setAppConnName(dssOrchestratorRelation.getBindingAppConnName()); dssOrchestratorInfo.setSecondaryType(orchestratorMetaInfo.getOrchestratorWay());