Skip to content

Commit

Permalink
Merge pull request #89 from IABTechLab/llp-uid2-2815-send-to-all-webh…
Browse files Browse the repository at this point in the history
…ooks-every-time

Update shared to get new file event for all workers instead of just one each time.
  • Loading branch information
lionell-pack-ttd authored Mar 19, 2024
2 parents 8c7d504 + 2f6c2d6 commit 6b479f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<vertx.version>4.5.3</vertx.version>
<!-- check micrometer.version vertx-micrometer-metrics consumes before bumping up -->
<micrometer.version>1.1.0</micrometer.version>
<uid2-shared.version>7.1.0-8e67b3a537</uid2-shared.version>
<uid2-shared.version>7.5.0-ad06501882</uid2-shared.version>
<image.version>${project.version}</image.version>
</properties>

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/uid2/optout/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import com.uid2.optout.vertx.PartnerConfigMonitorV2;
import com.uid2.shared.ApplicationVersion;
import com.uid2.shared.Utils;
import com.uid2.shared.attest.AttestationTokenRetriever;
import com.uid2.shared.attest.AttestationResponseHandler;
import com.uid2.shared.attest.NoAttestationProvider;
import com.uid2.shared.attest.UidCoreClient;
import com.uid2.shared.auth.RotatingOperatorKeyProvider;
Expand Down Expand Up @@ -121,7 +121,7 @@ public Main(Vertx vertx, JsonObject config) throws Exception {
if (coreApiToken == null || coreApiToken.isBlank()) {
LOGGER.warn("Core Attest URL set, but the API Token is not set");
}
var tokenRetriever = new AttestationTokenRetriever(vertx, coreAttestUrl, coreApiToken, appVersion, new NoAttestationProvider(), null, CloudUtils.defaultProxy);
var tokenRetriever = new AttestationResponseHandler(vertx, coreAttestUrl, coreApiToken, appVersion, new NoAttestationProvider(), null, CloudUtils.defaultProxy);
UidCoreClient uidCoreClient = UidCoreClient.createNoAttest(coreApiToken, tokenRetriever);
if (useStorageMock) uidCoreClient.setAllowContentFromLocalFileSystem(true);
this.fsOperatorKeyConfig = uidCoreClient;
Expand Down

0 comments on commit 6b479f1

Please sign in to comment.