diff --git a/pom.xml b/pom.xml
index ab661aa96d..b06296a1de 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
2021.0.5
5.7.5
2.7.15
- main
+ 1.0.0
7.15.0
1.10.0
7.4.1.jre8
diff --git a/project-management/backend/src/main/java/io/metersphere/controller/remote/SystemSettingController.java b/project-management/backend/src/main/java/io/metersphere/controller/remote/SystemSettingController.java
index 37fd79a3a5..c7b1244cee 100644
--- a/project-management/backend/src/main/java/io/metersphere/controller/remote/SystemSettingController.java
+++ b/project-management/backend/src/main/java/io/metersphere/controller/remote/SystemSettingController.java
@@ -1,7 +1,7 @@
package io.metersphere.controller.remote;
import io.metersphere.remote.service.PlatformPluginService;
-import io.metersphere.remote.service.SystemSettingService;
+import io.metersphere.service.remote.SystemSettingService;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
diff --git a/project-management/backend/src/main/java/io/metersphere/remote/service/SystemSettingService.java b/project-management/backend/src/main/java/io/metersphere/remote/service/SystemSettingService.java
deleted file mode 100644
index 5783f6b10c..0000000000
--- a/project-management/backend/src/main/java/io/metersphere/remote/service/SystemSettingService.java
+++ /dev/null
@@ -1,12 +0,0 @@
-package io.metersphere.remote.service;
-
-import io.metersphere.commons.constants.MicroServiceName;
-import io.metersphere.service.RemoteService;
-import org.springframework.stereotype.Service;
-
-@Service
-public class SystemSettingService extends RemoteService {
- public SystemSettingService() {
- super(MicroServiceName.SYSTEM_SETTING);
- }
-}
diff --git a/project-management/frontend/src/business/menu/template/IssueTemplateEdit.vue b/project-management/frontend/src/business/menu/template/IssueTemplateEdit.vue
index fd379b2dd8..bbd343ed52 100644
--- a/project-management/frontend/src/business/menu/template/IssueTemplateEdit.vue
+++ b/project-management/frontend/src/business/menu/template/IssueTemplateEdit.vue
@@ -49,7 +49,6 @@ import draggable from 'vuedraggable';
import TemplateComponentEditHeader
from "./ext/TemplateComponentEditHeader";
import MsFormDivider from "metersphere-frontend/src/components/MsFormDivider";
-import {ISSUE_PLATFORM_OPTION} from "metersphere-frontend/src/utils/table-constants";
import CustomFieldFormList from "./CustomFieldFormList";
import CustomFieldRelateList from "./CustomFieldRelateList";
import FieldTemplateEdit from "./FieldTemplateEdit";
@@ -90,10 +89,10 @@ export default {
url: '',
};
},
+ props: {
+ platformOption: Array
+ },
computed: {
- platformOption() {
- return ISSUE_PLATFORM_OPTION;
- },
isSystem() {
return this.form.system;
}
diff --git a/project-management/frontend/src/business/menu/template/IssuesTemplateList.vue b/project-management/frontend/src/business/menu/template/IssuesTemplateList.vue
index a412422919..836c0f87cb 100644
--- a/project-management/frontend/src/business/menu/template/IssuesTemplateList.vue
+++ b/project-management/frontend/src/business/menu/template/IssuesTemplateList.vue
@@ -76,7 +76,7 @@
:total="total"/>
-
+
@@ -95,6 +95,7 @@ import IssueTemplateEdit from "./IssueTemplateEdit";
import {deleteIssueFieldTemplateById, getIssueFieldTemplatePages} from "../../../api/template";
import MsDeleteConfirm from "metersphere-frontend/src/components/MsDeleteConfirm";
import IssueTemplateCopy from "./IssueTemplateCopy";
+import {getPlatformOption} from "@/api/platform-plugin";
export default {
name: "IssuesTemplateList",
@@ -102,7 +103,7 @@ export default {
IssueTemplateEdit,
IssueTemplateCopy,
MsTableHeader,
- MsTablePagination, MsTableButton, MsTableOperators, MsTableColumn, MsTable , MsDeleteConfirm
+ MsTablePagination, MsTableButton, MsTableOperators, MsTableColumn, MsTable, MsDeleteConfirm
},
data() {
return {
@@ -113,9 +114,9 @@ export default {
currentPage: 1,
result: {},
loading: false,
+ platformOptions: [],
issuePlatformMap: {
Local: 'Metersphere',
- Jira: 'JIRA',
Tapd: 'Tapd',
Zentao: '禅道',
AzureDevops: 'Azure Devops',
@@ -135,6 +136,10 @@ export default {
};
},
created() {
+ getPlatformOption()
+ .then((r) => {
+ this.platformOptions = r.data;
+ });
this.initTableData();
},
computed: {
@@ -142,7 +147,12 @@ export default {
return ISSUE_TEMPLATE_LIST;
},
platformFilters() {
- return ISSUE_PLATFORM_OPTION;
+ this.platformOptions.forEach(item => {
+ this.issuePlatformMap[item.value] = item.text;
+ });
+ let options = [...ISSUE_PLATFORM_OPTION];
+ options.push(...this.platformOptions);
+ return options;
},
tableHeight() {
return document.documentElement.clientHeight - 200;
diff --git a/system-setting/backend/pom.xml b/system-setting/backend/pom.xml
index e905bdaba8..b16473887e 100644
--- a/system-setting/backend/pom.xml
+++ b/system-setting/backend/pom.xml
@@ -26,6 +26,12 @@
metersphere-platform-plugin-sdk
io.metersphere
${platform-plugin-sdk.version}
+
+
+ io.metersphere
+ domain
+
+
diff --git a/system-setting/backend/src/main/java/io/metersphere/controller/PlatformPluginController.java b/system-setting/backend/src/main/java/io/metersphere/controller/PlatformPluginController.java
index ede7c8cf29..01b4f39eef 100644
--- a/system-setting/backend/src/main/java/io/metersphere/controller/PlatformPluginController.java
+++ b/system-setting/backend/src/main/java/io/metersphere/controller/PlatformPluginController.java
@@ -1,6 +1,6 @@
package io.metersphere.controller;
-import io.metersphere.domain.SelectOption;
+import io.metersphere.platform.domain.SelectOption;
import io.metersphere.dto.PlatformProjectOptionRequest;
import io.metersphere.service.PlatformPluginService;
import org.springframework.web.bind.annotation.*;
diff --git a/system-setting/backend/src/main/java/io/metersphere/service/PlatformPluginService.java b/system-setting/backend/src/main/java/io/metersphere/service/PlatformPluginService.java
index 275fff22f7..28c91de908 100644
--- a/system-setting/backend/src/main/java/io/metersphere/service/PlatformPluginService.java
+++ b/system-setting/backend/src/main/java/io/metersphere/service/PlatformPluginService.java
@@ -1,7 +1,7 @@
package io.metersphere.service;
-import io.metersphere.api.Platform;
-import io.metersphere.api.PluginMetaInfo;
+import io.metersphere.platform.api.Platform;
+import io.metersphere.platform.api.PluginMetaInfo;
import io.metersphere.base.domain.PluginWithBLOBs;
import io.metersphere.base.domain.ServiceIntegration;
import io.metersphere.base.mapper.PluginMapper;
@@ -11,11 +11,9 @@ import io.metersphere.commons.utils.BeanUtils;
import io.metersphere.commons.utils.JSON;
import io.metersphere.commons.utils.LogUtil;
import io.metersphere.commons.utils.SessionUtils;
-import io.metersphere.domain.GetOptionRequest;
-import io.metersphere.domain.PlatformRequest;
-import io.metersphere.domain.SelectOption;
+import io.metersphere.platform.domain.*;
import io.metersphere.dto.PlatformProjectOptionRequest;
-import io.metersphere.loader.PlatformPluginManager;
+import io.metersphere.platform.loader.PlatformPluginManager;
import io.metersphere.request.IntegrationRequest;
import io.metersphere.utils.PluginManagerUtil;
import org.apache.commons.lang3.StringUtils;
diff --git a/system-setting/backend/src/main/java/io/metersphere/service/plugin/MinioStorageStrategy.java b/system-setting/backend/src/main/java/io/metersphere/service/plugin/MinioStorageStrategy.java
index 41e0d9a8aa..a18977353e 100644
--- a/system-setting/backend/src/main/java/io/metersphere/service/plugin/MinioStorageStrategy.java
+++ b/system-setting/backend/src/main/java/io/metersphere/service/plugin/MinioStorageStrategy.java
@@ -1,6 +1,6 @@
package io.metersphere.service.plugin;
-import im.metersphere.storage.StorageStrategy;
+import im.metersphere.plugin.storage.StorageStrategy;
import io.metersphere.commons.constants.StorageConstants;
import io.metersphere.commons.utils.CommonBeanFactory;
import io.metersphere.metadata.service.FileManagerService;
diff --git a/system-setting/backend/src/main/java/io/metersphere/utils/PluginManagerUtil.java b/system-setting/backend/src/main/java/io/metersphere/utils/PluginManagerUtil.java
index e529259fde..95e7d2b796 100644
--- a/system-setting/backend/src/main/java/io/metersphere/utils/PluginManagerUtil.java
+++ b/system-setting/backend/src/main/java/io/metersphere/utils/PluginManagerUtil.java
@@ -1,6 +1,6 @@
package io.metersphere.utils;
-import im.metersphere.loader.PluginManager;
+import im.metersphere.plugin.loader.PluginManager;
import io.metersphere.base.domain.PluginWithBLOBs;
import io.metersphere.commons.exception.MSException;
import io.metersphere.commons.utils.LogUtil;
diff --git a/test-track/backend/src/main/java/io/metersphere/controller/IssuesController.java b/test-track/backend/src/main/java/io/metersphere/controller/IssuesController.java
index f0630db949..70beaa4505 100644
--- a/test-track/backend/src/main/java/io/metersphere/controller/IssuesController.java
+++ b/test-track/backend/src/main/java/io/metersphere/controller/IssuesController.java
@@ -17,13 +17,11 @@ import io.metersphere.log.annotation.MsAuditLog;
import io.metersphere.notice.annotation.SendNotice;
import io.metersphere.request.issues.IssueExportRequest;
import io.metersphere.request.issues.IssueImportRequest;
-import io.metersphere.request.issues.JiraIssueTypeRequest;
import io.metersphere.request.issues.PlatformIssueTypeRequest;
import io.metersphere.request.testcase.AuthUserIssueRequest;
import io.metersphere.request.testcase.IssuesCountRequest;
import io.metersphere.service.BaseCheckPermissionService;
import io.metersphere.service.IssuesService;
-import io.metersphere.service.issue.domain.jira.JiraIssueType;
import io.metersphere.service.issue.domain.zentao.ZentaoBuild;
import io.metersphere.xpack.track.dto.*;
import io.metersphere.xpack.track.dto.request.IssuesRequest;
@@ -186,14 +184,14 @@ public class IssuesController {
return issuesService.getThirdPartTemplate(projectId);
}
- @PostMapping("/jira/issuetype")
- public List getJiraIssueType(@RequestBody JiraIssueTypeRequest request) {
- return issuesService.getIssueTypes(request);
+ @GetMapping("/demand/list/{projectId}")
+ public List getDemandList(@PathVariable String projectId) {
+ return issuesService.getDemandList(projectId);
}
- @GetMapping("/demand/list/{projectId}")
- public List getDemandList(@PathVariable String projectId) {
- return issuesService.getDemandList(projectId);
+ @GetMapping("/third/part/template/enable/{projectId}")
+ public boolean thirdPartTemplateEnable(@PathVariable String projectId) {
+ return issuesService.thirdPartTemplateEnable(projectId);
}
@PostMapping("/platform/transitions")
diff --git a/test-track/backend/src/main/java/io/metersphere/excel/listener/IssueExcelListener.java b/test-track/backend/src/main/java/io/metersphere/excel/listener/IssueExcelListener.java
index c739ed0db9..57579dee6d 100644
--- a/test-track/backend/src/main/java/io/metersphere/excel/listener/IssueExcelListener.java
+++ b/test-track/backend/src/main/java/io/metersphere/excel/listener/IssueExcelListener.java
@@ -295,14 +295,14 @@ public class IssueExcelListener extends AnalysisEventListener