Skip to content

Commit

Permalink
support refreshing provider ip blocks every hour (#2644)
Browse files Browse the repository at this point in the history
  • Loading branch information
havetisyan authored Jul 4, 2024
1 parent cfdcc86 commit 26c0d62
Show file tree
Hide file tree
Showing 6 changed files with 401 additions and 177 deletions.
2 changes: 1 addition & 1 deletion servers/zts/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<packaging>war</packaging>

<properties>
<code.coverage.min>0.9954</code.coverage.min>
<code.coverage.min>0.9957</code.coverage.min>
</properties>

<dependencyManagement>
Expand Down
5 changes: 2 additions & 3 deletions servers/zts/src/main/java/com/yahoo/athenz/zts/ZTSImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -353,10 +353,9 @@ public ZTSImpl(CloudStore implCloudStore, DataStore implDataStore) {

authorizer = new ZTSAuthorizer(dataStore);

// create our instance manager and provider
// create our instance certificate and provider managers

instanceCertManager = new InstanceCertManager(privateKeyStore, authorizer, hostnameResolver,
readOnlyMode.get(), userAuthority);
instanceCertManager = new InstanceCertManager(privateKeyStore, authorizer, hostnameResolver, readOnlyMode);

instanceProviderManager = new InstanceProviderManager(dataStore,
ZTSUtils.getAthenzServerSSLContext(privateKeyStore),
Expand Down
Loading

0 comments on commit 26c0d62

Please sign in to comment.