From 5c7dd10a07cf497081f62a734052501ee7487391 Mon Sep 17 00:00:00 2001 From: Katherine Chen Date: Tue, 3 Oct 2023 17:44:10 +1100 Subject: [PATCH] Add `uid2-mock-data` as submodule --- .gitmodules | 3 + conf/local-config.json | 26 +++--- src/main/resources/com.uid2.core/test | 1 + .../client_side_keypairs.json | 1 - .../test/client_side_keypairs/metadata.json | 7 -- .../com.uid2.core/test/clients/clients.json | 82 ------------------- .../com.uid2.core/test/clients/metadata.json | 7 -- .../com.uid2.core/test/enclaves/enclaves.json | 20 ----- .../com.uid2.core/test/enclaves/metadata.json | 7 -- .../com.uid2.core/test/keys/keys.json | 41 ---------- .../com.uid2.core/test/keys/metadata.json | 8 -- .../com.uid2.core/test/keys_acl/keys_acl.json | 10 --- .../com.uid2.core/test/keys_acl/metadata.json | 7 -- .../test/keyset_keys/keyset_keys.json | 42 ---------- .../test/keyset_keys/metadata.json | 9 -- .../com.uid2.core/test/keysets/keysets.json | 74 ----------------- .../com.uid2.core/test/keysets/metadata.json | 7 -- .../test/operators/metadata.json | 7 -- .../test/operators/operators.json | 51 ------------ .../com.uid2.core/test/partners/metadata.json | 7 -- .../com.uid2.core/test/partners/partners.json | 33 -------- .../com.uid2.core/test/salts/metadata.json | 14 ---- .../com.uid2.core/test/salts/salts.txt | 8 -- .../test/service_links/metadata.json | 7 -- .../test/service_links/service_links.json | 1 - .../com.uid2.core/test/services/metadata.json | 7 -- .../com.uid2.core/test/services/services.json | 1 - .../com.uid2.core/test/sites/metadata.json | 7 -- .../com.uid2.core/test/sites/sites.json | 17 ---- 29 files changed, 17 insertions(+), 495 deletions(-) create mode 100644 .gitmodules create mode 160000 src/main/resources/com.uid2.core/test delete mode 100644 src/main/resources/com.uid2.core/test/client_side_keypairs/client_side_keypairs.json delete mode 100644 src/main/resources/com.uid2.core/test/client_side_keypairs/metadata.json delete mode 100644 src/main/resources/com.uid2.core/test/clients/clients.json delete mode 100644 src/main/resources/com.uid2.core/test/clients/metadata.json delete mode 100644 src/main/resources/com.uid2.core/test/enclaves/enclaves.json delete mode 100644 src/main/resources/com.uid2.core/test/enclaves/metadata.json delete mode 100644 src/main/resources/com.uid2.core/test/keys/keys.json delete mode 100644 src/main/resources/com.uid2.core/test/keys/metadata.json delete mode 100644 src/main/resources/com.uid2.core/test/keys_acl/keys_acl.json delete mode 100644 src/main/resources/com.uid2.core/test/keys_acl/metadata.json delete mode 100644 src/main/resources/com.uid2.core/test/keyset_keys/keyset_keys.json delete mode 100644 src/main/resources/com.uid2.core/test/keyset_keys/metadata.json delete mode 100644 src/main/resources/com.uid2.core/test/keysets/keysets.json delete mode 100644 src/main/resources/com.uid2.core/test/keysets/metadata.json delete mode 100644 src/main/resources/com.uid2.core/test/operators/metadata.json delete mode 100644 src/main/resources/com.uid2.core/test/operators/operators.json delete mode 100644 src/main/resources/com.uid2.core/test/partners/metadata.json delete mode 100644 src/main/resources/com.uid2.core/test/partners/partners.json delete mode 100644 src/main/resources/com.uid2.core/test/salts/metadata.json delete mode 100644 src/main/resources/com.uid2.core/test/salts/salts.txt delete mode 100644 src/main/resources/com.uid2.core/test/service_links/metadata.json delete mode 100644 src/main/resources/com.uid2.core/test/service_links/service_links.json delete mode 100644 src/main/resources/com.uid2.core/test/services/metadata.json delete mode 100644 src/main/resources/com.uid2.core/test/services/services.json delete mode 100644 src/main/resources/com.uid2.core/test/sites/metadata.json delete mode 100644 src/main/resources/com.uid2.core/test/sites/sites.json diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..5597743 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "src/main/resources/com.uid2.core/test"] + path = src/main/resources/com.uid2.core/test + url = git@github.com:UnifiedID2/uid2-mock-data.git diff --git a/conf/local-config.json b/conf/local-config.json index 07e983c..f05d6bc 100644 --- a/conf/local-config.json +++ b/conf/local-config.json @@ -2,19 +2,19 @@ "aws_s3_endpoint": "http://localstack:5001", "enable_test_endpoints": true, "storage_mock": true, - "sites_metadata_path": "/com.uid2.core/test/sites/metadata.json", - "clients_metadata_path": "/com.uid2.core/test/clients/metadata.json", - "client_side_keypairs_metadata_path": "/com.uid2.core/test/client_side_keypairs/metadata.json", - "services_metadata_path": "/com.uid2.core/test/services/metadata.json", - "service_links_metadata_path": "/com.uid2.core/test/service_links/metadata.json", - "keys_metadata_path": "/com.uid2.core/test/keys/metadata.json", - "keys_acl_metadata_path": "/com.uid2.core/test/keys_acl/metadata.json", - "keysets_metadata_path": "/com.uid2.core/test/keysets/metadata.json", - "keyset_keys_metadata_path": "/com.uid2.core/test/keyset_keys/metadata.json", - "salts_metadata_path": "/com.uid2.core/test/salts/metadata.json", - "operators_metadata_path": "/com.uid2.core/test/operators/metadata.json", - "enclaves_metadata_path": "/com.uid2.core/test/enclaves/metadata.json", - "partners_metadata_path": "/com.uid2.core/test/partners/metadata.json", + "sites_metadata_path": "/com.uid2.core/test/localstack/s3/core/sites/metadata.json", + "clients_metadata_path": "/com.uid2.core/test/localstack/s3/core/clients/metadata.json", + "client_side_keypairs_metadata_path": "/com.uid2.core/test/localstack/s3/core/client_side_keypairs/metadata.json", + "services_metadata_path": "/com.uid2.core/test/localstack/s3/core/services/metadata.json", + "service_links_metadata_path": "/com.uid2.core/test/localstack/s3/core/service_links/metadata.json", + "keys_metadata_path": "/com.uid2.core/test/localstack/s3/core/keys/metadata.json", + "keys_acl_metadata_path": "/com.uid2.core/test/localstack/s3/core/keys_acl/metadata.json", + "keysets_metadata_path": "/com.uid2.core/test/localstack/s3/core/keysets/metadata.json", + "keyset_keys_metadata_path": "/com.uid2.core/test/localstack/s3/core/keyset_keys/metadata.json", + "salts_metadata_path": "/com.uid2.core/test/localstack/s3/core/salts/metadata.json", + "operators_metadata_path": "/com.uid2.core/test/localstack/s3/core/operators/metadata.json", + "enclaves_metadata_path": "/com.uid2.core/test/localstack/s3/core/enclaves/metadata.json", + "partners_metadata_path": "/com.uid2.core/test/localstack/s3/core/partners/metadata.json", "att_token_enc_key": "", "att_token_enc_salt": "", "provide_private_site_data": true, diff --git a/src/main/resources/com.uid2.core/test b/src/main/resources/com.uid2.core/test new file mode 160000 index 0000000..e69c431 --- /dev/null +++ b/src/main/resources/com.uid2.core/test @@ -0,0 +1 @@ +Subproject commit e69c43124b1ecc2f875d40d9ed6263b972498cca diff --git a/src/main/resources/com.uid2.core/test/client_side_keypairs/client_side_keypairs.json b/src/main/resources/com.uid2.core/test/client_side_keypairs/client_side_keypairs.json deleted file mode 100644 index 0637a08..0000000 --- a/src/main/resources/com.uid2.core/test/client_side_keypairs/client_side_keypairs.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/src/main/resources/com.uid2.core/test/client_side_keypairs/metadata.json b/src/main/resources/com.uid2.core/test/client_side_keypairs/metadata.json deleted file mode 100644 index 09cc512..0000000 --- a/src/main/resources/com.uid2.core/test/client_side_keypairs/metadata.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "version" : 1, - "generated" : 1689093112, - "client_side_keypairs" : { - "location" : "/com.uid2.core/test/client_side_keypairs/client_side_keypairs.json" - } -} \ No newline at end of file diff --git a/src/main/resources/com.uid2.core/test/clients/clients.json b/src/main/resources/com.uid2.core/test/clients/clients.json deleted file mode 100644 index 951117c..0000000 --- a/src/main/resources/com.uid2.core/test/clients/clients.json +++ /dev/null @@ -1,82 +0,0 @@ -[ - { - "key": "test-admin-key", - "name": "admin@uid2.com", - "contact": "admin@uid2.com", - "created": 1617149276, - "roles": [ - "mapper", - "generator" - ], - "site_id": 3, - "key_hash": "poag9K6u2rHmltuQDWeGMb1AsYnfRlxx6aJVtnCJSzvftwcOKV3QzknBhA9tHWHGrjRVQN+9cjifRkDUbD6aWA==", - "key_salt": "fYhiujcFuJnfQy8pw4VVeQlSM5fJSmnBVo8KMz+XzF0=" - }, - { - "key": "test-mapper-key", - "name": "mapper@uid2.com", - "contact": "mapper@uid2.com", - "created": 1617149276, - "roles": [ - "mapper", - "generator" - ], - "site_id": 4, - "key_hash": "dHbN5wd/GUnbON14NGMMLseApTgp9ai/XM9/d7udIz4/SIEzJi4RqCU/TtGxzqah5r21D2537KitOSZMXakagw==", - "key_salt": "j9O/NzABFM/mqIU8tEs4nmSdK5vbtcU6LIKoz9VdEQw=" - }, - { - "key": "test-optout-key", - "name": "optout@uid2.com", - "contact": "optout@uid2.com", - "created": 1617149276, - "roles": [ - "optout" - ], - "site_id": 5, - "key_hash": "DNuG54XqyEypaNrCFqHPAy3e25zIqcofWnvVzprR9r7cBIGOcqA7vSkmLrRezawpyidhJ+Kx1cnK/s/LtlHZPQ==", - "key_salt": "3gCfrkODHPBxgyq4XN01Zmv4f0wLJLAl/vdFiXULDXI=" - }, - { - "key": "trusted-partner-key", - "name": "partner@uid2.com", - "contact": "partner@uid2.com", - "created": 1617149276, - "roles": [ - "id_reader", - "mapper", - "generator" - ], - "site_id": 6, - "key_hash": "v2KvE309S7osPiSakx/MoTKz5K97CkXv6dm80UWdXnbufUPQHFpCE69PGmAIvMzD4dQmmS//F8BbQPKP1REP+Q==", - "key_salt": "tg3VfH+bP3I+sjL5xVjSm/1gF9+LHZ2yZkaiOtMU99Q=" - }, - { - "key": "friendly-partner-key", - "name": "partner@uid2.com", - "contact": "partner@uid2.com", - "created": 1617149276, - "roles": [ - "id_reader", - "mapper", - "generator" - ], - "site_id": 7, - "key_hash": "ThnnaO4vxLTyRXhLYnlI3R7gw1EL274uUZ1SHIrI8t+MJ16jYssqbjLHnsA/3dXelbOxgDenDhmuuBMmUUB8tg==", - "key_salt": "gRItFk+JXO/d2V9YIJ9pjO7FNBp032/apIi+FlQIq2s=" - }, - { - "key": "unfriendly-partner-key", - "name": "partner@uid2.com", - "contact": "partner@uid2.com", - "created": 1617149276, - "roles": [ - "id_reader", - "mapper", - "generator" - ], - "site_id": 8, - "key_hash": "mKz08gn4SRs2kWzGK4S99gAj6Rb9dxS4Cx3ZPdaWZhL0OuUflxwaShfRAKKuD0288FO7Ehm7Qu4RGqf+qHe54A==", - "key_salt": "5hnfxqwd+eB/x2fR9DyYLaoXtbX6gibcnxcP2wwc7A8=" - } -] \ No newline at end of file diff --git a/src/main/resources/com.uid2.core/test/clients/metadata.json b/src/main/resources/com.uid2.core/test/clients/metadata.json deleted file mode 100644 index 5cc6cf2..0000000 --- a/src/main/resources/com.uid2.core/test/clients/metadata.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "version" : 1, - "generated" : 1617149276, - "client_keys" : { - "location": "/com.uid2.core/test/clients/clients.json" - } -} diff --git a/src/main/resources/com.uid2.core/test/enclaves/enclaves.json b/src/main/resources/com.uid2.core/test/enclaves/enclaves.json deleted file mode 100644 index a7b67b2..0000000 --- a/src/main/resources/com.uid2.core/test/enclaves/enclaves.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "name": "debug-aws-nitro", - "protocol": "aws-nitro", - "identifier": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "created": 1620693995 - }, - { - "name": "debug-gcp-vmid", - "protocol": "gcp-vmid", - "identifier": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "created": 1620693995 - }, - { - "name": "debug-gcp-oidc", - "protocol": "gcp-oidc", - "identifier": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "created": 1620693995 - } -] diff --git a/src/main/resources/com.uid2.core/test/enclaves/metadata.json b/src/main/resources/com.uid2.core/test/enclaves/metadata.json deleted file mode 100644 index 9954ce7..0000000 --- a/src/main/resources/com.uid2.core/test/enclaves/metadata.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "version": 1, - "generated": 1620253519, - "enclaves": { - "location": "/com.uid2.core/test/enclaves/enclaves.json" - } -} \ No newline at end of file diff --git a/src/main/resources/com.uid2.core/test/keys/keys.json b/src/main/resources/com.uid2.core/test/keys/keys.json deleted file mode 100644 index 0e739da..0000000 --- a/src/main/resources/com.uid2.core/test/keys/keys.json +++ /dev/null @@ -1,41 +0,0 @@ -[ - { - "id": 6, - "site_id": 8, - "secret": "rzIKXdhXgrr0FS1eQaCcysqzPAbkHAccJsspLJFhZeQ=", - "created": 1609459200, - "activates": 1609469200, - "expires": 1893456000 - }, - { - "id": 5, - "site_id": 7, - "secret": "aFZg0Fx9W9344XVReKErYnnVmoNadezkBS5qYTtp3PA=", - "created": 1609459200, - "activates": 1609469200, - "expires": 1893456000 - }, - { - "id": 4, - "site_id": 6, - "secret": "RHVpcFowbzBqdDdacmZtWlhYTVdoRkcya1dHYUhBZUo=", - "created": 1609459200, - "activates": 1609469200, - "expires": 1893456000 - }, - { - "id": 3, - "secret": "vPdQIoN1nTwXIQoH4/GcHOAct7ymyrGUKXNQhgmq+E8=", - "created": 1609459200, - "activates": 1609469200, - "expires": 1893456000 - }, - { - "id": 2, - "site_id": 2, - "secret": "RgyxkP4yP1gYhCINq7O9PxM6jX+etPqSQluZxjB1aG8=", - "created": 1609459200, - "activates": 1609469200, - "expires": 1893456000 - } -] \ No newline at end of file diff --git a/src/main/resources/com.uid2.core/test/keys/metadata.json b/src/main/resources/com.uid2.core/test/keys/metadata.json deleted file mode 100644 index 5665306..0000000 --- a/src/main/resources/com.uid2.core/test/keys/metadata.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "version": 1, - "generated": 1609459200, - "system_key_id": 3, - "keys": { - "location": "/com.uid2.core/test/keys/keys.json" - } -} diff --git a/src/main/resources/com.uid2.core/test/keys_acl/keys_acl.json b/src/main/resources/com.uid2.core/test/keys_acl/keys_acl.json deleted file mode 100644 index b2b9525..0000000 --- a/src/main/resources/com.uid2.core/test/keys_acl/keys_acl.json +++ /dev/null @@ -1,10 +0,0 @@ -[ - { - "site_id": 6, - "whitelist": [7] - }, - { - "site_id": 8, - "blacklist": [6] - } -] diff --git a/src/main/resources/com.uid2.core/test/keys_acl/metadata.json b/src/main/resources/com.uid2.core/test/keys_acl/metadata.json deleted file mode 100644 index 0c7d014..0000000 --- a/src/main/resources/com.uid2.core/test/keys_acl/metadata.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "version": 1, - "generated": 1609459200, - "keys_acl": { - "location": "/com.uid2.core/test/keys_acl/keys_acl.json" - } -} diff --git a/src/main/resources/com.uid2.core/test/keyset_keys/keyset_keys.json b/src/main/resources/com.uid2.core/test/keyset_keys/keyset_keys.json deleted file mode 100644 index bc6a8de..0000000 --- a/src/main/resources/com.uid2.core/test/keyset_keys/keyset_keys.json +++ /dev/null @@ -1,42 +0,0 @@ -[ - { - "id" : 1, - "keyset_id" : 1, - "created" : 1609459200, - "activates" : 1609459200, - "expires" : 1893456000, - "secret" : "vPdQIoN1nTwXIQoH4/GcHOAct7ymyrGUKXNQhgmq+E8=" - }, - { - "id" : 2, - "keyset_id" : 2, - "created" : 1609459200, - "activates" : 1609459200, - "expires" : 1893456000, - "secret" : "c2yMYeezHfDvZ6haknCFaj0t+eAEJp/C/uh+fUAm1fo=" - }, - { - "id" : 5, - "keyset_id" : 3, - "created" : 1609459200, - "activates" : 1609459200, - "expires" : 1893456000, - "secret" : "vPdQIoN1nTwXIQoH4/GcHOAct7ymyrGUKXNQhgmq+E8=" - }, - { - "id" : 3, - "keyset_id" : 99999, - "created" : 1609459200, - "activates" : 1609459200, - "expires" : 1893456000, - "secret" : "zpxOafFdffTpeYFvaWnJlaLzJNzk+6qi77U2Umh7QJ4=" - }, - { - "id" : 4, - "keyset_id" : 5, - "created" : 1609459200, - "activates" : 1609459200, - "expires" : 1893456000, - "secret" : "bVZZOwCuO0fUf2P6CrwaY23erMErVQiMkGgpy2OMSxc=" - } -] \ No newline at end of file diff --git a/src/main/resources/com.uid2.core/test/keyset_keys/metadata.json b/src/main/resources/com.uid2.core/test/keyset_keys/metadata.json deleted file mode 100644 index d28b232..0000000 --- a/src/main/resources/com.uid2.core/test/keyset_keys/metadata.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "version" : 1, - "generated" : 1689093112, - "system_key_id" : 1, - "max_key_id" : 0, - "keyset_keys" : { - "location" : "keyset_keys/keyset_keys.json" - } -} diff --git a/src/main/resources/com.uid2.core/test/keysets/keysets.json b/src/main/resources/com.uid2.core/test/keysets/keysets.json deleted file mode 100644 index a827e2f..0000000 --- a/src/main/resources/com.uid2.core/test/keysets/keysets.json +++ /dev/null @@ -1,74 +0,0 @@ -[ - { - "keyset_id" : 1, - "site_id": -1, - "name" : "Master keyset", - "allowed_sites" : [], - "created" : 1617149276, - "enabled" : true, - "default" : true - }, - { - "keyset_id" : 2, - "site_id": -2, - "name" : "Refresh keyset", - "allowed_sites" : [], - "created" : 1617149276, - "enabled" : true, - "default" : true - }, - { - "keyset_id" : 3, - "site_id": 2, - "name" : "Fallback Publisher keyset", - "allowed_sites" : [], - "created" : 1617149276, - "enabled" : true, - "default" : true - }, - { - "keyset_id" : 99999, - "site_id": 999, - "name" : "Special keyset", - "allowed_sites" : [], - "created" : 1617149276, - "enabled" : true, - "default" : true - }, - { - "keyset_id" : 4, - "site_id": 123, - "name" : "DSP keyset", - "allowed_sites" : [], - "created" : 1617149276, - "enabled" : true, - "default" : true - }, - { - "keyset_id" : 5, - "site_id": 124, - "name" : "Publisher keyset", - "allowed_sites" : [], - "created" : 1617149276, - "enabled" : true, - "default" : true - }, - { - "keyset_id" : 6, - "site_id": 125, - "name" : "Data Provider keyset", - "allowed_sites" : [], - "created" : 1617149276, - "enabled" : true, - "default" : true - }, - { - "keyset_id" : 7, - "site_id": 126, - "name" : "OptOut keyset", - "allowed_sites" : [], - "created" : 1617149276, - "enabled" : true, - "default" : true - } -] diff --git a/src/main/resources/com.uid2.core/test/keysets/metadata.json b/src/main/resources/com.uid2.core/test/keysets/metadata.json deleted file mode 100644 index afd1bbc..0000000 --- a/src/main/resources/com.uid2.core/test/keysets/metadata.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "version" : 1, - "generated" : 1689093112, - "keysets": { - "location": "keysets/keysets.json" - } -} diff --git a/src/main/resources/com.uid2.core/test/operators/metadata.json b/src/main/resources/com.uid2.core/test/operators/metadata.json deleted file mode 100644 index 17e167d..0000000 --- a/src/main/resources/com.uid2.core/test/operators/metadata.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "version": 1, - "generated": 1620253519, - "operators": { - "location": "/com.uid2.core/test/operators/operators.json" - } -} \ No newline at end of file diff --git a/src/main/resources/com.uid2.core/test/operators/operators.json b/src/main/resources/com.uid2.core/test/operators/operators.json deleted file mode 100644 index 65caf1e..0000000 --- a/src/main/resources/com.uid2.core/test/operators/operators.json +++ /dev/null @@ -1,51 +0,0 @@ -[ - { - "key": "test-partner-key", - "name": "partner@uid2.com", - "contact": "partner@uid2.com", - "created": 1617149276, - "protocol": "aws-nitro", - "key_hash": "YJtxmu8X+y0TPW4akJuaXk3McKfzKdaLT9QI5cChFnPGwLPpnyqyRcDT997xTG6apL8mfCt3DB3ZlnR3qrSNBA==", - "key_salt": "W0i/DcKwCqBGD3jN6dNTsFl+tp6akTc3LpEVRuK5OB0=" - }, - { - "key": "test-gcp-key", - "name": "partner-gcp@uid2.com", - "contact": "partner-gcp@uid2.com", - "created": 1617149276, - "protocol": "gcp-vmid", - "key_hash": "+8Vp3bOKibg7PpWomCtolqZu3uRqR7G5DLcAwvt9n2ZqkWAdmPGoXuQMcEBAmE/nAslF7eA+VwXLp7zN40IZkA==", - "key_salt": "uJYzyAZujZ6QOatbwEB9/+/sgXe3jvPvYaULNANxgkQ=" - }, - { - "key": "test-gcp-key-2", - "name": "partner-gcp-2@uid2.com", - "contact": "partner-gcp-2@uid2.com", - "created": 1617149276, - "protocol": "gcp-oidc", - "key_hash": "nF2JfhBwEd1J9W2aiO2XWBnVGWaTHKzmq5WadU9GFC+gHjkFhkT4sG0boNG76fZQpBjQWYcCEhWFNPCBje52iA==", - "key_salt": "WSwyr8znzT0Yj/QiSRGZlsPz2lUIfRuO5FSpl89biiI=" - }, - { - "key": "trusted-partner-key", - "name": "partner-trusted@uid2.com", - "contact": "partner-trusted@uid2.com", - "created": 1617149276, - "protocol": "trusted", - "operator_type": "PUBLIC", - "site_id": 10, - "key_hash": "aGVkzavynvr6cX/kAqLSCHTlKPdumakBh0M0ysUyUVr6CiX2nSph0OlPXKzb02NZwKxnx1UQrRc5WOZTygpIVg==", - "key_salt": "DBQn4VlAN3CvS/2HPSvsKgBAmfctp23JjDe3Z4vBmWs=" - }, - { - "key": "trusted-partner-key-2", - "name": "partner-trusted@uid2.com", - "contact": "partner-trusted@uid2.com", - "created": 1617149276, - "protocol": "trusted", - "operator_type": "PRIVATE", - "site_id": 11, - "key_hash": "ty2mA34ZzTtrRhEl4cJZWAPmDu+xbAijCFWPvYOtRweBvcWS1pqzVLUVhXE+QllnOWS8vpRmdMo0VDgBMiCA8w==", - "key_salt": "MXolvY4RSkGZjd0GpexZvywZq887C5BgMYapF5UhHB0=" - } -] \ No newline at end of file diff --git a/src/main/resources/com.uid2.core/test/partners/metadata.json b/src/main/resources/com.uid2.core/test/partners/metadata.json deleted file mode 100644 index 7cfb7df..0000000 --- a/src/main/resources/com.uid2.core/test/partners/metadata.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "version" : 1, - "generated" : 1617149276, - "partners": { - "location": "/com.uid2.core/test/partners/partners.json" - } -} diff --git a/src/main/resources/com.uid2.core/test/partners/partners.json b/src/main/resources/com.uid2.core/test/partners/partners.json deleted file mode 100644 index b7438bc..0000000 --- a/src/main/resources/com.uid2.core/test/partners/partners.json +++ /dev/null @@ -1,33 +0,0 @@ -[ - { - "name": "mock_get", - "url": "https://127.0.0.1:8081/optout/partner_mock", - "method": "GET", - "query_params": [ - "action=dooptout", - "uid2=${ADVERTISING_ID}", - "timestamp=${OPTOUT_EPOCH}" - ], - "additional_headers": [ - "Authorization: Bearer 111-1111111" - ], - "retry_count": 600, - "retry_backoff_ms": 6000 - }, - { - "name": "mock_post", - "url": "https://127.0.0.1:8081/optout/partner_mock", - "method": "POST", - "query_params": [ - "action=dooptout", - "uid2=${ADVERTISING_ID}", - "timestamp=${OPTOUT_EPOCH}" - ], - "additional_headers": [ - "Authorization: Bearer 111-1111111" - ], - "retry_count": 600, - "retry_backoff_ms": 6000 - } -] - diff --git a/src/main/resources/com.uid2.core/test/salts/metadata.json b/src/main/resources/com.uid2.core/test/salts/metadata.json deleted file mode 100644 index 54a4544..0000000 --- a/src/main/resources/com.uid2.core/test/salts/metadata.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "version" : 2, - "generated" : 1614556800000, - "first_level" : "test_first_level_salt", - "salts" : [ - { - "effective" : 1614556800000, - "location" : "/com.uid2.core/test/salts/salts.txt", - "id_prefix" : "a", - "id_secret" : "m3yMIcbg9vCaFLJsn4m4PfruZnvAZ72OxmFG5QsGMOw=", - "size" : 8 - } - ] -} diff --git a/src/main/resources/com.uid2.core/test/salts/salts.txt b/src/main/resources/com.uid2.core/test/salts/salts.txt deleted file mode 100644 index a60acbf..0000000 --- a/src/main/resources/com.uid2.core/test/salts/salts.txt +++ /dev/null @@ -1,8 +0,0 @@ -1000000,1614556800000,y5YitNf/KFtceipDz8nqsFVmBZsK3KY7s8bOVM4gMD4= -1000001,1614556800000,z1uBoGyyzgna9i0o/r5eiD/wAhDX/2Q/6zX1p6hsF7I= -1000002,1614556800000,+a5LPajo7uPfNcc9HH0Tn25b3RnSNZwe8YaAKcyeHaA= -1000003,1614556800000,wAL6U+lu9gcMhSEySzWG9RQyoo446zAyGWKTW8VVoVw= -1000004,1614556800000,eP9ZvW4igLQZ4QfzlyiXgKYFDZgmGOefaKDLEL0zuwE= -1000005,1614556800000,UebesrNN0bQkm/QR7Jx7eav+UDXN5Gbq3zs1fLBMRy0= -1000006,1614556800000,MtpALOziEJMtPlCQHk6RHALuWvRvRZpCDBmO0xPAia0= -1000007,1614556800000,7tjv+KXaSztTZHEHULacotHQ7IpGBcw6IymoRLObkT4= \ No newline at end of file diff --git a/src/main/resources/com.uid2.core/test/service_links/metadata.json b/src/main/resources/com.uid2.core/test/service_links/metadata.json deleted file mode 100644 index 52f1a21..0000000 --- a/src/main/resources/com.uid2.core/test/service_links/metadata.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "version" : 1, - "generated" : 1670883129, - "service_links" : { - "location" : "/com.uid2.core/test/service_links/service_links.json" - } -} \ No newline at end of file diff --git a/src/main/resources/com.uid2.core/test/service_links/service_links.json b/src/main/resources/com.uid2.core/test/service_links/service_links.json deleted file mode 100644 index 0637a08..0000000 --- a/src/main/resources/com.uid2.core/test/service_links/service_links.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/src/main/resources/com.uid2.core/test/services/metadata.json b/src/main/resources/com.uid2.core/test/services/metadata.json deleted file mode 100644 index 836cd53..0000000 --- a/src/main/resources/com.uid2.core/test/services/metadata.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "version" : 1, - "generated" : 1670883129, - "services" : { - "location" : "/com.uid2.core/test/services/services.json" - } -} \ No newline at end of file diff --git a/src/main/resources/com.uid2.core/test/services/services.json b/src/main/resources/com.uid2.core/test/services/services.json deleted file mode 100644 index 0637a08..0000000 --- a/src/main/resources/com.uid2.core/test/services/services.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/src/main/resources/com.uid2.core/test/sites/metadata.json b/src/main/resources/com.uid2.core/test/sites/metadata.json deleted file mode 100644 index f764f6b..0000000 --- a/src/main/resources/com.uid2.core/test/sites/metadata.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "version" : 1, - "generated" : 1670883129, - "sites" : { - "location" : "/com.uid2.core/test/sites/sites.json" - } -} \ No newline at end of file diff --git a/src/main/resources/com.uid2.core/test/sites/sites.json b/src/main/resources/com.uid2.core/test/sites/sites.json deleted file mode 100644 index e2cbe80..0000000 --- a/src/main/resources/com.uid2.core/test/sites/sites.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "id": 123, - "name": "MegaTest Site", - "enabled": true - }, - { - "id": 124, - "name": "TestCorp Site", - "enabled": true - }, - { - "id": 125, - "name": "LoremTestIpsum Site", - "enabled": true - } -] \ No newline at end of file