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
642ab42e
Commit
642ab42e
authored
Oct 22, 2024
by
yuanshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.将https改为http
parent
ff3ad9a4
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
24 additions
and
15 deletions
+24
-15
MatrixServiceImpl.java
...c/main/java/com/ruoyi/service/impl/MatrixServiceImpl.java
+2
-2
PdfTemplateManagementServiceImpl.java
.../ruoyi/service/impl/PdfTemplateManagementServiceImpl.java
+11
-2
StrategyModelTestTaskNew.java
...java/com/ruoyi/service/impl/StrategyModelTestTaskNew.java
+2
-2
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
+2
-2
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 @
642ab42e
...
...
@@ -56,7 +56,7 @@ public class MatrixServiceImpl implements MatrixService {
public
MatrixResponse
getMatrixForUrl
()
throws
IOException
{
//以post形式请求接口
String
result
=
HttpUtil
.
post
(
"http
s
://10.12.48.77:8090/DescribeScenarioTestTypeList"
,
""
);
String
result
=
HttpUtil
.
post
(
"http://10.12.48.77: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
(
"http
s
://10.12.48.77:8090/DescribeScenarioTestTypeList"
,
""
);
String
result
=
HttpUtil
.
post
(
"http://10.12.48.77:8090/DescribeScenarioTestTypeList"
,
""
);
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
result
);
// 获取测试场景列表
...
...
quality-review/src/main/java/com/ruoyi/service/impl/PdfTemplateManagementServiceImpl.java
View file @
642ab42e
...
...
@@ -353,7 +353,7 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe
for
(
String
[]
attachments
:
convertedList
)
{
// 遍历数组中的每个元素
for
(
String
attachmentId
:
attachments
)
{
HttpResponse
response
=
HttpUtil
.
createPost
(
"http
s
://10.12.48.77:8090/api/project/download/"
+
attachmentId
)
HttpResponse
response
=
HttpUtil
.
createPost
(
"http://10.12.48.77:8090/api/project/download/"
+
attachmentId
)
.
execute
();
if
(
response
.
isOk
())
{
...
...
@@ -624,7 +624,16 @@ public class PdfTemplateManagementServiceImpl implements PdfTemplateManagementSe
Paragraph
context
=
new
Paragraph
();
ElementList
elementList
=
null
;
try
{
elementList
=
parseToElementList
(
record
.
getTestDetails
(),
null
);
/*
* 判断一下testDetails是否为null
* */
String
testDetails
=
"<p>暂无<p>"
;
if
(
record
.
getTestDetails
()
==
null
){
elementList
=
parseToElementList
(
testDetails
,
null
);
}
else
{
elementList
=
parseToElementList
(
record
.
getTestDetails
(),
null
);
}
}
catch
(
IOException
e
)
{
throw
new
RuntimeException
(
e
);
}
...
...
quality-review/src/main/java/com/ruoyi/service/impl/StrategyModelTestTaskNew.java
View file @
642ab42e
...
...
@@ -165,7 +165,7 @@ public class StrategyModelTestTaskNew implements StrategyModelTestTask, Initiali
map
.
put
(
"verbose"
,
"DETAILED"
);
//以post形式请求接口
String
result
=
HttpUtil
.
post
(
"http
s
://10.12.48.77:8090/DescribeProjectComplianceResult"
,
JSONObject
.
toJSONString
(
map
));
String
result
=
HttpUtil
.
post
(
"http://10.12.48.77:8090/DescribeProjectComplianceResult"
,
JSONObject
.
toJSONString
(
map
));
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
result
);
/*//添加一个找不到的逻辑
...
...
@@ -190,7 +190,7 @@ public class StrategyModelTestTaskNew implements StrategyModelTestTask, Initiali
response
.
setModelTestTaskViewResponseList
(
list
);
// 用例
String
resultUseCase
=
HttpUtil
.
post
(
"http
s
://10.12.48.77:8090/DescribeProjectTestResult"
,
JSONObject
.
toJSONString
(
map
));
String
resultUseCase
=
HttpUtil
.
post
(
"http://10.12.48.77:8090/DescribeProjectTestResult"
,
JSONObject
.
toJSONString
(
map
));
JSONObject
jsonObjectUseCase
=
JSONObject
.
parseObject
(
resultUseCase
);
...
...
quality-review/src/main/java/com/ruoyi/service/impl/StrategyModelTestTaskPending.java
View file @
642ab42e
...
...
@@ -47,7 +47,7 @@ public class StrategyModelTestTaskPending implements StrategyModelTestTask, Init
@Autowired
private
ISysUserService
sysUserService
;
private
static
String
url
=
"http
s
://10.12.48.77:8090/DescribeProjectTestResult"
;
private
static
String
url
=
"http://10.12.48.77:8090/DescribeProjectTestResult"
;
@Override
public
ModelTestResponse
doView
(
ModelTestTask
modelTestTask
)
{
...
...
quality-review/src/main/java/com/ruoyi/service/impl/TaskServiceImpl.java
View file @
642ab42e
...
...
@@ -979,11 +979,11 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, Task>implements Tas
if
(
modelTestTask
.
getTestSchemeId
()
!=
null
)
{
// 用例维度
String
url
=
"http
s
://10.12.48.77:8090/DescribeProjectTestResult"
;
String
url
=
"http://10.12.48.77:8090/DescribeProjectTestResult"
;
Statistics
(
response
,
task
,
url
,
"useCase"
);
// 合规维度
String
urlCompliance
=
"http
s
://10.12.48.77:8090/DescribeProjectComplianceResult"
;
String
urlCompliance
=
"http://10.12.48.77: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
(
"http
s
://10.12.48.77:8090/DescribeProjectTestResult"
,
JSONObject
.
toJSONString
(
map
));
String
result
=
HttpUtil
.
post
(
"http://10.12.48.77:8090/DescribeProjectTestResult"
,
JSONObject
.
toJSONString
(
map
));
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
result
);
...
...
quality-review/src/main/java/com/ruoyi/service/impl/TestRecordsServiceImpl.java
View file @
642ab42e
...
...
@@ -42,7 +42,7 @@ public class TestRecordsServiceImpl extends ServiceImpl<TestRecordsMapper, TestR
map
.
put
(
"verbose"
,
"ALL"
);
//以post形式请求接口
String
result
=
HttpUtil
.
post
(
"http
s://10.12.48.78:8096
/DescribeProjectTestResult"
,
JSONObject
.
toJSONString
(
map
));
String
result
=
HttpUtil
.
post
(
"http
://10.12.48.78:8090
/DescribeProjectTestResult"
,
JSONObject
.
toJSONString
(
map
));
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
result
);
...
...
@@ -162,7 +162,7 @@ public class TestRecordsServiceImpl extends ServiceImpl<TestRecordsMapper, TestR
map
.
put
(
"verbose"
,
"ALL"
);
//以post形式请求接口
String
result
=
HttpUtil
.
post
(
"http
s
://10.12.48.77:8090/DescribeProjectTestResult"
,
JSONObject
.
toJSONString
(
map
));
String
result
=
HttpUtil
.
post
(
"http://10.12.48.77:8090/DescribeProjectTestResult"
,
JSONObject
.
toJSONString
(
map
));
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
result
);
...
...
quality-review/src/main/java/com/ruoyi/service/impl/TestScenarioServiceImpl.java
View file @
642ab42e
...
...
@@ -25,7 +25,7 @@ public class TestScenarioServiceImpl extends ServiceImpl<TestScenarioMapper, Tes
@Autowired
private
TestUseCaseService
testUseCaseService
;
private
static
String
url
=
"http
s
://10.12.48.77:8090/DescribeScenarioTestTypeList"
;
private
static
String
url
=
"http://10.12.48.77:8090/DescribeScenarioTestTypeList"
;
@Override
public
List
<
TestScenario
>
selectTestScenarioList
(
TestScenarioRequest
testScenarioRequest
){
...
...
quality-review/src/main/java/com/ruoyi/service/impl/TestTypeServiceImpl.java
View file @
642ab42e
...
...
@@ -42,7 +42,7 @@ public class TestTypeServiceImpl extends ServiceImpl<TestTypeMapper, TestType> i
@Override
public
List
<
String
>
getTestTypeList
()
{
//以post形式请求接口
String
result
=
HttpUtil
.
post
(
"http
s
://10.12.48.77:8090/DescribeScenarioTestTypeList"
,
""
);
String
result
=
HttpUtil
.
post
(
"http://10.12.48.77: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 @
642ab42e
...
...
@@ -36,7 +36,7 @@ import java.util.stream.Collectors;
@Transactional
public
class
TestUseCaseServiceImpl
extends
ServiceImpl
<
TestUseCaseMapper
,
TestUseCase
>
implements
TestUseCaseService
{
private
String
describeCaseList
=
"http
s
://10.12.48.77:8090/DescribeCaseList"
;
private
String
describeCaseList
=
"http://10.12.48.77: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