hi
As the samples in SDK "chassis-app/chassis-service" ,the samples use the "ChassisDataAdapter implements DataProviderAdapter" to get data.
Here I want to get the web client ip information in the provider constructor.
One way I thought out is to use the "_userSessionService",but "_userSessionService.getUserSession()" return null!
Is there any new way to get the IP?
public ChassisDataAdapter(UserSessionService userSessionService,VimObjectReferenceService vimObjectReferenceService) {
_objectRefService = vimObjectReferenceService;
_userSessionService = userSessionService;
//Here to get Web client IP info
createChassis();
}