Commit 0cf70cb7 authored by Daniel Scholl's avatar Daniel Scholl
Browse files

Merge branch 'janmortensen-master-patch-08629' into 'master'

clarification about folder for python-script

See merge request osdu/platform/deployment-and-operations/infra-azure-provisioning!194
parents c83f7024 8f16f546
......@@ -75,11 +75,13 @@ export SERVICE_PRINCIPAL_OID=$(az keyvault secret show --id https://${ENV_VAULT}
export GRAPH_DB_PASSWORD=$(az keyvault secret show --id https://${ENV_VAULT}.vault.azure.net/secrets/graph-db-primary-key --query value -otsv)
export GRAPH_DB_HOST=$(az group list --query "[?contains(name, 'cr${UNIQUE}')].name" -otsv | awk '{ print substr( $0, 1, length($0)-3 ) }')-graph.gremlin.cosmos.azure.com
# Execute the Upload
# Execute the Upload from the test data folder (script expects file locally)
cd tools/test_data
python3 upload-data.py
```
__Upload Graph Cosmos DB Test Data__
> NOTE: requires Maven installed locally
```bash
cd entitlements_data_uploader
mvn compile exec:java -DGRAPH_DB_HOST=$GRAPH_DB_HOST -DGRAPH_DB_PASSWORD=$GRAPH_DB_PASSWORD -DSERVICE_PRINCIPAL_ID=$SERVICE_PRINCIPAL_ID -DNO_DATA_ACCESS_TESTER=$NO_DATA_ACCESS_TESTER
......
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