-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #261 from qld-gov-au/develop
Develop to master
- Loading branch information
Showing
27 changed files
with
425 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,14 +9,22 @@ if [ "$VENV_DIR" != "" ]; then | |
. ${VENV_DIR}/bin/activate | ||
fi | ||
|
||
# Create test dataset with our standard fields | ||
# Create private test dataset with our standard fields | ||
curl -LsH "Authorization: ${API_KEY}" \ | ||
--data '{"name": "test-dataset", "owner_org": "'"${TEST_ORG_ID}"'", "private": true, | ||
"update_frequency": "monthly", "author_email": "admin@localhost", "version": "1.0", | ||
"license_id": "other-open", "data_driven_application": "NO", "security_classification": "PUBLIC", | ||
"notes": "test", "de_identified_data": "NO"}' \ | ||
${CKAN_ACTION_URL}/package_create | ||
|
||
# Create public test dataset with our standard fields | ||
curl -LsH "Authorization: ${API_KEY}" \ | ||
--data '{"name": "public-test-dataset", "owner_org": "'"${TEST_ORG_ID}"'", | ||
"update_frequency": "monthly", "author_email": "[email protected]", "version": "1.0", | ||
"license_id": "other-open", "data_driven_application": "NO", "security_classification": "PUBLIC", | ||
"notes": "test", "de_identified_data": "NO"}' \ | ||
${CKAN_ACTION_URL}/package_create | ||
|
||
if [ "$VENV_DIR" != "" ]; then | ||
deactivate | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.