diff --git a/Dockerfile-uat b/Dockerfile-uat
index c441d3f..380716f 100644
--- a/Dockerfile-uat
+++ b/Dockerfile-uat
@@ -1,7 +1,7 @@
FROM harbor.dcos.guangzhou.unicom.local/eshop/jdk8_springboot_agent:v1.6
-ENV LC_ALL=zh_CN.utf8
-ENV LANG=zh_CN.utf8
-ENV LANGUAGE=zh_CN.utf8
-RUN localedef -c -f UTF-8 -i zh_CN zh_CN.utf8
+#ENV LC_ALL=zh_CN.utf8
+#ENV LANG=zh_CN.utf8
+#ENV LANGUAGE=zh_CN.utf8
+#RUN localedef -c -f UTF-8 -i zh_CN zh_CN.utf8
ADD /target/biz_service_ebtp_extend-0.0.1.jar /biz_service_ebtp_extend-0.0.1.jar
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-javaagent:/skywalking/agent/skywalking-agent.jar","-jar", "/biz_service_ebtp_extend-0.0.1.jar"]
diff --git a/deployment-dev.yaml b/deployment-dev.yaml
index 12bfa41..0871a9f 100644
--- a/deployment-dev.yaml
+++ b/deployment-dev.yaml
@@ -39,6 +39,10 @@ spec:
- name: log
hostPath:
path: /var/lib/docker/log/349553515466-test/default-group/all #开发环境
+ - name: storage
+ persistentVolumeClaim:
+ claimName: file-pvc
+ readOnly: false
# 必选,Pod中容器列表
containers:
- name: biz-service-ebtp-extend
@@ -47,6 +51,8 @@ spec:
volumeMounts:
- name: log
mountPath: /log
+ - name: storage
+ mountPath: /storage
# 需要暴露的端口库号列表
ports:
- containerPort: 18018
diff --git a/deployment-master.yaml b/deployment-master.yaml
index 04c5d8d..8bd9734 100644
--- a/deployment-master.yaml
+++ b/deployment-master.yaml
@@ -39,6 +39,10 @@ spec:
- name: log
hostPath:
path: /var/lib/docker/log/349553515466-prod/default-group/30days
+ - name: storage
+ persistentVolumeClaim:
+ claimName: file-pvc
+ readOnly: false
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
@@ -57,6 +61,8 @@ spec:
volumeMounts:
- name: log
mountPath: /log
+ - name: storage
+ mountPath: /storage
ports:
- containerPort: 18018
livenessProbe:
diff --git a/deployment-sim.yaml b/deployment-sim.yaml
index 6d1ff47..7e5c941 100644
--- a/deployment-sim.yaml
+++ b/deployment-sim.yaml
@@ -39,6 +39,10 @@ spec:
- name: log
hostPath:
path: /var/lib/docker/log/349553515466-preprod/default-group/all #开发环境
+ - name: storage
+ persistentVolumeClaim:
+ claimName: file-pvc
+ readOnly: false
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
@@ -57,6 +61,8 @@ spec:
volumeMounts:
- name: log
mountPath: /log
+ - name: storage
+ mountPath: /storage
ports:
- containerPort: 18018
resources:
diff --git a/deployment-uat.yaml b/deployment-uat.yaml
index c166313..c75f587 100644
--- a/deployment-uat.yaml
+++ b/deployment-uat.yaml
@@ -40,7 +40,10 @@ spec:
- name: log
hostPath:
path: /var/lib/docker/log/349553515466-uat/default-group/all #开发环境
-
+ - name: storage
+ persistentVolumeClaim:
+ claimName: file-pvc
+ readOnly: false
# 必选,Pod中容器列表
containers:
- name: biz-service-ebtp-extend
@@ -49,6 +52,8 @@ spec:
volumeMounts:
- name: log
mountPath: /log
+ - name: storage
+ mountPath: /storage
# 需要暴露的端口库号列表
ports:
- containerPort: 18018
diff --git a/lib/aspose-words-16.8.0-javadoc.jar b/lib/aspose-words-16.8.0-javadoc.jar
new file mode 100644
index 0000000..075f5dd
Binary files /dev/null and b/lib/aspose-words-16.8.0-javadoc.jar differ
diff --git a/lib/aspose-words-16.8.0-jdk16.jar b/lib/aspose-words-16.8.0-jdk16.jar
new file mode 100644
index 0000000..8433d9e
Binary files /dev/null and b/lib/aspose-words-16.8.0-jdk16.jar differ
diff --git a/pom.xml b/pom.xml
index 2a0b67f..80857ba 100644
--- a/pom.xml
+++ b/pom.xml
@@ -54,13 +54,13 @@
poi
4.1.2
-
+
org.apache.poi
poi-ooxml
4.1.2
-
+
org.apache.poi
poi-ooxml-schemas
@@ -71,6 +71,7 @@
commons-httpclient
3.1
+
jit.vstk
jit-vstk
@@ -78,6 +79,21 @@
system
${basedir}/lib/jit-vstk-jdk15-2.0.50-20150603.060911-1.jar
+
+ aspose.javadoc
+ aspose.javadoc
+ 16.8.0
+ system
+ ${basedir}/lib/aspose-words-16.8.0-javadoc.jar
+
+
+ aspose.jdk16
+ aspose.jdk16
+ 16.8.0
+ system
+ ${basedir}/lib/aspose-words-16.8.0-jdk16.jar
+
+
org.apache.velocity
velocity-tools
@@ -89,7 +105,11 @@
-
+
+ e-iceblue
+ spire.doc.free
+ 3.9.0
+
@@ -105,6 +125,11 @@
always
+
+
+ com.e-iceblue
+ http://repo.e-iceblue.cn/repository/maven-public/
+
diff --git a/src/main/java/com/chinaunicom/mall/ebtp/extend/feign/client/RiskManageRegulationService.java b/src/main/java/com/chinaunicom/mall/ebtp/extend/feign/client/RiskManageRegulationService.java
new file mode 100644
index 0000000..d1ff15b
--- /dev/null
+++ b/src/main/java/com/chinaunicom/mall/ebtp/extend/feign/client/RiskManageRegulationService.java
@@ -0,0 +1,38 @@
+package com.chinaunicom.mall.ebtp.extend.feign.client;
+
+/**
+ * 风险管控接口调用
+ * @author daixc
+ * @date 2021/08/18
+ */
+import com.chinaunicom.mall.ebtp.common.base.entity.BaseResponse;
+import com.chinaunicom.mall.ebtp.extend.feign.client.factory.RiskManageRegulationServiceFallbackFactory;
+import com.chinaunicom.mall.ebtp.extend.riskmanage.entity.RiskManageRegulation;
+import com.chinaunicom.mall.ebtp.extend.riskmanage.entity.RiskManageRegulationGroupApply;
+import com.chinaunicom.mall.ebtp.extend.feign.entity.risk.RiskManageRegulationGroupOuterVO;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+
+import java.util.List;
+
+@FeignClient(value = "${mconfig.feign.name.strategy-center}",path = "/outer/v1.0/riskManageRegulation",
+ fallbackFactory = RiskManageRegulationServiceFallbackFactory.class)
+public interface RiskManageRegulationService {
+
+ /**
+ * 查询规则模型列表接口
+ * @param riskManageRegulation 风险管控规则模型
+ * @return 返回结果
+ */
+ @PostMapping({"/findRegulationParams"})
+ BaseResponse> findRegulationParams(@RequestBody RiskManageRegulation riskManageRegulation);
+
+ /**
+ * 执行风控规则
+ * @param regulationGroupApply 风控规则对象
+ * @return 返回结果
+ */
+ @PostMapping({"/applyRegulation"})
+ BaseResponse