From e994631afa82fa23a4d8679c9d1d3e808eb9cf26 Mon Sep 17 00:00:00 2001 From: zuoqinbo Date: Fri, 27 Oct 2023 19:16:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:REQ-1419=20=E4=BB=A3=E7=A0=81=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/bootstrap.yml | 2 +- ...t-client.env.json => http-client.env.json} | 0 .../src/test/resources/robot.http | 17 +++++++++++ .../src/test/resources/role-user.http | 29 ------------------- 4 files changed, 18 insertions(+), 30 deletions(-) rename integration-test/src/test/resources/{rest-client.env.json => http-client.env.json} (100%) create mode 100644 integration-test/src/test/resources/robot.http delete mode 100644 integration-test/src/test/resources/role-user.http diff --git a/im-center-server/src/main/resources/bootstrap.yml b/im-center-server/src/main/resources/bootstrap.yml index 9c43407..a291932 100644 --- a/im-center-server/src/main/resources/bootstrap.yml +++ b/im-center-server/src/main/resources/bootstrap.yml @@ -22,7 +22,7 @@ spring: cloud: nacos: config: - server-addr: ${NACOS_HOST:dev-nacos.axzo.cn}:${NACOS_PORT:80} + server-addr: ${NACOS_HOST:https://dev-nacos.axzo.cn}:${NACOS_PORT:443} file-extension: yaml namespace: ${NACOS_NAMESPACE_ID:f82179f1-81a9-41a1-a489-4f9ab5660a6e} --- diff --git a/integration-test/src/test/resources/rest-client.env.json b/integration-test/src/test/resources/http-client.env.json similarity index 100% rename from integration-test/src/test/resources/rest-client.env.json rename to integration-test/src/test/resources/http-client.env.json diff --git a/integration-test/src/test/resources/robot.http b/integration-test/src/test/resources/robot.http new file mode 100644 index 0000000..730daff --- /dev/null +++ b/integration-test/src/test/resources/robot.http @@ -0,0 +1,17 @@ +### +POST {{host}}/api/im/robot/tag/save +Accept: application/json +Content-Type: application/json + +{"tagName":"机器人Tag2","color":"RED"} + +> reponse-check.js + + + + + + + + + diff --git a/integration-test/src/test/resources/role-user.http b/integration-test/src/test/resources/role-user.http deleted file mode 100644 index af76b4e..0000000 --- a/integration-test/src/test/resources/role-user.http +++ /dev/null @@ -1,29 +0,0 @@ -### -POST {{host}}/api/saas-role-user/list -Accept: application/json -Content-Type: application/json - -{ - "identityIds": [809,631] -} - -> reponse-check.js - -### -POST {{host}}/api/saas-role-user/delete -Accept: application/json -Content-Type: application/json - -{ - -} - -> reponse-check.js - - - - - - - -