class MtasApiServiceImpl implements MtasApiService {

    protected ResponseEntity<List<Mta>> getAllMtas(String spaceGuid) {
        List<DeployedMta> deployedMtas = deployedMtaDetector.detectDeployedMtas(getCloudFoundryClient(spaceGuid));

        return ResponseEntity.ok()
                             .body(getMtas(deployedMtas));
    }

}