增加callback
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.volvo.ai.analytic.center.controller;
|
||||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.huaweicloud.sdk.eg.v1.model.*;
|
||||
import com.volvo.ai.analytic.center.dto.event.ListSubscriptionsRequestDto;
|
||||
import com.volvo.ai.analytic.center.dto.event.SubscriptionCreateReqDto;
|
||||
@@ -23,6 +24,12 @@ public class EGEventSubscriptionController {
|
||||
|
||||
@Resource
|
||||
HuaWeiEGService huaWeiService;
|
||||
|
||||
@PostMapping("/callback")
|
||||
public void callback(@RequestBody Object req){
|
||||
log.info("callback", JSON.toJSONString(req));
|
||||
|
||||
}
|
||||
/**
|
||||
* 发布事件到事件通道
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user