Skip to content

Commit

Permalink
Revert "Initial impl"
Browse files Browse the repository at this point in the history
This reverts commit 68ac005.
  • Loading branch information
I562548 committed Jan 7, 2025
1 parent 42bdd21 commit 606c0c4
Show file tree
Hide file tree
Showing 7 changed files with 184 additions and 379 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ private Messages() {
public static final String CALLING_CF_ROOT_0_TO_ACCESS_LOG_CACHE_URL = "Calling CF root: {0} to access log-cache URL";
public static final String CF_ROOT_REQUEST_FINISHED = "CF root request finished";
public static final String TRYING_TO_GET_APP_LOGS = "Trying to get app logs";
public static final String TRYING_TO_UPDATE_APPLICATION_PROCESS_WITH_ID = "Trying to update application process with id: {0}";
public static final String APP_LOGS_WERE_FETCHED_SUCCESSFULLY = "App logs were fetched successfully";

// WARN messages
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -49,30 +49,6 @@ public interface Staging {
@Nullable
String getHealthCheckHttpEndpoint();

/**
* @return readiness health check interval
*/
@Nullable
Integer getReadinessHealthCheckInterval();

/**
* @return readiness health check timeout
*/
@Nullable
Integer getReadinessHealthCheckTimeout();

/**
* @return readiness health check type
*/
@Nullable
String getReadinessHealthCheckType();

/**
* @return readiness health check http endpoint
*/
@Nullable
String getReadinessHealthCheckHttpEndpoint();

/**
* @return boolean value to see if ssh is enabled
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import com.sap.cloudfoundry.client.facade.CloudCredentials;
import com.sap.cloudfoundry.client.facade.adapters.CloudFoundryClientFactory;
import com.sap.cloudfoundry.client.facade.adapters.ImmutableCloudFoundryClientFactory;
import com.sap.cloudfoundry.client.facade.adapters.ReadinessHealthCheckClient;
import com.sap.cloudfoundry.client.facade.domain.CloudSpace;
import com.sap.cloudfoundry.client.facade.oauth2.OAuthClient;
import com.sap.cloudfoundry.client.facade.util.RestUtil;
Expand Down Expand Up @@ -65,7 +64,7 @@ public CloudControllerRestClient createClient(URL controllerUrl, CloudCredential
OAuthClient oAuthClient, Map<String, String> requestTags) {
oAuthClient.init(credentials);
CloudFoundryClient delegate = getCloudFoundryClientFactory().createClient(controllerUrl, oAuthClient, requestTags);
return new CloudControllerRestClientImpl(delegate, target, new ReadinessHealthCheckClient(oAuthClient, controllerUrl));
return new CloudControllerRestClientImpl(delegate, target);
}

private OAuthClient createOAuthClient(URL controllerUrl, String origin) {
Expand Down
Loading

0 comments on commit 606c0c4

Please sign in to comment.