class MachineSpringResource {

    @GetMapping(path = "/{machineId}")
    @ApiOperation("Get single machine")
    public Machine getMachine(@PathVariable("machineId") String machineId) {
        return machineServiceStub.getMachine(Id.newBuilder().setId(machineId).build()).block(TIMEOUT);
    }

    @Inject public  MachineSpringResource(ReactorMachineServiceStub machineServiceStub);

}