use of com.sequenceiq.cloudbreak.cloud.event.setup.SshUserRequest in project cloudbreak by hortonworks.
the class SshUserHandler method accept.
@Override
public void accept(Event<SshUserRequest> event) {
LOGGER.info("Received event: {}", event);
SshUserRequest request = event.getData();
CloudContext cloudContext = request.getCloudContext();
request.getResult().onNext(new SshUserResponse(cloudContext, request.getLoginUserName()));
}
Aggregations