Skip to content

Commit 9c39379

Browse files
author
ilya
committed
DATA-22937: PR issues fixed
1 parent 61cdcaf commit 9c39379

3 files changed

Lines changed: 3 additions & 58 deletions

File tree

extra/modules/live-intent-omni-channel-identity/src/main/java/org/prebid/server/hooks/modules/liveintent/omni/channel/identity/model/config/ModuleConfig.java

Lines changed: 0 additions & 15 deletions
This file was deleted.

extra/modules/live-intent-omni-channel-identity/src/main/java/org/prebid/server/hooks/modules/liveintent/omni/channel/identity/v1/hooks/LiveIntentOmniChannelIdentityProcessedAuctionRequestHook.java

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ public class LiveIntentOmniChannelIdentityProcessedAuctionRequestHook implements
4242
private final JacksonMapper mapper;
4343
private final HttpClient httpClient;
4444
private final double logSamplingRate;
45-
private final ActivityImpl enriched = ActivityImpl.of("liveintent-enriched", "success", List.of());
46-
private final ActivityImpl treatmentRate;
4745

4846
public LiveIntentOmniChannelIdentityProcessedAuctionRequestHook(LiveIntentOmniChannelProperties config,
4947
JacksonMapper mapper,
@@ -55,11 +53,6 @@ public LiveIntentOmniChannelIdentityProcessedAuctionRequestHook(LiveIntentOmniCh
5553
this.mapper = Objects.requireNonNull(mapper);
5654
this.httpClient = Objects.requireNonNull(httpClient);
5755
this.logSamplingRate = logSamplingRate;
58-
this.treatmentRate = ActivityImpl.of(
59-
"liveintent-treatment-rate",
60-
String.valueOf(config.getTreatmentRate()),
61-
List.of()
62-
);
6356
}
6457

6558
@Override
@@ -104,7 +97,9 @@ private InvocationResultImpl<AuctionRequestPayload> update(IdResResponse resolut
10497
.status(InvocationStatus.success)
10598
.action(InvocationAction.update)
10699
.payloadUpdate(payload -> updatedPayload(payload, resolutionResult.getEids()))
107-
.analyticsTags(TagsImpl.of(List.of(enriched, treatmentRate)))
100+
.analyticsTags(TagsImpl.of(List.of(
101+
ActivityImpl.of("liveintent-enriched", "success", List.of()),
102+
ActivityImpl.of("liveintent-treatment-rate", String.valueOf(config.getTreatmentRate()), List.of()))))
108103
.build();
109104
}
110105

extra/modules/live-intent-omni-channel-identity/src/test/java/org/prebid/server/hooks/modules/liveintent/omni/channel/identity/model/config/ModuleConfigTest.java

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)