fix(cf): remove cf secondary cache expiry to prevent expensive api calls
spinnaker/spinnaker#5286
MODIFY
clouddriver-cloudfoundry/src/main/java/com/netflix/spinnaker/clouddriver/cloudfoundry/client/Applications.java
clouddriver-cloudfoundry/src/main/java/com/netflix/spinnaker/clouddriver/cloudfoundry/client/Applications.java
@@ -42,7 +42,6 @@ import java.io.InputStream;
import java.nio.charset.Charset;
import java.util.*;
import java.util.concurrent.ExecutionException;
-import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
@@ -66,7 +65,6 @@ public class Applications {
private final LoadingCache<String, CloudFoundryServerGroup> serverGroupCache =
CacheBuilder.newBuilder()
- .expireAfterWrite(5, TimeUnit.MINUTES)
.build(
new CacheLoader<String, CloudFoundryServerGroup>() {
@Override

fix(cf): remove cf secondary cache expiry to prevent expensive api calls (#4244)

spinnaker/spinnaker#5286