Commit 50cba949 authored by Rucha Deshpande's avatar Rucha Deshpande
Browse files

Entitlements V2

commit 0ef492f2 
Author: Rucha Deshpande <deshruch@amazon.com> 
Date: Wed May 05 2021 17:11:00 GMT-0500 (Central Daylight Time) 

    update entitlements domain


commit 2ff5597e 
Author: Rucha Deshpande <deshruch@amazon.com> 
Date: Wed May 05 2021 12:29:44 GMT-0500 (Central Daylight Time) 

    use Entitlements V2
parent 33cfe28f
......@@ -60,6 +60,6 @@ OTHER_RELEVANT_DATA_COUNTRIES=US
DEPLOY_ENV=empty
LEGAL_TAG=opendes-public-usa-dataset-1
TENANT_NAME=opendes
DOMAIN=testing.com
DOMAIN=example.com
DATASET_URL=<YOUR_API_URL>/api/dataset/v1/
LEGAL_URL=<YOUR_API_URL>/api/legal/v1/
\ No newline at end of file
......@@ -14,7 +14,7 @@
LOG_PREFIX=dataset
AUTHORIZE_API=${ENTITLEMENTS_BASE_URL}/api/entitlements/v1
AUTHORIZE_API=${ENTITLEMENTS_BASE_URL}/api/entitlements/v2
STORAGE_API=${STORAGE_BASE_URL}/api/storage/v2
SCHEMA_API=${SCHEMA_BASE_URL}/api/schema-service/v1
DMS_API_BASE=${DMS_BASE_URL}
......
......@@ -226,9 +226,9 @@ public abstract class Dataset extends TestBase {
//set acl
Acl acl = new Acl();
String[] viewers = new String[] { String.format("data.default.viewers@%s.testing.com", TenantUtils.getTenantName()) };
String[] viewers = new String[] { String.format("data.default.viewers@%s.example.com", TenantUtils.getTenantName()) };
acl.setViewers(viewers);
String[] owners = new String[] { String.format("data.default.owners@%s.testing.com", TenantUtils.getTenantName()) };
String[] owners = new String[] { String.format("data.default.owners@%s.example.com", TenantUtils.getTenantName()) };
acl.setOwners(owners);
datasetRegistry.setAcl(acl);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment