Commit 1cddec96 authored by Daniel Scholl's avatar Daniel Scholl
Browse files

Added directions for loading schema's

parent 8967939a
......@@ -260,6 +260,8 @@ __Manual Installation__
1. Register your partition with the Data Partition API by following the instructions [here](./tools/rest/ to configure your IDE to make authenticated requests to your OSDU instance and send the API request located [here](./tools/rest/partition.http) (createPartition).
1. Load Service Data following directions [here](./docs/
__Automated Pipeline Installation__
# Load Service Data
## Service Schema Loading
Schema Service has standard shared schemas that have to be loaded.
# Setup Variables
UNIQUE="<your_osdu_unique>" # ie: demo
AZURE_DNS_NAME="<your_osdu_fqdn>" # ie: osdu-$
DATA_PARTITION="<your_partition>" # ie:opendes
# This logs your local Azure CLI in using the configured service principal.
az login --service-principal -u $ARM_CLIENT_ID -p $ARM_CLIENT_SECRET --tenant $ARM_TENANT_ID
GROUP=$(az group list --query "[?contains(name, 'cr${UNIQUE}')].name" -otsv)
ENV_VAULT=$(az keyvault list --resource-group $GROUP --query [].name -otsv)
cat > .env << EOF
AZURE_AD_APP_RESOURCE_ID=$(az keyvault secret show --id https://${ENV_VAULT} --query value -otsv)
AZURE_CLIENT_ID=$(az keyvault secret show --id https://${ENV_VAULT} --query value -otsv)
AZURE_CLIENT_SECRET=$(az keyvault secret show --id https://${ENV_VAULT} --query value -otsv)
# Execute container to load the schema's
docker run --env-file .env
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