diff --git a/pom.xml b/pom.xml
index 77687dbaf52..73e7a7e8bc6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -60,14 +60,14 @@
4.0.0
3.21.0
2.31.0
- 4.1.0
+ 4.1.1
9.4.44.v20210927
4.4.0
2.1.210
2.0-groovy-3.0
- 1.16.2
+ 1.16.3
5.11.2
- 2.16.1
+ 2.17.2
1.9.7
1.4.200
1.11.19
diff --git a/src/test/groovy/org/prebid/server/functional/model/deals/lineitem/LineItem.groovy b/src/test/groovy/org/prebid/server/functional/model/deals/lineitem/LineItem.groovy
index 4f23c7e02ac..43051f0ab50 100644
--- a/src/test/groovy/org/prebid/server/functional/model/deals/lineitem/LineItem.groovy
+++ b/src/test/groovy/org/prebid/server/functional/model/deals/lineitem/LineItem.groovy
@@ -8,7 +8,7 @@ import org.prebid.server.functional.util.PBSUtils
import java.time.ZoneId
import java.time.ZonedDateTime
-import static Status.ACTIVE
+import static LineItemStatus.ACTIVE
import static java.time.ZoneOffset.UTC
import static org.prebid.server.functional.model.bidder.BidderName.GENERIC
import static org.prebid.server.functional.model.deals.lineitem.RelativePriority.VERY_HIGH
@@ -43,7 +43,7 @@ class LineItem {
@JsonFormat(pattern = TIME_PATTERN)
ZonedDateTime updatedTimeStamp
- Status status
+ LineItemStatus status
List frequencyCaps
diff --git a/src/test/groovy/org/prebid/server/functional/model/deals/lineitem/LineItemSize.groovy b/src/test/groovy/org/prebid/server/functional/model/deals/lineitem/LineItemSize.groovy
index c50b9fd4d58..2ff7af18dec 100644
--- a/src/test/groovy/org/prebid/server/functional/model/deals/lineitem/LineItemSize.groovy
+++ b/src/test/groovy/org/prebid/server/functional/model/deals/lineitem/LineItemSize.groovy
@@ -1,12 +1,8 @@
package org.prebid.server.functional.model.deals.lineitem
-import com.fasterxml.jackson.annotation.JsonInclude
import groovy.transform.ToString
-import static com.fasterxml.jackson.annotation.JsonInclude.Include.ALWAYS
-
@ToString(includeNames = true)
-@JsonInclude(content = ALWAYS)
class LineItemSize {
Integer w
diff --git a/src/test/groovy/org/prebid/server/functional/model/deals/lineitem/Status.groovy b/src/test/groovy/org/prebid/server/functional/model/deals/lineitem/LineItemStatus.groovy
similarity index 82%
rename from src/test/groovy/org/prebid/server/functional/model/deals/lineitem/Status.groovy
rename to src/test/groovy/org/prebid/server/functional/model/deals/lineitem/LineItemStatus.groovy
index f6c5e5f884d..c2dded2d3d2 100644
--- a/src/test/groovy/org/prebid/server/functional/model/deals/lineitem/Status.groovy
+++ b/src/test/groovy/org/prebid/server/functional/model/deals/lineitem/LineItemStatus.groovy
@@ -2,7 +2,7 @@ package org.prebid.server.functional.model.deals.lineitem
import com.fasterxml.jackson.annotation.JsonValue
-enum Status {
+enum LineItemStatus {
ACTIVE("active"),
DELETED("deleted"),
@@ -11,7 +11,7 @@ enum Status {
@JsonValue
final String value
- private Status(String value) {
+ private LineItemStatus(String value) {
this.value = value
}
diff --git a/src/test/groovy/org/prebid/server/functional/model/deals/register/CurrencyServiceState.groovy b/src/test/groovy/org/prebid/server/functional/model/deals/register/CurrencyServiceState.groovy
index df2731249f4..4c0db24acd3 100644
--- a/src/test/groovy/org/prebid/server/functional/model/deals/register/CurrencyServiceState.groovy
+++ b/src/test/groovy/org/prebid/server/functional/model/deals/register/CurrencyServiceState.groovy
@@ -4,7 +4,7 @@ import groovy.transform.ToString
import java.time.ZonedDateTime
-@ToString(includeNames = true)
+@ToString(includeNames = true, ignoreNulls = true)
class CurrencyServiceState {
ZonedDateTime lastUpdate
diff --git a/src/test/groovy/org/prebid/server/functional/model/deals/userdata/UserDetailsResponse.groovy b/src/test/groovy/org/prebid/server/functional/model/deals/userdata/UserDetailsResponse.groovy
index 864cfe7a290..143aee234d9 100644
--- a/src/test/groovy/org/prebid/server/functional/model/deals/userdata/UserDetailsResponse.groovy
+++ b/src/test/groovy/org/prebid/server/functional/model/deals/userdata/UserDetailsResponse.groovy
@@ -3,7 +3,7 @@ package org.prebid.server.functional.model.deals.userdata
import groovy.transform.ToString
import org.prebid.server.functional.model.ResponseModel
-@ToString(includeNames = true)
+@ToString(includeNames = true, ignoreNulls = true)
class UserDetailsResponse implements ResponseModel {
User user
diff --git a/src/test/groovy/org/prebid/server/functional/model/request/amp/AmpRequest.groovy b/src/test/groovy/org/prebid/server/functional/model/request/amp/AmpRequest.groovy
index b4b8db9c7ae..99aeb50d2c7 100644
--- a/src/test/groovy/org/prebid/server/functional/model/request/amp/AmpRequest.groovy
+++ b/src/test/groovy/org/prebid/server/functional/model/request/amp/AmpRequest.groovy
@@ -4,7 +4,6 @@ import com.fasterxml.jackson.databind.PropertyNamingStrategies
import com.fasterxml.jackson.databind.annotation.JsonNaming
import groovy.transform.ToString
import org.prebid.server.functional.util.PBSUtils
-import org.prebid.server.functional.util.privacy.ConsentString
@ToString(includeNames = true, ignoreNulls = true)
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy)
diff --git a/src/test/groovy/org/prebid/server/functional/model/request/auction/AppExt.groovy b/src/test/groovy/org/prebid/server/functional/model/request/auction/AppExt.groovy
index 4cb3b38dac5..b31926c14b5 100644
--- a/src/test/groovy/org/prebid/server/functional/model/request/auction/AppExt.groovy
+++ b/src/test/groovy/org/prebid/server/functional/model/request/auction/AppExt.groovy
@@ -1,5 +1,8 @@
package org.prebid.server.functional.model.request.auction
+import groovy.transform.ToString
+
+@ToString(includeNames = true, ignoreNulls = true)
class AppExt {
AppExtData data
diff --git a/src/test/groovy/org/prebid/server/functional/model/request/auction/AppExtData.groovy b/src/test/groovy/org/prebid/server/functional/model/request/auction/AppExtData.groovy
index 6cdc86d35e5..3d12506410c 100644
--- a/src/test/groovy/org/prebid/server/functional/model/request/auction/AppExtData.groovy
+++ b/src/test/groovy/org/prebid/server/functional/model/request/auction/AppExtData.groovy
@@ -1,5 +1,8 @@
package org.prebid.server.functional.model.request.auction
+import groovy.transform.ToString
+
+@ToString(includeNames = true, ignoreNulls = true)
class AppExtData {
String language
diff --git a/src/test/groovy/org/prebid/server/functional/model/request/auction/DealExt.groovy b/src/test/groovy/org/prebid/server/functional/model/request/auction/DealExt.groovy
index cbb9913acb4..90b57aa8fb9 100644
--- a/src/test/groovy/org/prebid/server/functional/model/request/auction/DealExt.groovy
+++ b/src/test/groovy/org/prebid/server/functional/model/request/auction/DealExt.groovy
@@ -5,5 +5,5 @@ import groovy.transform.ToString
@ToString(includeNames = true)
class DealExt {
- DealLine line
+ DealLineItem line
}
diff --git a/src/test/groovy/org/prebid/server/functional/model/request/auction/DealLine.groovy b/src/test/groovy/org/prebid/server/functional/model/request/auction/DealLineItem.groovy
similarity index 95%
rename from src/test/groovy/org/prebid/server/functional/model/request/auction/DealLine.groovy
rename to src/test/groovy/org/prebid/server/functional/model/request/auction/DealLineItem.groovy
index 364d251f404..4ab7823193c 100644
--- a/src/test/groovy/org/prebid/server/functional/model/request/auction/DealLine.groovy
+++ b/src/test/groovy/org/prebid/server/functional/model/request/auction/DealLineItem.groovy
@@ -6,7 +6,7 @@ import groovy.transform.ToString
@ToString(includeNames = true, ignoreNulls = true)
@JsonNaming(PropertyNamingStrategies.LowerCaseStrategy)
-class DealLine {
+class DealLineItem {
String lineItemId
String extLineItemId
diff --git a/src/test/groovy/org/prebid/server/functional/model/request/auction/ImpExtContext.groovy b/src/test/groovy/org/prebid/server/functional/model/request/auction/ImpExtContext.groovy
index 66940990ade..bff08aa290b 100644
--- a/src/test/groovy/org/prebid/server/functional/model/request/auction/ImpExtContext.groovy
+++ b/src/test/groovy/org/prebid/server/functional/model/request/auction/ImpExtContext.groovy
@@ -1,5 +1,8 @@
package org.prebid.server.functional.model.request.auction
+import groovy.transform.ToString
+
+@ToString(includeNames = true, ignoreNulls = true)
class ImpExtContext {
ImpExtContextData data
diff --git a/src/test/groovy/org/prebid/server/functional/model/request/auction/ImpExtContextData.groovy b/src/test/groovy/org/prebid/server/functional/model/request/auction/ImpExtContextData.groovy
index ae130fd85d9..f63b32f2833 100644
--- a/src/test/groovy/org/prebid/server/functional/model/request/auction/ImpExtContextData.groovy
+++ b/src/test/groovy/org/prebid/server/functional/model/request/auction/ImpExtContextData.groovy
@@ -1,5 +1,8 @@
package org.prebid.server.functional.model.request.auction
+import groovy.transform.ToString
+
+@ToString(includeNames = true, ignoreNulls = true)
class ImpExtContextData {
String language
diff --git a/src/test/groovy/org/prebid/server/functional/model/request/auction/SiteExtData.groovy b/src/test/groovy/org/prebid/server/functional/model/request/auction/SiteExtData.groovy
index 9e2e82e6d60..09b545b2f32 100644
--- a/src/test/groovy/org/prebid/server/functional/model/request/auction/SiteExtData.groovy
+++ b/src/test/groovy/org/prebid/server/functional/model/request/auction/SiteExtData.groovy
@@ -1,5 +1,8 @@
package org.prebid.server.functional.model.request.auction
+import groovy.transform.ToString
+
+@ToString(includeNames = true, ignoreNulls = true)
class SiteExtData {
String language
diff --git a/src/test/groovy/org/prebid/server/functional/model/request/auction/UserExtData.groovy b/src/test/groovy/org/prebid/server/functional/model/request/auction/UserExtData.groovy
index 0ec8f2e961b..56d69f1e4ce 100644
--- a/src/test/groovy/org/prebid/server/functional/model/request/auction/UserExtData.groovy
+++ b/src/test/groovy/org/prebid/server/functional/model/request/auction/UserExtData.groovy
@@ -1,5 +1,8 @@
package org.prebid.server.functional.model.request.auction
+import groovy.transform.ToString
+
+@ToString(includeNames = true, ignoreNulls = true)
class UserExtData {
String language
diff --git a/src/test/groovy/org/prebid/server/functional/model/request/dealsupdate/ForceDealsUpdateRequest.groovy b/src/test/groovy/org/prebid/server/functional/model/request/dealsupdate/ForceDealsUpdateRequest.groovy
index 3cfdeec72ce..aaa1c0b2ece 100644
--- a/src/test/groovy/org/prebid/server/functional/model/request/dealsupdate/ForceDealsUpdateRequest.groovy
+++ b/src/test/groovy/org/prebid/server/functional/model/request/dealsupdate/ForceDealsUpdateRequest.groovy
@@ -11,7 +11,7 @@ import static org.prebid.server.functional.model.request.dealsupdate.ForceDealsU
import static org.prebid.server.functional.model.request.dealsupdate.ForceDealsUpdateRequest.Action.SEND_REPORT
import static org.prebid.server.functional.model.request.dealsupdate.ForceDealsUpdateRequest.Action.UPDATE_LINE_ITEMS
-@ToString(includeNames = true)
+@ToString(includeNames = true, ignoreNulls = true)
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy)
class ForceDealsUpdateRequest {
diff --git a/src/test/groovy/org/prebid/server/functional/testcontainers/PbsServiceFactory.groovy b/src/test/groovy/org/prebid/server/functional/testcontainers/PbsServiceFactory.groovy
index 136f16feba2..89d8af6f700 100644
--- a/src/test/groovy/org/prebid/server/functional/testcontainers/PbsServiceFactory.groovy
+++ b/src/test/groovy/org/prebid/server/functional/testcontainers/PbsServiceFactory.groovy
@@ -6,6 +6,7 @@ import org.prebid.server.functional.testcontainers.container.PrebidServerContain
import org.prebid.server.functional.util.ObjectMapperWrapper
import org.prebid.server.functional.util.PBSUtils
+// TODO make container instance into a POGO and add the ability for any given container to live through stopContainers()
class PbsServiceFactory {
private static final Map