Skip to content

Commit e783e53

Browse files
committed
兼容project本地服务启动
1 parent 1a80f8b commit e783e53

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dss-framework/dss-appconn-framework/src/main/java/com/webank/wedatasphere/dss/framework/appconn/restful/AppConnManagerRestfulApi.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ public void init() {
5050
LOGGER.info("Try to scan AppConn plugins...");
5151
appConnInfoService.getAppConnInfos().forEach(DSSExceptionUtils.handling(appConnInfo -> {
5252
LOGGER.info("Try to load or update AppConn {}.", appConnInfo.getAppConnName());
53-
appConnResourceUploadService.upload(appConnInfo.getAppConnName());
53+
if(!"local".equals(System.getProperty("env"))){
54+
appConnResourceUploadService.upload(appConnInfo.getAppConnName());
55+
}
5456
}));
5557
LOGGER.info("All AppConn plugins has scanned.");
5658
}

0 commit comments

Comments
 (0)