shenyu
shenyu copied to clipboard
AppAuthData can't add param or path info
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