-
Notifications
You must be signed in to change notification settings - Fork 0
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 #10 from IATI/multi_zip__cdn_change
feat: save CKAN metadata; output second ZIP
- Loading branch information
Showing
43 changed files
with
1,581 additions
and
177 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,4 @@ jobs: | |
secrets: inherit | ||
with: | ||
APP_NAME: "bulk-data-service" | ||
TARGET_ENVIRONMENT: "test" | ||
TARGET_ENVIRONMENT: "dev" |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM python:3.12-slim-bookworm | ||
FROM python:3.12.5-slim-bookworm | ||
|
||
RUN apt-get update -y | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
_AZURE_STORAGE_BLOB_CONTAINER_NAME_IATI_XML=\$web | ||
_AZURE_STORAGE_BLOB_CONTAINER_NAME_IATI_ZIP=\$web | ||
_AZURE_STORAGE_BLOB_CONTAINER_NAME_IATI_XML="$web" | ||
_AZURE_STORAGE_BLOB_CONTAINER_NAME_IATI_ZIP="$web" | ||
_DATA_REGISTRATION=ckan-registry | ||
_DATA_REGISTRY_BASE_URL=https://iatiregistry.org/api/3/action/package_search | ||
_DATA_REGISTRY_PUBLISHER_METADATA_URL=https://iatiregistry.org/api/action/organization_list?all_fields=true&include_extras=true&include_tags=true | ||
_DATA_REGISTRY_PUBLISHER_METADATA_REFRESH_AFTER_HOURS=24 | ||
_FORCE_REDOWNLOAD_AFTER_HOURS=24 | ||
_LOGFILE=log | ||
_NUMBER_DOWNLOADER_THREADS=25 | ||
_REMOVE_LAST_GOOD_DOWNLOAD_AFTER_FAILING_HOURS=72 | ||
_ZIP_WORKING_DIR=/tmp/bulk-data-service-zip | ||
_ZIP_WORKING_DIR=/tmp/bulk-data-service-zip | ||
_WEB_BASE_URL="https://{{TARGET_ENVIRONMENT}}-bulk-data.iatistandard.org" | ||
_CHECKER_LOOP_WAIT_MINS=20 |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
-- | ||
-- depends: 20240531_01_iY5Qa | ||
ALTER TABLE | ||
iati_datasets DROP COLUMN IF EXISTS registration_service_dataset_metadata; | ||
|
||
ALTER TABLE | ||
iati_datasets DROP COLUMN IF EXISTS registration_service_publisher_metadata; | ||
|
||
ALTER TABLE | ||
iati_datasets DROP COLUMN IF EXISTS registration_service_name; |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
-- | ||
-- depends: 20240531_01_iY5Qa | ||
-- | ||
ALTER TABLE | ||
iati_datasets | ||
ADD | ||
registration_service_dataset_metadata VARCHAR; | ||
|
||
COMMENT ON COLUMN iati_datasets.registration_service_dataset_metadata IS 'the original dataset metadata record from the data registration service'; | ||
|
||
ALTER TABLE | ||
iati_datasets | ||
ADD | ||
registration_service_publisher_metadata VARCHAR; | ||
|
||
COMMENT ON COLUMN iati_datasets.registration_service_publisher_metadata IS 'the original publisher metadata record from the data registration service'; | ||
|
||
ALTER TABLE | ||
iati_datasets | ||
ADD | ||
registration_service_name VARCHAR; | ||
|
||
COMMENT ON COLUMN iati_datasets.registration_service_name IS 'the name of the data registration service'; |
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.