Seed data provisioning


#1

Use the following command to provision seed data for TENANT/TAG:

Prior to platform version 7.8

c3-prov data -u "${USER} -p "${PASSWORD}" -t "${TENANT}" -g "${TAG}" -a "${APPS_PATH}" -E --doNotWaitForRunningActions -f "$SEED_DATA_PATH/**/*.json"

Example, seed data for type Role in $SEED_DATA_PATH/Role/DataLoader.json:

{
  "id": "DataLoaderRole",
  "name": "DataLoaderRole",
  "permissions": [
    "allow:Canonical:: process"
  ]
}

Platform version 7.8 and above

c3 prov data -t ${TENANT} -g ${TAG} -f $SEED_DATA_PATH/**/*.json

For details on all possible options use c3 prov data --help