-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
73435d4
commit 0dcccaa
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 @@ | ||
![diagram](./h20_compare_dcat-1.svg) |
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,35 @@ | ||
```mermaid | ||
flowchart TD | ||
subgraph Harvest source | ||
getHarvest([Download Harvest Source]) | ||
extractHarvest([Extract datasets]) | ||
hashDataset([Hash dataset]) | ||
end | ||
subgraph Catalog | ||
queryCKAN([Faceted Solr Query]) | ||
extractHash([create `id: sourch_hash` hashmap]) | ||
end | ||
%% Operations | ||
compareHash{compare hashses} | ||
createDataset([Create new dataset]) | ||
deleteDataset([Delete old dataset]) | ||
updateDataset([Update existing dataset]) | ||
%% flow | ||
getHarvest -- 1-to-N --> extractHarvest | ||
extractHarvest --> hashDataset | ||
hashDataset --> compareHash | ||
queryCKAN -- 1-to-N --> extractHash | ||
extractHash --> compareHash | ||
compareHash -- ID found; Hash not same --> updateDataset | ||
compareHash -- ID not found in Catalog --> createDataset | ||
compareHash -- ID not found in Harvest Source --> deleteDataset | ||
compareHash -- ID found; Hash same --> Pass([Pass]) | ||
``` |
0dcccaa
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage Report