refactor(项目管理): 消息通知初始化的值补全
This commit is contained in:
parent
01041aa309
commit
5054b764d8
|
@ -259,7 +259,7 @@ message.schedule_task_close=${OPERATOR}关闭了定时任务:${name}
|
||||||
message.title.test_plan_task_create=测试计划创建通知
|
message.title.test_plan_task_create=测试计划创建通知
|
||||||
message.title.test_plan_task_update=测试计划更新通知
|
message.title.test_plan_task_update=测试计划更新通知
|
||||||
message.title.test_plan_task_delete=测试计划删除通知
|
message.title.test_plan_task_delete=测试计划删除通知
|
||||||
message.title.test_plan_task_execute_success=测试计划执行成功通知
|
message.title.test_plan_task_execute_successful=测试计划执行成功通知
|
||||||
message.title.test_plan_task_execute_failed=测试计划执行失败通知
|
message.title.test_plan_task_execute_failed=测试计划执行失败通知
|
||||||
message.title.test_plan_report_task_delete=测试计划报告删除通知
|
message.title.test_plan_report_task_delete=测试计划报告删除通知
|
||||||
message.title.bug_task_create=缺陷创建通知
|
message.title.bug_task_create=缺陷创建通知
|
||||||
|
|
|
@ -296,7 +296,7 @@ message.schedule_task_close=${OPERATOR} closed the scheduled task: ${name}
|
||||||
message.title.test_plan_task_create=Test plan creation notification
|
message.title.test_plan_task_create=Test plan creation notification
|
||||||
message.title.test_plan_task_update=Test plan update notification
|
message.title.test_plan_task_update=Test plan update notification
|
||||||
message.title.test_plan_task_delete=Test plan deletion notification
|
message.title.test_plan_task_delete=Test plan deletion notification
|
||||||
message.title.test_plan_task_execute_success=Test plan execution success notification
|
message.title.test_plan_task_execute_successful=Test plan execution success notification
|
||||||
message.title.test_plan_task_execute_failed=Test plan execution failed notification
|
message.title.test_plan_task_execute_failed=Test plan execution failed notification
|
||||||
message.title.test_plan_report_task_delete=Test plan report deletion notification
|
message.title.test_plan_report_task_delete=Test plan report deletion notification
|
||||||
message.title.bug_task_create=Bug creation notification
|
message.title.bug_task_create=Bug creation notification
|
||||||
|
|
|
@ -297,7 +297,7 @@ message.schedule_task_close=${OPERATOR}关闭了定时任务:${name}
|
||||||
message.title.test_plan_task_create=测试计划创建通知
|
message.title.test_plan_task_create=测试计划创建通知
|
||||||
message.title.test_plan_task_update=测试计划更新通知
|
message.title.test_plan_task_update=测试计划更新通知
|
||||||
message.title.test_plan_task_delete=测试计划删除通知
|
message.title.test_plan_task_delete=测试计划删除通知
|
||||||
message.title.test_plan_task_execute_success=测试计划执行成功通知
|
message.title.test_plan_task_execute_successful=测试计划执行成功通知
|
||||||
message.title.test_plan_task_execute_failed=测试计划执行失败通知
|
message.title.test_plan_task_execute_failed=测试计划执行失败通知
|
||||||
message.title.test_plan_report_task_delete=测试计划报告删除通知
|
message.title.test_plan_report_task_delete=测试计划报告删除通知
|
||||||
message.title.bug_task_create=缺陷创建通知
|
message.title.bug_task_create=缺陷创建通知
|
||||||
|
|
|
@ -297,7 +297,7 @@ message.schedule_task_close=${OPERATOR}關閉了定時任務:${name}
|
||||||
message.title.test_plan_task_create=測試計劃創建通知
|
message.title.test_plan_task_create=測試計劃創建通知
|
||||||
message.title.test_plan_task_update=測試計劃更新通知
|
message.title.test_plan_task_update=測試計劃更新通知
|
||||||
message.title.test_plan_task_delete=測試計劃刪除通知
|
message.title.test_plan_task_delete=測試計劃刪除通知
|
||||||
message.title.test_plan_task_execute_success=測試計劃執行成功通知
|
message.title.test_plan_task_execute_successful=測試計劃執行成功通知
|
||||||
message.title.test_plan_task_execute_failed=測試計劃執行失敗通知
|
message.title.test_plan_task_execute_failed=測試計劃執行失敗通知
|
||||||
message.title.test_plan_report_task_delete=測試計劃報告刪除通知
|
message.title.test_plan_report_task_delete=測試計劃報告刪除通知
|
||||||
message.title.bug_task_create=缺陷創建通知
|
message.title.bug_task_create=缺陷創建通知
|
||||||
|
|
|
@ -78,7 +78,7 @@ public class CreateRobotResourceService implements CreateProjectResourceService
|
||||||
public void setMessageTask(String projectId, String defaultRobotId) {
|
public void setMessageTask(String projectId, String defaultRobotId) {
|
||||||
StringBuilder jsonStr = new StringBuilder();
|
StringBuilder jsonStr = new StringBuilder();
|
||||||
try {
|
try {
|
||||||
InputStream inputStream = getClass().getResourceAsStream("/message_task.json");
|
InputStream inputStream = getClass().getResourceAsStream("/init_message_task.json");
|
||||||
assert inputStream != null;
|
assert inputStream != null;
|
||||||
BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
|
BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
|
||||||
String line;
|
String line;
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -519,7 +519,7 @@ public class ProjectRobotControllerTests extends BaseTest {
|
||||||
public void setMessageTask(String projectId, String defaultRobotId) throws Exception {
|
public void setMessageTask(String projectId, String defaultRobotId) throws Exception {
|
||||||
StringBuilder jsonStr = new StringBuilder();
|
StringBuilder jsonStr = new StringBuilder();
|
||||||
try {
|
try {
|
||||||
InputStream inputStream = getClass().getResourceAsStream("/message_task.json");
|
InputStream inputStream = getClass().getResourceAsStream("/init_message_task.json");
|
||||||
BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
|
BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
|
||||||
String line;
|
String line;
|
||||||
while ((line = reader.readLine()) != null) {
|
while ((line = reader.readLine()) != null) {
|
||||||
|
|
|
@ -336,7 +336,7 @@ public interface NoticeConstants {
|
||||||
String TEST_PLAN_TASK_UPDATE = "TEST_PLAN_TASK_UPDATE";// 测试计划更新通知
|
String TEST_PLAN_TASK_UPDATE = "TEST_PLAN_TASK_UPDATE";// 测试计划更新通知
|
||||||
@Schema(description = "message.title.test_plan_task_delete")
|
@Schema(description = "message.title.test_plan_task_delete")
|
||||||
String TEST_PLAN_TASK_DELETE = "TEST_PLAN_TASK_DELETE";//测试计划删除通知
|
String TEST_PLAN_TASK_DELETE = "TEST_PLAN_TASK_DELETE";//测试计划删除通知
|
||||||
@Schema(description = "message.title.test_plan_task_execute_success")//测试计划执行成功通知
|
@Schema(description = "message.title.test_plan_task_execute_successful")//测试计划执行成功通知
|
||||||
String TEST_PLAN_TASK_EXECUTE_SUCCESSFUL = "TEST_PLAN_TASK_EXECUTE_SUCCESSFUL";
|
String TEST_PLAN_TASK_EXECUTE_SUCCESSFUL = "TEST_PLAN_TASK_EXECUTE_SUCCESSFUL";
|
||||||
@Schema(description = "message.title.test_plan_task_execute_failed")//测试计划执行失败通知
|
@Schema(description = "message.title.test_plan_task_execute_failed")//测试计划执行失败通知
|
||||||
String TEST_PLAN_TASK_EXECUTE_FAILED = "TEST_PLAN_TASK_EXECUTE_FAILED";
|
String TEST_PLAN_TASK_EXECUTE_FAILED = "TEST_PLAN_TASK_EXECUTE_FAILED";
|
||||||
|
|
Loading…
Reference in New Issue