Merge branch 'master-shared' into uat
This commit is contained in:
@ -36,10 +36,9 @@ spec:
|
|||||||
# 定义容器模板,该模板可以包含多个容器
|
# 定义容器模板,该模板可以包含多个容器
|
||||||
spec:
|
spec:
|
||||||
volumes:
|
volumes:
|
||||||
- name: log
|
- name: log
|
||||||
persistentVolumeClaim:
|
hostPath:
|
||||||
claimName: log-pvc
|
path: /var/lib/docker/log/349553515466-prod/default-group/30days
|
||||||
readOnly: false
|
|
||||||
affinity:
|
affinity:
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
@ -60,25 +59,25 @@ spec:
|
|||||||
mountPath: /log
|
mountPath: /log
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 18018
|
- containerPort: 18018
|
||||||
#livenessProbe:
|
livenessProbe:
|
||||||
# failureThreshold: 3
|
failureThreshold: 3
|
||||||
# httpGet:
|
httpGet:
|
||||||
# port: 18018 #[11] pod存活检测端口,修改为该微服务配置文件中server.port的端口号,与参数[5]相同
|
port: 18018 #[11] pod存活检测端口,修改为该微服务配置文件中server.port的端口号,与参数[5]相同
|
||||||
# path: /actuator/prometheus
|
path: /actuator/health
|
||||||
# scheme: HTTP
|
scheme: HTTP
|
||||||
# initialDelaySeconds: 300
|
initialDelaySeconds: 300
|
||||||
# periodSeconds: 60
|
periodSeconds: 60
|
||||||
# successThreshold: 1
|
successThreshold: 1
|
||||||
# timeoutSeconds: 2
|
timeoutSeconds: 2
|
||||||
#readinessProbe:
|
readinessProbe:
|
||||||
# failureThreshold: 1
|
failureThreshold: 1
|
||||||
# httpGet:
|
httpGet:
|
||||||
# port: 18018 #[12] pod就绪检测端口,修改为该微服务配置文件中server.port的端口号,与参数[5]相同
|
port: 18018 #[12] pod就绪检测端口,修改为该微服务配置文件中server.port的端口号,与参数[5]相同
|
||||||
# path: /actuator/prometheus
|
path: /actuator/health
|
||||||
# scheme: HTTP
|
scheme: HTTP
|
||||||
# periodSeconds: 5
|
periodSeconds: 5
|
||||||
# successThreshold: 2
|
successThreshold: 2
|
||||||
# timeoutSeconds: 2
|
timeoutSeconds: 2
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 1000m
|
cpu: 1000m
|
||||||
@ -90,13 +89,21 @@ spec:
|
|||||||
- name: AGENT_LICENCE
|
- name: AGENT_LICENCE
|
||||||
value: 527BFA7B28577578
|
value: 527BFA7B28577578
|
||||||
- name: APP_NAME
|
- name: APP_NAME
|
||||||
value: biz_service_ebtp_extend
|
value: biz_ebtp_extend #24位长度限,制统一去掉service
|
||||||
- name: APOLLO_CONFIGSERVICE
|
- name: APOLLO_CONFIGSERVICE
|
||||||
value: http://apollo-configservice:8080
|
value: http://apollo-configservice:8080
|
||||||
- name: MY_POD_IP
|
- name: MY_POD_IP
|
||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: status.podIP
|
fieldPath: status.podIP
|
||||||
|
- name: JAVA_TOOL_OPTIONS
|
||||||
|
value: -XX:+UnlockExperimentalVMOptions
|
||||||
|
-XX:+UseContainerSupport
|
||||||
|
-XX:+UseCGroupMemoryLimitForHeap
|
||||||
|
-XX:InitialRAMPercentage=40.0
|
||||||
|
-XX:MinRAMPercentage=20.0
|
||||||
|
-XX:MaxRAMPercentage=80.0
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: Service
|
kind: Service
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
@ -33,6 +33,7 @@ public class BizBidSharedServiceImpl extends BaseServiceImpl<BizBidSharedMapper,
|
|||||||
LambdaQueryWrapper<BizBidShared> wrapper = Wrappers.lambdaQuery();
|
LambdaQueryWrapper<BizBidShared> wrapper = Wrappers.lambdaQuery();
|
||||||
wrapper.like(StrUtil.isNotEmpty(bizBidNotice.getSharedName()), BizBidShared::getSharedName, bizBidNotice.getSharedName())
|
wrapper.like(StrUtil.isNotEmpty(bizBidNotice.getSharedName()), BizBidShared::getSharedName, bizBidNotice.getSharedName())
|
||||||
.like(StrUtil.isNotEmpty(bizBidNotice.getSharedRole()), BizBidShared::getSharedRole, bizBidNotice.getSharedRole())
|
.like(StrUtil.isNotEmpty(bizBidNotice.getSharedRole()), BizBidShared::getSharedRole, bizBidNotice.getSharedRole())
|
||||||
|
.like(BizBidShared::getSharedRoles,user.getCurrentRoleCode())
|
||||||
.orderByDesc(BizBidShared::getCreateDate);
|
.orderByDesc(BizBidShared::getCreateDate);
|
||||||
|
|
||||||
if (bizBidNotice.getCreateDate() != null) {
|
if (bizBidNotice.getCreateDate() != null) {
|
||||||
|
Reference in New Issue
Block a user