Commit dc2811d4 authored by Jason's avatar Jason Committed by Daniel Scholl
Browse files

File and Delivery Services: Adding Test Data

parent 052d6f46
{
"id": "8900a83f-18c6-4b1d-8f38-309a208779cc"
}
\ No newline at end of file
......@@ -127,9 +127,17 @@ def storage_schema(db):
container.upsert_item(storage_schema_11)
return
def file_location_entity(db):
container = db.get_container_client("FileLocationEntity")
with open("./file_location_entity_1.json", "r") as f:
file_location_entity_1 = json.load(f)
container.upsert_item(file_location_entity_1)
return
if __name__ == "__main__":
tenant_info(db)
user_info(db)
legal_tag(db)
storage_schema(db)
file_location_entity(db)
\ No newline at end of file
......@@ -24,8 +24,9 @@
"users.datalake.ops",
"cron.job",
"notification.pubsub",
"service.file.viewers",
"service.file.editors"
"service.file.viewers",
"service.file.editors",
"service.delivery.viewer"
]
},
{
......@@ -51,8 +52,9 @@
"users.datalake.ops",
"cron.job",
"notification.pubsub",
"service.file.viewers",
"service.file.editors"
"service.file.viewers",
"service.file.editors",
"service.delivery.viewer"
]
}
]
......
......@@ -78,7 +78,7 @@ AZURE_AD_APP_RESOURCE_ID="${ENV_APP_ID}"
NO_DATA_ACCESS_TESTER="${NO_ACCESS_ID}"
NO_DATA_ACCESS_TESTER_SERVICEPRINCIPAL_SECRET="${NO_ACCESS_SECRET}"
USER_ID="osdu-user"
EXIST_FILE_ID="test_data"
EXIST_FILE_ID="8900a83f-18c6-4b1d-8f38-309a208779cc"
TIME_ZONE="UTC+0"
cat > ${UNIQUE}/${SERVICE}.envrc <<LOCALENV
......
Markdown is supported
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