Browse Source

Merge remote-tracking branch 'remotes/origin/dev' into release

dev_shibei_match
jianjun 5 years ago
parent
commit
5fc0fd56ac
  1. 2
      epmet-openapi/epmet-openapi-scan/deploy/docker-compose-dev.yml
  2. 2
      epmet-openapi/epmet-openapi-scan/pom.xml
  3. 2
      epmet-openapi/epmet-openapi-scan/src/main/java/com/epmet/openapi/scan/service/impl/ScanServiceImpl.java

2
epmet-openapi/epmet-openapi-scan/deploy/docker-compose-dev.yml

@ -2,7 +2,7 @@ version: "3.7"
services:
epmet-openapi-scan:
container_name: epmet-openapi-scan-dev
image: 192.168.1.130:10080/epmet-cloud-dev/epmet-openapi-scan:0.3.10
image: 192.168.1.130:10080/epmet-cloud-dev/epmet-openapi-scan:0.3.11
ports:
- "8107:8107"
network_mode: host # 不会创建新的网络

2
epmet-openapi/epmet-openapi-scan/pom.xml

@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<version>0.3.10</version>
<version>0.3.11</version>
<artifactId>epmet-openapi-scan</artifactId>
<packaging>jar</packaging>

2
epmet-openapi/epmet-openapi-scan/src/main/java/com/epmet/openapi/scan/service/impl/ScanServiceImpl.java

@ -191,7 +191,7 @@ public class ScanServiceImpl implements ScanService {
boolean isSuccess = true;
for (SceneDetailResult sceneResult : sceneResults) {
String suggestion = sceneResult.getSuggestion();
if (SuggestionEnum.BLOCK.getCode().equals(suggestion)) {
if (SuggestionEnum.PASS.getCode().equals(suggestion)) {
isSuccess = false;
break;
}

Loading…
Cancel
Save