class CloudFoundryContainerPlatform extends CloudFoundryPlatform implements SshBasedExperiment<CloudFoundryContainer> {

    @Override
    public String getEndpoint (CloudFoundryContainer container) {
        log.debug("Retrieving SSH Endpoint for {}", v(DataDogConstants.DATADOG_PLATFORM_KEY, this));
        return cloudFoundryClient.info()
                                 .get(GetInfoRequest.builder().build())
                                 .blockOptional().orElseThrow(EMPTY_RESPONSE.asChaosException())
                                 .getApplicationSshEndpoint();
    }

    @Autowired public  CloudFoundryContainerPlatform();

}