Skip to content

Commit

Permalink
Remove deprecated usage of dynprod/dyntest DNS in evcache-core.
Browse files Browse the repository at this point in the history
  • Loading branch information
stristr committed Aug 22, 2023
1 parent db4014a commit 0e3235e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ private Persisted2ClientConfig getConfig() {

final String region = System.getProperty("netflix.region", getSystemEnvValue("NETFLIX_REGION", "us-east-1"));
final String env = System.getProperty("netflix.environment", getSystemEnvValue("NETFLIX_ENVIRONMENT", "test"));
String url = System.getProperty("platformserviceurl", "http://platformservice."+region+".dyn" + env +".netflix.net:7001/platformservice/REST/v2/properties/jsonFilterprops");
String url = System.getProperty("platformserviceurl", String.format("http://platformservice.cluster.%s.%s.cloud.netflix.net:7001/platformservice/REST/v2/properties/jsonFilterprops", region, env));

return new DefaultPersisted2ClientConfig()
.setEnabled(true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private Map<ServerGroup, EVCacheServerGroupConfig> bootstrapFromEureka(String ap

if(env == null || region == null) return Collections.<ServerGroup, EVCacheServerGroupConfig> emptyMap();

final String url = "http://discoveryreadonly." + region + ".dyn" + env + ".netflix.net:7001/v2/apps/" + appName;
final String url = String.format("http://discoveryreadonly.cluster.%s.%s.cloud.netflix.net:7001/v2/apps/%s", region, env, appName);
final CloseableHttpClient httpclient = HttpClients.createDefault();
final long start = System.currentTimeMillis();
PropertyRepository props = EVCacheConfig.getInstance().getPropertyRepository();
Expand Down

0 comments on commit 0e3235e

Please sign in to comment.