use of org.springframework.ide.vscode.commons.cloudfoundry.client.cftarget.CfClientConfig in project sts4 by spring-projects.
the class ManifestYamlActualCfClientTest method setup.
@Before
public void setup() throws Exception {
cfJson = new CfJson();
CfTargetsInfo info = getTargetsInfoFromEnv();
CfTargetsInfoProvder provider = new CfTargetsInfoProvder(info);
CfClientConfig cfClientConfig = CfClientConfig.createDefault(provider);
CloudFoundryClientFactory clientFactory = DefaultCloudFoundryClientFactoryV2.INSTANCE;
cfTargetCache = new CFTargetCache(cfClientConfig, clientFactory, new ClientTimeouts());
}
Aggregations