-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #201 from IABTechLab/jon-UID2-1819-solve-negative-…
…keyset-ids
- Loading branch information
Showing
3 changed files
with
133 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
158 changes: 108 additions & 50 deletions
158
src/main/resources/com.uid2.core/test/keysets/keysets.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,92 +1,150 @@ | ||
[ | ||
{ | ||
"keyset_id": -1, | ||
"site_id": -1, | ||
"name": "Master keyset", | ||
"allowed_sites": [-1, -2, 2, 3, 4, 5, 6, 7, 8], | ||
"allowed_sites": [ | ||
-1, | ||
-2, | ||
2, | ||
3, | ||
4, | ||
5, | ||
6, | ||
7, | ||
8 | ||
], | ||
"created": 1617149276, | ||
"default": true, | ||
"enabled": true, | ||
"default": true | ||
"keyset_id": -1, | ||
"name": "Master keyset", | ||
"site_id": -1 | ||
}, | ||
{ | ||
"keyset_id": -2, | ||
"site_id": -2, | ||
"name": "Refresh keyset", | ||
"allowed_sites": [-1, -2, 2, 3, 4, 5, 6, 7, 8], | ||
"allowed_sites": [ | ||
-1, | ||
-2, | ||
2, | ||
3, | ||
4, | ||
5, | ||
6, | ||
7, | ||
8 | ||
], | ||
"created": 1617149276, | ||
"default": true, | ||
"enabled": true, | ||
"default": true | ||
"keyset_id": -2, | ||
"name": "Refresh keyset", | ||
"site_id": -2 | ||
}, | ||
{ | ||
"keyset_id": 2, | ||
"site_id": 2, | ||
"name": "Publisher keyset", | ||
"allowed_sites": [-1, -2, 2, 3, 4, 5, 6, 7, 8], | ||
"allowed_sites": [ | ||
-1, | ||
-2, | ||
2, | ||
3, | ||
4, | ||
5, | ||
6, | ||
7, | ||
8 | ||
], | ||
"created": 1617149276, | ||
"default": true, | ||
"enabled": true, | ||
"default": true | ||
"keyset_id": 2, | ||
"name": "Publisher keyset", | ||
"site_id": 2 | ||
}, | ||
{ | ||
"keyset_id": 501, | ||
"site_id": 5, | ||
"name": "My keyset #5-1", | ||
"allowed_sites": [2, 3, 4], | ||
"allowed_sites": [ | ||
2, | ||
3, | ||
4 | ||
], | ||
"created": 1617149276, | ||
"default": true, | ||
"enabled": true, | ||
"default": false | ||
"keyset_id": 501, | ||
"name": "My keyset #123-1", | ||
"site_id": 123 | ||
}, | ||
{ | ||
"keyset_id": 502, | ||
"site_id": 5, | ||
"name": "My keyset #5-2", | ||
"allowed_sites": [2, 3, 4], | ||
"allowed_sites": [ | ||
2, | ||
3, | ||
4 | ||
], | ||
"created": 1617149276, | ||
"default": false, | ||
"enabled": true, | ||
"default": true | ||
"keyset_id": 502, | ||
"name": "My keyset #123-2", | ||
"site_id": 123 | ||
}, | ||
{ | ||
"keyset_id": 503, | ||
"site_id": 5, | ||
"name": "My keyset #5-3", | ||
"allowed_sites": [2, 3, 4], | ||
"allowed_sites": [ | ||
2, | ||
3, | ||
4 | ||
], | ||
"created": 1617149276, | ||
"default": false, | ||
"enabled": false, | ||
"default": false | ||
"keyset_id": 503, | ||
"name": "My keyset #5-3", | ||
"site_id": 5 | ||
}, | ||
{ | ||
"keyset_id": 601, | ||
"site_id": 6, | ||
"name": "My keyset #6-1", | ||
"allowed_sites": [2, 3, 4], | ||
"allowed_sites": [ | ||
2, | ||
3, | ||
4 | ||
], | ||
"created": 1617149276, | ||
"default": true, | ||
"enabled": true, | ||
"default": true | ||
"keyset_id": 601, | ||
"name": "My keyset #6-1", | ||
"site_id": 6 | ||
}, | ||
{ | ||
"keyset_id": 602, | ||
"site_id": 6, | ||
"name": "My keyset #6-2", | ||
"allowed_sites": [2, 3, 4], | ||
"allowed_sites": [ | ||
2, | ||
3, | ||
4 | ||
], | ||
"created": 1617149276, | ||
"default": false, | ||
"enabled": true, | ||
"default": false | ||
"keyset_id": 602, | ||
"name": "My keyset #6-2", | ||
"site_id": 6 | ||
}, | ||
{ | ||
"keyset_id": 701, | ||
"site_id": 7, | ||
"name": "My keyset #7", | ||
"allowed_sites": [2, 3, 4], | ||
"allowed_sites": [ | ||
2, | ||
3, | ||
4 | ||
], | ||
"created": 1617149276, | ||
"default": true, | ||
"enabled": true, | ||
"default": true | ||
"keyset_id": 701, | ||
"name": "My keyset #7", | ||
"site_id": 7 | ||
}, | ||
{ | ||
"keyset_id": 801, | ||
"site_id": 8, | ||
"name": "My keyset #5", | ||
"allowed_sites": [2, 3, 4], | ||
"allowed_sites": [ | ||
2, | ||
3, | ||
4 | ||
], | ||
"created": 1617149276, | ||
"default": true, | ||
"enabled": true, | ||
"default": true | ||
"keyset_id": 801, | ||
"name": "My keyset #5", | ||
"site_id": 8 | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters