Skip to content

Commit 7561900

Browse files
committed
Fix indentation
1 parent d08974d commit 7561900

5 files changed

Lines changed: 127 additions & 123 deletions

File tree

src/test/resources/org/prebid/server/it/hooks/sample-module/test-auction-generic-response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"gvlid": 1,
9292
"datacenter": "local",
9393
"http_method": "POST",
94-
"endpoint": "/openrtb2/auction"
94+
"endpoint": "/openrtb2/auction"
9595
}
9696
},
9797
"sample-it-module": {

src/test/resources/org/prebid/server/it/openrtb2/contxtful/test-contxtful-bid-request.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"gvlid": 1,
8585
"datacenter": "local",
8686
"http_method": "POST",
87-
"endpoint": "/openrtb2/auction"
87+
"endpoint": "/openrtb2/auction"
8888
}
8989
}
9090
}
Lines changed: 54 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,71 @@
11
{
2-
"adunit" : "imp_id",
3-
"currency" : "USD",
4-
"ik" : "request_id",
5-
"request_id" : "request_id",
6-
"timeout" : "${json-unit.any-number}",
7-
"params" : {
8-
"placement" : "placement",
9-
"test" : "test"
2+
"adunit": "imp_id",
3+
"currency": "USD",
4+
"ik": "request_id",
5+
"request_id": "request_id",
6+
"timeout": "${json-unit.any-number}",
7+
"params": {
8+
"placement": "placement",
9+
"test": "test"
1010
},
11-
"ortb2" : {
12-
"id" : "request_id",
13-
"imp" : [ {
14-
"id" : "imp_id",
15-
"banner" : {
16-
"w" : 320,
17-
"h" : 250
18-
},
19-
"secure" : 1,
20-
"ext" : {
21-
"tid" : "${json-unit.any-string}",
22-
"bidder" : {
23-
"apiKey" : "apiKey",
24-
"placement" : "placement",
25-
"test" : "test"
11+
"ortb2": {
12+
"id": "request_id",
13+
"imp": [
14+
{
15+
"id": "imp_id",
16+
"banner": {
17+
"w": 320,
18+
"h": 250
19+
},
20+
"secure": 1,
21+
"ext": {
22+
"tid": "${json-unit.any-string}",
23+
"bidder": {
24+
"apiKey": "apiKey",
25+
"placement": "placement",
26+
"test": "test"
27+
}
2628
}
2729
}
28-
} ],
29-
"site" : {
30-
"domain" : "www.example.com",
31-
"page" : "http://www.example.com",
32-
"publisher" : {
33-
"domain" : "example.com"
30+
],
31+
"site": {
32+
"domain": "www.example.com",
33+
"page": "http://www.example.com",
34+
"publisher": {
35+
"domain": "example.com"
3436
},
35-
"ext" : {
36-
"amp" : 0
37+
"ext": {
38+
"amp": 0
3739
}
3840
},
39-
"device" : {
40-
"ua" : "userAgent",
41-
"ip" : "193.168.244.1"
41+
"device": {
42+
"ua": "userAgent",
43+
"ip": "193.168.244.1"
4244
},
43-
"at" : 1,
44-
"tmax" : "${json-unit.any-number}",
45-
"cur" : [ "USD" ],
46-
"source" : {
47-
"tid" : "${json-unit.any-string}"
45+
"at": 1,
46+
"tmax": "${json-unit.any-number}",
47+
"cur": [
48+
"USD"
49+
],
50+
"source": {
51+
"tid": "${json-unit.any-string}"
4852
},
49-
"regs" : {
50-
"ext" : {
51-
"gdpr" : 0
53+
"regs": {
54+
"ext": {
55+
"gdpr": 0
5256
}
5357
},
54-
"ext" : {
55-
"prebid" : {
56-
"server" : {
57-
"externalurl" : "http://localhost:8080",
58-
"gvlid" : 1,
59-
"datacenter" : "local",
58+
"ext": {
59+
"prebid": {
60+
"server": {
61+
"externalurl": "http://localhost:8080",
62+
"gvlid": 1,
63+
"datacenter": "local",
6064
"http_method": "POST",
61-
"endpoint": "/openrtb2/auction"
65+
"endpoint": "/openrtb2/auction"
6266
}
6367
}
6468
}
6569
},
66-
"version" : "${json-unit.any-string}"
70+
"version": "${json-unit.any-string}"
6771
}
Lines changed: 67 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,74 @@
11
{
2-
"id": "request-id",
3-
"imp": [
4-
{
5-
"id": "div-banner-id",
6-
"banner": {
7-
"format": [
8-
{
9-
"w": 300,
10-
"h": 250
11-
}
12-
],
13-
"topframe": 1
14-
},
15-
"secure": 1,
16-
"ext": {
17-
"tid": "${json-unit.any-string}",
18-
"sparteo": {
19-
"params": {
20-
"networkId": "networkId"
21-
}
22-
}
23-
}
2+
"id": "request-id",
3+
"imp": [
4+
{
5+
"id": "div-banner-id",
6+
"banner": {
7+
"format": [
8+
{
9+
"w": 300,
10+
"h": 250
11+
}
12+
],
13+
"topframe": 1
14+
},
15+
"secure": 1,
16+
"ext": {
17+
"tid": "${json-unit.any-string}",
18+
"sparteo": {
19+
"params": {
20+
"networkId": "networkId"
21+
}
2422
}
25-
],
26-
"site": {
27-
"domain": "dev.sparteo.com",
28-
"page": "https://dev.sparteo.com/page/test/",
29-
"ref": "https://dev.sparteo.com/page/test/",
30-
"publisher": {
31-
"id": "sparteo",
32-
"domain": "dev.sparteo.com",
33-
"ext": {
34-
"params": {
35-
"networkId": "networkId"
36-
}
37-
}
38-
},
39-
"ext": {
40-
"amp": 0
41-
}
42-
},
43-
"device": {
44-
"ua": "userAgent",
45-
"ip": "193.168.244.1"
46-
},
47-
"at": 1,
48-
"tmax": "${json-unit.any-number}",
49-
"cur": [
50-
"USD"
51-
],
52-
"source": {
53-
"tid": "${json-unit.any-string}"
54-
},
55-
"regs": {
56-
"ext": {
57-
"gdpr": 0
23+
}
24+
}
25+
],
26+
"site": {
27+
"domain": "dev.sparteo.com",
28+
"page": "https://dev.sparteo.com/page/test/",
29+
"ref": "https://dev.sparteo.com/page/test/",
30+
"publisher": {
31+
"id": "sparteo",
32+
"domain": "dev.sparteo.com",
33+
"ext": {
34+
"params": {
35+
"networkId": "networkId"
5836
}
37+
}
5938
},
60-
"ext": {
61-
"prebid": {
62-
"channel": {
63-
"name": "web"
64-
},
65-
"server": {
66-
"externalurl": "http://localhost:8080",
67-
"gvlid": 1,
68-
"datacenter": "local",
69-
"http_method": "POST",
39+
"ext": {
40+
"amp": 0
41+
}
42+
},
43+
"device": {
44+
"ua": "userAgent",
45+
"ip": "193.168.244.1"
46+
},
47+
"at": 1,
48+
"tmax": "${json-unit.any-number}",
49+
"cur": [
50+
"USD"
51+
],
52+
"source": {
53+
"tid": "${json-unit.any-string}"
54+
},
55+
"regs": {
56+
"ext": {
57+
"gdpr": 0
58+
}
59+
},
60+
"ext": {
61+
"prebid": {
62+
"channel": {
63+
"name": "web"
64+
},
65+
"server": {
66+
"externalurl": "http://localhost:8080",
67+
"gvlid": 1,
68+
"datacenter": "local",
69+
"http_method": "POST",
7070
"endpoint": "/openrtb2/auction"
71-
}
72-
}
71+
}
7372
}
73+
}
7474
}

src/test/resources/org/prebid/server/it/openrtb2/sspbc/test-sspbc-bid-request.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"bidRequest" : {
2+
"bidRequest": {
33
"id": "request_id",
44
"imp": [
55
{
@@ -15,9 +15,9 @@
1515
"h": 250
1616
},
1717
"tagid": "tagid",
18-
"secure" : 1,
18+
"secure": 1,
1919
"ext": {
20-
"tid" : "${json-unit.any-string}",
20+
"tid": "${json-unit.any-string}",
2121
"bidder": {
2222
"siteId": "siteId",
2323
"id": "anyId",
@@ -60,7 +60,7 @@
6060
"gvlid": 1,
6161
"datacenter": "local",
6262
"http_method": "POST",
63-
"endpoint": "/openrtb2/auction"
63+
"endpoint": "/openrtb2/auction"
6464
}
6565
}
6666
}

0 commit comments

Comments
 (0)