-
Notifications
You must be signed in to change notification settings - Fork 2
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 #7 from odissei-data/development
Development
- Loading branch information
Showing
28 changed files
with
486 additions
and
48 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
Empty file.
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
Empty file.
Empty file.
27 changes: 27 additions & 0 deletions
27
prefect_docker/scripts/flows/entry_workflows/dataverse_nl_workflows/main_4tu_ingestion.py
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,27 @@ | ||
import os | ||
import utils | ||
from prefect import flow | ||
from flows.dataset_workflows.dataverse_nl_ingestion import \ | ||
dataverse_nl_metadata_ingestion | ||
from flows.workflow_versioning.workflow_versioner import \ | ||
create_ingestion_workflow_versioning | ||
|
||
RESEARCH_DATA_METADATA_DIRECTORY = os.getenv( | ||
'RESEARCH_DATA_METADATA_DIRECTORY') | ||
RESEARCH_DATA_DATAVERSE_ALIAS = os.getenv('RESEARCH_DATA_DATAVERSE_ALIAS') | ||
|
||
|
||
@flow | ||
def dataverse_nl_ingestion_pipeline(): | ||
version = create_ingestion_workflow_versioning(transformer=True, | ||
fetcher=True, | ||
importer=True, | ||
updater=True) | ||
|
||
utils.workflow_executor(dataverse_nl_metadata_ingestion, | ||
RESEARCH_DATA_METADATA_DIRECTORY, version, | ||
RESEARCH_DATA_DATAVERSE_ALIAS) | ||
|
||
|
||
if __name__ == "__main__": | ||
dataverse_nl_ingestion_pipeline() |
26 changes: 26 additions & 0 deletions
26
prefect_docker/scripts/flows/entry_workflows/dataverse_nl_workflows/main_avans_ingestion.py
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,26 @@ | ||
import os | ||
import utils | ||
from prefect import flow | ||
from flows.dataset_workflows.dataverse_nl_ingestion import \ | ||
dataverse_nl_metadata_ingestion | ||
from flows.workflow_versioning.workflow_versioner import \ | ||
create_ingestion_workflow_versioning | ||
|
||
AVANS_METADATA_DIRECTORY = os.getenv('AVANS_METADATA_DIRECTORY') | ||
AVANS_DATAVERSE_ALIAS = os.getenv('AVANS_DATAVERSE_ALIAS') | ||
|
||
|
||
@flow | ||
def dataverse_nl_ingestion_pipeline(): | ||
version = create_ingestion_workflow_versioning(transformer=True, | ||
fetcher=True, | ||
importer=True, | ||
updater=True) | ||
|
||
utils.workflow_executor(dataverse_nl_metadata_ingestion, | ||
AVANS_METADATA_DIRECTORY, version, | ||
AVANS_DATAVERSE_ALIAS) | ||
|
||
|
||
if __name__ == "__main__": | ||
dataverse_nl_ingestion_pipeline() |
26 changes: 26 additions & 0 deletions
26
prefect_docker/scripts/flows/entry_workflows/dataverse_nl_workflows/main_fontys_ingestion.py
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,26 @@ | ||
import os | ||
import utils | ||
from prefect import flow | ||
from flows.dataset_workflows.dataverse_nl_ingestion import \ | ||
dataverse_nl_metadata_ingestion | ||
from flows.workflow_versioning.workflow_versioner import \ | ||
create_ingestion_workflow_versioning | ||
|
||
FONTYS_METADATA_DIRECTORY = os.getenv('FONTYS_METADATA_DIRECTORY') | ||
FONTYS_DATAVERSE_ALIAS = os.getenv('FONTYS_DATAVERSE_ALIAS') | ||
|
||
|
||
@flow | ||
def dataverse_nl_ingestion_pipeline(): | ||
version = create_ingestion_workflow_versioning(transformer=True, | ||
fetcher=True, | ||
importer=True, | ||
updater=True) | ||
|
||
utils.workflow_executor(dataverse_nl_metadata_ingestion, | ||
FONTYS_METADATA_DIRECTORY, version, | ||
FONTYS_DATAVERSE_ALIAS) | ||
|
||
|
||
if __name__ == "__main__": | ||
dataverse_nl_ingestion_pipeline() |
26 changes: 26 additions & 0 deletions
26
...t_docker/scripts/flows/entry_workflows/dataverse_nl_workflows/main_groningen_ingestion.py
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,26 @@ | ||
import os | ||
import utils | ||
from prefect import flow | ||
from flows.dataset_workflows.dataverse_nl_ingestion import \ | ||
dataverse_nl_metadata_ingestion | ||
from flows.workflow_versioning.workflow_versioner import \ | ||
create_ingestion_workflow_versioning | ||
|
||
GRONINGEN_METADATA_DIRECTORY = os.getenv('GRONINGEN_METADATA_DIRECTORY') | ||
GRONINGEN_DATAVERSE_ALIAS = os.getenv('GRONINGEN_DATAVERSE_ALIAS') | ||
|
||
|
||
@flow | ||
def dataverse_nl_ingestion_pipeline(): | ||
version = create_ingestion_workflow_versioning(transformer=True, | ||
fetcher=True, | ||
importer=True, | ||
updater=True) | ||
|
||
utils.workflow_executor(dataverse_nl_metadata_ingestion, | ||
GRONINGEN_METADATA_DIRECTORY, version, | ||
GRONINGEN_DATAVERSE_ALIAS) | ||
|
||
|
||
if __name__ == "__main__": | ||
dataverse_nl_ingestion_pipeline() |
26 changes: 26 additions & 0 deletions
26
prefect_docker/scripts/flows/entry_workflows/dataverse_nl_workflows/main_hanze_ingestion.py
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,26 @@ | ||
import os | ||
import utils | ||
from prefect import flow | ||
from flows.dataset_workflows.dataverse_nl_ingestion import \ | ||
dataverse_nl_metadata_ingestion | ||
from flows.workflow_versioning.workflow_versioner import \ | ||
create_ingestion_workflow_versioning | ||
|
||
HANZE_METADATA_DIRECTORY = os.getenv('HANZE_METADATA_DIRECTORY') | ||
HANZE_DATAVERSE_ALIAS = os.getenv('HANZE_DATAVERSE_ALIAS') | ||
|
||
|
||
@flow | ||
def dataverse_nl_ingestion_pipeline(): | ||
version = create_ingestion_workflow_versioning(transformer=True, | ||
fetcher=True, | ||
importer=True, | ||
updater=True) | ||
|
||
utils.workflow_executor(dataverse_nl_metadata_ingestion, | ||
HANZE_METADATA_DIRECTORY, version, | ||
HANZE_DATAVERSE_ALIAS) | ||
|
||
|
||
if __name__ == "__main__": | ||
dataverse_nl_ingestion_pipeline() |
24 changes: 24 additions & 0 deletions
24
prefect_docker/scripts/flows/entry_workflows/dataverse_nl_workflows/main_hr_ingestion.py
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,24 @@ | ||
import os | ||
import utils | ||
from prefect import flow | ||
from flows.dataset_workflows.dataverse_nl_ingestion import dataverse_nl_metadata_ingestion | ||
from flows.workflow_versioning.workflow_versioner import \ | ||
create_ingestion_workflow_versioning | ||
|
||
HR_METADATA_DIRECTORY = os.getenv('HR_METADATA_DIRECTORY') | ||
HR_DATAVERSE_ALIAS = os.getenv('HR_DATAVERSE_ALIAS') | ||
|
||
|
||
@flow | ||
def dataverse_nl_ingestion_pipeline(): | ||
version = create_ingestion_workflow_versioning(transformer=True, | ||
fetcher=True, | ||
importer=True, | ||
updater=True) | ||
|
||
utils.workflow_executor(dataverse_nl_metadata_ingestion, | ||
HR_METADATA_DIRECTORY, version, HR_DATAVERSE_ALIAS) | ||
|
||
|
||
if __name__ == "__main__": | ||
dataverse_nl_ingestion_pipeline() |
Oops, something went wrong.