-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DataStore load from local file (library + single node DAG) #10
Comments
This was referenced Jun 11, 2020
@rufuspollock For the DAG, we will have a choice:
As discussed, we may go with opt 2 Both will require manipulations in the |
9 tasks
rufuspollock
changed the title
DAG refactor with API load
DataStore load via from local or remote file (library + DAG)
Jun 12, 2020
This was referenced Jun 15, 2020
Awaiting review of #18 to possibly close this issue |
hannelita
changed the title
DataStore load via from local or remote file (library + DAG)
DataStore load from local file (library + single node DAG)
Jun 16, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add DataStore loading via API to library and build a DAG that loads a (configurable) file to (configurable) CKAN instance (either local and/or demo.ckan) using API only.
Acceptance
load_csv_via_api
method (inserted on Single-DAG DataStore load flow using CKAN DataStore API #17), and combined with create_datastore_table does the entire flow via APIapi_load
(leave olddatastore-load-via-db-copy
aside)params
dictionary of the DAG as shown in [Refactor][l] Splitting main lib files #18**CKAN_SITE_URL
), as well as API Key (withCKAN_SYSADMIN_API_KEY
)Tasks
load.py
to have an agnostic configload_csv
with API approach (similar to datapusher) Single-DAG DataStore load flow using CKAN DataStore API #17resurce_id
aftercreate
and pass it toload
Single-DAG DataStore load flow using CKAN DataStore API #17test
trigger works) [Refactor][l] Splitting main lib files #18Note: Tests will be moved to a separate issue; better design for passing env vars on [Refactor] Pass arguments explicitly to the function rather than pull from config #19
Analysis
Questions
The text was updated successfully, but these errors were encountered: