Skip to content

Commit

Permalink
update ref binary
Browse files Browse the repository at this point in the history
  • Loading branch information
yishi-ttd committed Oct 31, 2023
1 parent f3e87ab commit eb5747f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 54 deletions.
22 changes: 15 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,25 @@
<enclave-api.version>1.5.0-676519b018</enclave-api.version>
<enclave-aws.version>1.1.0</enclave-aws.version>
<enclave-azure.version>1.4.0-2195ee834a</enclave-azure.version>
<enclave-gcp.version>1.3.4-649b0b4f7f</enclave-gcp.version>
<uid2-shared.version>5.14.0-f627d5e88c</uid2-shared.version>
<enclave-gcp.version>1.3.8-SNAPSHOT</enclave-gcp.version>
<uid2-shared.version>5.15.3-SNAPSHOT</uid2-shared.version>
<image.version>${project.version}</image.version>
</properties>

<repositories>
<repository>
<id>snapshots-repo</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-secretmanager</artifactId>
<version>2.29.0</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
Expand Down
46 changes: 0 additions & 46 deletions src/main/java/com/uid2/operator/GcpOperatorKeyRetriever.java

This file was deleted.

3 changes: 2 additions & 1 deletion src/main/java/com/uid2/operator/Main.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.uid2.operator;

import ch.qos.logback.classic.LoggerContext;
import com.google.common.base.Strings;
import com.uid2.enclave.IOperatorKeyRetriever;
import com.uid2.operator.model.KeyManager;
import com.uid2.operator.monitoring.IStatsCollectorQueue;
Expand Down Expand Up @@ -501,7 +502,7 @@ private IOperatorKeyRetriever createOperatorKeyRetriever() throws Exception {
}
case "gcp-oidc": {
var secretVersionName = this.config.getString(Const.Config.GcpSecretVersionNameProp);
return new GcpOperatorKeyRetriever(secretVersionName);
return OperatorKeyRetrieverFactory.getGcpOperatorKeyRetriever(secretVersionName);
}
default: {
// default to load from config
Expand Down

0 comments on commit eb5747f

Please sign in to comment.