shenyu icon indicating copy to clipboard operation
shenyu copied to clipboard

AppAuthData can't add param or path info

Open ttttangzhen opened this issue 5 years ago • 0 comments

Describe the bug

when AppAuthData init or change ,it won't load param info or path info.

@Override
    public List<AppAuthData> listAll() {
        return appAuthMapper.selectAll()
                .stream()
                .map(appAuthDO -> new AppAuthData(appAuthDO.getAppKey(), appAuthDO.getAppSecret(), appAuthDO.getEnabled(), appAuthDO.getOpen(), null, null))
                .collect(Collectors.toList());
    }

because in the updateAppAuthCache() param info and path info will always be null.


Another problem is WebsocketSyncDataService will print so many ping message successful logs.

websocket send to [ws://localhost:9095/websocket] ping message successful
websocket send to [ws://localhost:9095/websocket] ping message successful
websocket send to [ws://localhost:9095/websocket] ping message successful
websocket send to [ws://localhost:9095/websocket] ping message successful

ttttangzhen avatar Apr 28 '21 10:04 ttttangzhen