发布应用到网关失败 防止流程阻塞
This commit is contained in:
parent
1cce4f9888
commit
4c25b8ab4b
|
@ -130,7 +130,11 @@ public class ResourceOwnerListener implements TaskListener, ExecutionListener, A
|
|||
re.setDelFlag(0);
|
||||
resourceService.update(re);
|
||||
logger.error("审批通过!资源id:" + re.getId());
|
||||
try {
|
||||
apiGatewayService.registerApi2Gateway(String.valueOf(re.getId())); // 发布到应用网关
|
||||
} catch (Exception exception) {
|
||||
logger.error("发布到应用网关", exception);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue