From 7969c38ef8f0148537104179e0f24caf25b2ad7c Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Mon, 26 Oct 2020 09:59:40 +0800 Subject: [PATCH 1/4] =?UTF-8?q?refactor(=E6=8E=A5=E5=8F=A3=E6=B5=8B?= =?UTF-8?q?=E8=AF=95):=20=E4=BF=AE=E6=94=B9=E5=85=A8=E5=B1=80=E5=8F=98?= =?UTF-8?q?=E9=87=8F=E4=BB=A3=E7=A0=81=E6=A8=A1=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/test/components/processor/Jsr233Processor.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/business/components/api/test/components/processor/Jsr233Processor.vue b/frontend/src/business/components/api/test/components/processor/Jsr233Processor.vue index 18b972149d..a1af2e7e68 100644 --- a/frontend/src/business/components/api/test/components/processor/Jsr233Processor.vue +++ b/frontend/src/business/components/api/test/components/processor/Jsr233Processor.vue @@ -42,11 +42,11 @@ }, { title: this.$t('api_test.request.processor.code_template_get_global_variable'), - value: '${__P("variable_name")}', + value: 'props.get("variable_name")', }, { title: this.$t('api_test.request.processor.code_template_set_global_variable'), - value: '${__setProperty("variable_name","variable_value",)}', + value: 'props.put("variable_name", "variable_value")', }, { title: this.$t('api_test.request.processor.code_template_get_response_header'), From d5e635d8720c60e50c07f4bd7822d27e721be028 Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Mon, 26 Oct 2020 14:21:29 +0800 Subject: [PATCH 2/4] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dlogback=E4=B8=AD?= =?UTF-8?q?=E7=9A=84sql=E6=97=A5=E5=BF=97=E6=97=A0=E6=B3=95=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/main/resources/logback.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/resources/logback.xml b/backend/src/main/resources/logback.xml index becb9adf51..0f3cef9423 100644 --- a/backend/src/main/resources/logback.xml +++ b/backend/src/main/resources/logback.xml @@ -153,7 +153,7 @@ - + From fd962b2c1dc755c4f2d1dd2396244b585daee75c Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Mon, 26 Oct 2020 14:32:39 +0800 Subject: [PATCH 3/4] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):?= =?UTF-8?q?=20TCP=E8=AF=B7=E6=B1=82=E5=AF=BC=E5=85=A5=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/metersphere/api/dto/scenario/request/Request.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/api/dto/scenario/request/Request.java b/backend/src/main/java/io/metersphere/api/dto/scenario/request/Request.java index 49426bb96f..0d8276b0fc 100644 --- a/backend/src/main/java/io/metersphere/api/dto/scenario/request/Request.java +++ b/backend/src/main/java/io/metersphere/api/dto/scenario/request/Request.java @@ -19,7 +19,7 @@ import lombok.Data; @JsonSubTypes.Type(value = SqlRequest.class, name = RequestType.SQL), @JsonSubTypes.Type(value = TCPRequest.class, name = RequestType.TCP) }) -@JSONType(seeAlso = {HttpRequest.class, DubboRequest.class, SqlRequest.class}, typeKey = "type") +@JSONType(seeAlso = {HttpRequest.class, DubboRequest.class, SqlRequest.class, TCPRequest.class}, typeKey = "type") @Data public abstract class Request { @JSONField(ordinal = 1) From e33e92c6d7694ffc8bbfddd8e6e8b12a4d5f99a2 Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Mon, 26 Oct 2020 16:13:54 +0800 Subject: [PATCH 4/4] =?UTF-8?q?refactor(=E6=B6=88=E6=81=AF=E9=80=9A?= =?UTF-8?q?=E7=9F=A5):=20=E6=8B=86=E5=88=86=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../organization/TaskNotification.vue | 613 +----------------- .../components/DefectTaskNotification.vue | 220 +++++++ .../components/JenkinsNotification.vue | 221 +++++++ .../components/TestPlanTaskNotification.vue | 242 +++++++ .../components/TestReviewNotification.vue | 248 +++++++ 5 files changed, 955 insertions(+), 589 deletions(-) create mode 100644 frontend/src/business/components/settings/organization/components/DefectTaskNotification.vue create mode 100644 frontend/src/business/components/settings/organization/components/JenkinsNotification.vue create mode 100644 frontend/src/business/components/settings/organization/components/TestPlanTaskNotification.vue create mode 100644 frontend/src/business/components/settings/organization/components/TestReviewNotification.vue diff --git a/frontend/src/business/components/settings/organization/TaskNotification.vue b/frontend/src/business/components/settings/organization/TaskNotification.vue index 058d4c9b51..7b6838795e 100644 --- a/frontend/src/business/components/settings/organization/TaskNotification.vue +++ b/frontend/src/business/components/settings/organization/TaskNotification.vue @@ -1,488 +1,48 @@ + + diff --git a/frontend/src/business/components/settings/organization/components/JenkinsNotification.vue b/frontend/src/business/components/settings/organization/components/JenkinsNotification.vue new file mode 100644 index 0000000000..c1bb5da081 --- /dev/null +++ b/frontend/src/business/components/settings/organization/components/JenkinsNotification.vue @@ -0,0 +1,221 @@ + + + + + diff --git a/frontend/src/business/components/settings/organization/components/TestPlanTaskNotification.vue b/frontend/src/business/components/settings/organization/components/TestPlanTaskNotification.vue new file mode 100644 index 0000000000..630f769e87 --- /dev/null +++ b/frontend/src/business/components/settings/organization/components/TestPlanTaskNotification.vue @@ -0,0 +1,242 @@ + + + + + diff --git a/frontend/src/business/components/settings/organization/components/TestReviewNotification.vue b/frontend/src/business/components/settings/organization/components/TestReviewNotification.vue new file mode 100644 index 0000000000..91aaadb4a6 --- /dev/null +++ b/frontend/src/business/components/settings/organization/components/TestReviewNotification.vue @@ -0,0 +1,248 @@ + + + + +