Skip to content

Commit dd7e583

Browse files
authored
Housekeeping: Remove PG leftovers (prebid#3112)
1 parent 630067d commit dd7e583

File tree

8 files changed

+7
-182
lines changed

8 files changed

+7
-182
lines changed

docs/config-app.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,6 @@ Also, each bidder could have its own bidder-specific options.
204204
- `admin-endpoints.tracelog.on-application-port` - when equals to `false` endpoint will be bound to `admin.port`.
205205
- `admin-endpoints.tracelog.protected` - when equals to `true` endpoint will be protected by basic authentication configured in `admin-endpoints.credentials`
206206

207-
- `admin-endpoints.e2eadmin.enabled` - if equals to `true` the endpoint will be available.
208-
- `admin-endpoints.e2eadmin.path` - the server context path where the endpoint will be accessible.
209-
- `admin-endpoints.e2eadmin.on-application-port` - when equals to `false` endpoint will be bound to `admin.port`.
210-
- `admin-endpoints.e2eadmin.protected` - when equals to `true` endpoint will be protected by basic authentication configured in `admin-endpoints.credentials`
211-
212207
- `admin-endpoints.collected-metrics.enabled` - if equals to `true` the endpoint will be available.
213208
- `admin-endpoints.collected-metrics.path` - the server context path where the endpoint will be accessible.
214209
- `admin-endpoints.collected-metrics.on-application-port` - when equals to `false` endpoint will be bound to `admin.port`.

pom.xml

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,13 @@
5858
<mockito.version>4.11.0</mockito.version>
5959
<assertj.version>3.24.2</assertj.version>
6060
<wiremock.version>2.35.1</wiremock.version>
61-
<awaitility.version>4.2.0</awaitility.version>
6261
<jetty.version>9.4.53.v20231009</jetty.version>
6362
<restassured.version>5.4.0</restassured.version>
6463
<h2.version>2.2.220</h2.version>
6564
<spock.version>2.4-M2-groovy-4.0</spock.version>
6665
<groovy.version>4.0.15</groovy.version>
6766
<testcontainers.version>1.17.4</testcontainers.version>
6867
<mockserver.version>5.14.0</mockserver.version>
69-
<aspectj.version>1.9.9.1</aspectj.version>
7068
<bytebuddy.version>1.12.14</bytebuddy.version>
7169

7270
<!-- plugin versions -->
@@ -127,10 +125,6 @@
127125
<groupId>org.springframework.boot</groupId>
128126
<artifactId>spring-boot-starter</artifactId>
129127
</dependency>
130-
<dependency>
131-
<groupId>org.springframework.boot</groupId>
132-
<artifactId>spring-boot-starter-aop</artifactId>
133-
</dependency>
134128
<dependency>
135129
<groupId>jakarta.annotation</groupId>
136130
<artifactId>jakarta.annotation-api</artifactId>
@@ -409,12 +403,6 @@
409403
<version>${assertj.version}</version>
410404
<scope>test</scope>
411405
</dependency>
412-
<dependency>
413-
<groupId>org.awaitility</groupId>
414-
<artifactId>awaitility</artifactId>
415-
<version>${awaitility.version}</version>
416-
<scope>test</scope>
417-
</dependency>
418406
<dependency>
419407
<groupId>org.springframework.boot</groupId>
420408
<artifactId>spring-boot-starter-test</artifactId>
@@ -619,6 +607,7 @@
619607
<launchContainers>false</launchContainers>
620608
</systemPropertyVariables>
621609
<skipTests>${skipUnitTests}</skipTests>
610+
<argLine>${surefire.jacoco.args}</argLine>
622611
</configuration>
623612
</plugin>
624613
<plugin>
@@ -788,18 +777,22 @@
788777
<exclude>com/iab/openrtb/**</exclude>
789778
<exclude>**/proto/**</exclude>
790779
<exclude>**/model/**</exclude>
780+
<exclude>**/functional/**</exclude>
791781
<exclude>org/prebid/server/spring/config/**</exclude>
792782
</excludes>
793783
</configuration>
794784
<executions>
795785
<execution>
796-
<id>prepare-agent</id>
786+
<id>before-unit-test-execution</id>
797787
<goals>
798788
<goal>prepare-agent</goal>
799789
</goals>
790+
<configuration>
791+
<propertyName>surefire.jacoco.args</propertyName>
792+
</configuration>
800793
</execution>
801794
<execution>
802-
<id>report</id>
795+
<id>after-unit-test-execution</id>
803796
<goals>
804797
<goal>report</goal>
805798
</goals>
@@ -914,9 +907,6 @@
914907
<groupId>org.apache.maven.plugins</groupId>
915908
<artifactId>maven-failsafe-plugin</artifactId>
916909
<configuration>
917-
<argLine>
918-
-javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
919-
</argLine>
920910
<systemPropertyVariables>
921911
<mockserver.version>${mockserver.version}</mockserver.version>
922912
<pbs.version>${project.version}</pbs.version>
@@ -953,13 +943,6 @@
953943
</configuration>
954944
</execution>
955945
</executions>
956-
<dependencies>
957-
<dependency>
958-
<groupId>org.aspectj</groupId>
959-
<artifactId>aspectjweaver</artifactId>
960-
<version>${aspectj.version}</version>
961-
</dependency>
962-
</dependencies>
963946
</plugin>
964947
<plugin>
965948
<groupId>org.apache.maven.plugins</groupId>

src/main/java/org/prebid/server/health/HealthMonitor.java

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

src/main/java/org/prebid/server/spring/config/AopConfiguration.java

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

src/main/resources/application.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,6 @@ admin-endpoints:
6767
path: /pbs-admin/tracelog
6868
on-application-port: false
6969
protected: true
70-
e2eadmin:
71-
enabled: false
72-
path: /pbs-admin/e2eAdmin/*
73-
on-application-port: false
74-
protected: true
7570
collected-metrics:
7671
enabled: false
7772
path: /collected-metrics

src/test/java/org/prebid/server/health/HealthMonitorTest.java

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

src/test/java/org/prebid/server/it/IntegrationTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ public abstract class IntegrationTest extends VertxTest {
7373
private static final String HOST_AND_PORT = "localhost:" + WIREMOCK_PORT;
7474
private static final String CACHE_PATH = "/cache";
7575
private static final String CACHE_ENDPOINT = "http://" + HOST_AND_PORT + CACHE_PATH;
76-
private static final String USER_SERVICE_PATH = "/user-data-details";
77-
private static final String USER_SERVICE_ENDPOINT = "http://" + HOST_AND_PORT + USER_SERVICE_PATH;
7876

7977
@BeforeClass
8078
public static void setUp() throws IOException {
@@ -252,7 +250,6 @@ private static String replaceStaticInfo(String json) {
252250
.replaceAll("\\{\\{ cache.resource_url }}", CACHE_ENDPOINT + "?uuid=")
253251
.replaceAll("\\{\\{ cache.host }}", HOST_AND_PORT)
254252
.replaceAll("\\{\\{ cache.path }}", CACHE_PATH)
255-
.replaceAll("\\{\\{ userservice_uri }}", USER_SERVICE_ENDPOINT)
256253
.replaceAll("\\{\\{ event.url }}", "http://localhost:8080/event?");
257254
}
258255

src/test/resources/org/prebid/server/it/test-application.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,6 @@ admin-endpoints.logging-changelevel.enabled=true
504504
admin-endpoints.logging-changelevel.protected=false
505505
admin-endpoints.tracelog.enabled=true
506506
admin-endpoints.tracelog.protected=false
507-
admin-endpoints.e2eadmin.enabled=false
508507
status-response=ok
509508
analytics.log.enabled=true
510509
gdpr.host-vendor-id=1

0 commit comments

Comments
 (0)