Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vehicle-quality-review
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王飞
vehicle-quality-review
Commits
ff3ad9a4
Commit
ff3ad9a4
authored
Oct 21, 2024
by
宋源硕
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'songyuanshuo' into 'dev'
1.将
https://10.12.48.78改为https://10.12.48.77
See merge request
!445
parents
cabc388e
9bbdf5c8
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
17 additions
and
14 deletions
+17
-14
MatrixServiceImpl.java
...c/main/java/com/ruoyi/service/impl/MatrixServiceImpl.java
+2
-2
PdfTemplateManagementServiceImpl.java
.../ruoyi/service/impl/PdfTemplateManagementServiceImpl.java
+1
-1
StrategyModelTestTaskNew.java
...java/com/ruoyi/service/impl/StrategyModelTestTaskNew.java
+6
-3
StrategyModelTestTaskPending.java
.../com/ruoyi/service/impl/StrategyModelTestTaskPending.java
+1
-1
TaskServiceImpl.java
...src/main/java/com/ruoyi/service/impl/TaskServiceImpl.java
+3
-3
TestRecordsServiceImpl.java
...n/java/com/ruoyi/service/impl/TestRecordsServiceImpl.java
+1
-1
TestScenarioServiceImpl.java
.../java/com/ruoyi/service/impl/TestScenarioServiceImpl.java
+1
-1
TestTypeServiceImpl.java
...main/java/com/ruoyi/service/impl/TestTypeServiceImpl.java
+1
-1
TestUseCaseServiceImpl.java
...n/java/com/ruoyi/service/impl/TestUseCaseServiceImpl.java
+1
-1
No files found.
quality-review/src/main/java/com/ruoyi/service/impl/MatrixServiceImpl.java
View file @
ff3ad9a4
...
...
@@ -56,7 +56,7 @@ public class MatrixServiceImpl implements MatrixService {
public
MatrixResponse
getMatrixForUrl
()
throws
IOException
{
//以post形式请求接口
String
result
=
HttpUtil
.
post
(
"https://10.12.48.7
8
:8090/DescribeScenarioTestTypeList"
,
""
);
String
result
=
HttpUtil
.
post
(
"https://10.12.48.7
7
:8090/DescribeScenarioTestTypeList"
,
""
);
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
result
);
// 获取测试场景列表
...
...
@@ -121,7 +121,7 @@ public class MatrixServiceImpl implements MatrixService {
@Override
public
MatrixResponse
getMatrixForUrlPad
()
throws
IOException
{
//以post形式请求接口
String
result
=
HttpUtil
.
post
(
"https://10.12.48.7
8
:8090/DescribeScenarioTestTypeList"
,
""
);
String
result
=
HttpUtil
.
post
(
"https://10.12.48.7
7
:8090/DescribeScenarioTestTypeList"
,
""
);
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
result
);
// 获取测试场景列表
...
...
quality-review/src/main/java/com/ruoyi/service/impl/PdfTemplateManagementServiceImpl.java
View file @
ff3ad9a4
...
...
@@ -353,7 +353,7 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe
for
(
String
[]
attachments
:
convertedList
)
{
// 遍历数组中的每个元素
for
(
String
attachmentId
:
attachments
)
{
HttpResponse
response
=
HttpUtil
.
createPost
(
"https://10.12.48.7
8
:8090/api/project/download/"
+
attachmentId
)
HttpResponse
response
=
HttpUtil
.
createPost
(
"https://10.12.48.7
7
:8090/api/project/download/"
+
attachmentId
)
.
execute
();
if
(
response
.
isOk
())
{
...
...
quality-review/src/main/java/com/ruoyi/service/impl/StrategyModelTestTaskNew.java
View file @
ff3ad9a4
...
...
@@ -165,10 +165,13 @@ public class StrategyModelTestTaskNew implements StrategyModelTestTask, Initiali
map
.
put
(
"verbose"
,
"DETAILED"
);
//以post形式请求接口
String
result
=
HttpUtil
.
post
(
"https://10.12.48.7
8
:8090/DescribeProjectComplianceResult"
,
JSONObject
.
toJSONString
(
map
));
String
result
=
HttpUtil
.
post
(
"https://10.12.48.7
7
:8090/DescribeProjectComplianceResult"
,
JSONObject
.
toJSONString
(
map
));
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
result
);
/*//添加一个找不到的逻辑
if (jsonObject.getJSONObject("error") != null){
return response;
}*/
List
<
ModelTestViewVO
>
list
=
jsonObject
.
getList
(
"regulation_item_result_list"
,
ModelTestViewVO
.
class
);
if
(
list
!=
null
&&
!
list
.
isEmpty
())
{
...
...
@@ -187,7 +190,7 @@ public class StrategyModelTestTaskNew implements StrategyModelTestTask, Initiali
response
.
setModelTestTaskViewResponseList
(
list
);
// 用例
String
resultUseCase
=
HttpUtil
.
post
(
"https://10.12.48.7
8
:8090/DescribeProjectTestResult"
,
JSONObject
.
toJSONString
(
map
));
String
resultUseCase
=
HttpUtil
.
post
(
"https://10.12.48.7
7
:8090/DescribeProjectTestResult"
,
JSONObject
.
toJSONString
(
map
));
JSONObject
jsonObjectUseCase
=
JSONObject
.
parseObject
(
resultUseCase
);
...
...
quality-review/src/main/java/com/ruoyi/service/impl/StrategyModelTestTaskPending.java
View file @
ff3ad9a4
...
...
@@ -47,7 +47,7 @@ public class StrategyModelTestTaskPending implements StrategyModelTestTask, Init
@Autowired
private
ISysUserService
sysUserService
;
private
static
String
url
=
"https://10.12.48.7
8
:8090/DescribeProjectTestResult"
;
private
static
String
url
=
"https://10.12.48.7
7
:8090/DescribeProjectTestResult"
;
@Override
public
ModelTestResponse
doView
(
ModelTestTask
modelTestTask
)
{
...
...
quality-review/src/main/java/com/ruoyi/service/impl/TaskServiceImpl.java
View file @
ff3ad9a4
...
...
@@ -979,11 +979,11 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, Task>implements Tas
if
(
modelTestTask
.
getTestSchemeId
()
!=
null
)
{
// 用例维度
String
url
=
"https://10.12.48.7
8
:8090/DescribeProjectTestResult"
;
String
url
=
"https://10.12.48.7
7
:8090/DescribeProjectTestResult"
;
Statistics
(
response
,
task
,
url
,
"useCase"
);
// 合规维度
String
urlCompliance
=
"https://10.12.48.7
8
:8090/DescribeProjectComplianceResult"
;
String
urlCompliance
=
"https://10.12.48.7
7
:8090/DescribeProjectComplianceResult"
;
Statistics
(
response
,
task
,
urlCompliance
,
"compliance"
);
}
}
else
{
...
...
@@ -1184,7 +1184,7 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, Task>implements Tas
map
.
put
(
"verbose"
,
"BASIC"
);
//以post形式请求接口
String
result
=
HttpUtil
.
post
(
"https://10.12.48.7
8:8096
/DescribeProjectTestResult"
,
JSONObject
.
toJSONString
(
map
));
String
result
=
HttpUtil
.
post
(
"https://10.12.48.7
7:8090
/DescribeProjectTestResult"
,
JSONObject
.
toJSONString
(
map
));
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
result
);
...
...
quality-review/src/main/java/com/ruoyi/service/impl/TestRecordsServiceImpl.java
View file @
ff3ad9a4
...
...
@@ -162,7 +162,7 @@ public class TestRecordsServiceImpl extends ServiceImpl<TestRecordsMapper, TestR
map
.
put
(
"verbose"
,
"ALL"
);
//以post形式请求接口
String
result
=
HttpUtil
.
post
(
"https://10.12.48.7
8
:8090/DescribeProjectTestResult"
,
JSONObject
.
toJSONString
(
map
));
String
result
=
HttpUtil
.
post
(
"https://10.12.48.7
7
:8090/DescribeProjectTestResult"
,
JSONObject
.
toJSONString
(
map
));
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
result
);
...
...
quality-review/src/main/java/com/ruoyi/service/impl/TestScenarioServiceImpl.java
View file @
ff3ad9a4
...
...
@@ -25,7 +25,7 @@ public class TestScenarioServiceImpl extends ServiceImpl<TestScenarioMapper, Tes
@Autowired
private
TestUseCaseService
testUseCaseService
;
private
static
String
url
=
"https://10.12.48.7
8
:8090/DescribeScenarioTestTypeList"
;
private
static
String
url
=
"https://10.12.48.7
7
:8090/DescribeScenarioTestTypeList"
;
@Override
public
List
<
TestScenario
>
selectTestScenarioList
(
TestScenarioRequest
testScenarioRequest
){
...
...
quality-review/src/main/java/com/ruoyi/service/impl/TestTypeServiceImpl.java
View file @
ff3ad9a4
...
...
@@ -42,7 +42,7 @@ public class TestTypeServiceImpl extends ServiceImpl<TestTypeMapper, TestType> i
@Override
public
List
<
String
>
getTestTypeList
()
{
//以post形式请求接口
String
result
=
HttpUtil
.
post
(
"https://10.12.48.7
8
:8090/DescribeScenarioTestTypeList"
,
""
);
String
result
=
HttpUtil
.
post
(
"https://10.12.48.7
7
:8090/DescribeScenarioTestTypeList"
,
""
);
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
result
);
return
jsonObject
.
getList
(
"test_type_list"
,
TypeVO
.
class
)
...
...
quality-review/src/main/java/com/ruoyi/service/impl/TestUseCaseServiceImpl.java
View file @
ff3ad9a4
...
...
@@ -36,7 +36,7 @@ import java.util.stream.Collectors;
@Transactional
public
class
TestUseCaseServiceImpl
extends
ServiceImpl
<
TestUseCaseMapper
,
TestUseCase
>
implements
TestUseCaseService
{
private
String
describeCaseList
=
"https://10.12.48.7
8
:8090/DescribeCaseList"
;
private
String
describeCaseList
=
"https://10.12.48.7
7
:8090/DescribeCaseList"
;
@Autowired
private
TestUseCaseMapper
testUseCaseMapper
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment