diff --git a/docs/single_xml.mmd b/docs/single_xml.mmd index a402aaad..f6abb4d3 100644 --- a/docs/single_xml.mmd +++ b/docs/single_xml.mmd @@ -98,9 +98,9 @@ flowchart LR change_object[[Mark Existing Object as Changed]] change_object_2[[Mark Existing Object as Changed]] guess_standard[[Guess Metadata Standard]] - save_content[[Save Content]] - save_content_2[[Save Content]] - save_original_document[[Save Original Content]] + save_content[["Save Content (ISO)"]] + save_content_2[["Save Content (ISO)"]] + save_original_document[["Save Original Content (non-ISO)"]] update[[Update Dataset]] do_nothing[[Nothing to do]] create[[Create New Package]] diff --git a/docs/single_xml.svg b/docs/single_xml.svg index c49881ab..6324f9be 100644 --- a/docs/single_xml.svg +++ b/docs/single_xml.svg @@ -1 +1 @@ -
Import Stage
No
Yes
No
Yes
No
No
Success
tranform
Yes
No
valid
not valid
Yes
No
No
No
Yes
Yes
No
Yes
No
Yes
No
No
Yes
Yes
exception
Yes
exception
Yes
IMPORT STARTED
Is Object Empty?
Is the Object being forcible imported?
Mark Existing Object as Changed
Get status from Gather
Get Existing Object
Should the dataset be deleted?
delete
Is document ISO?
Transform to ISO
Save Content
Parse ISO Document
Is the Object content empty?
Validate Dataset
Continue if validation has errors?
IMPORT ENDED
Make this package the Current Harvest Object
Is the GUID current?
Update GUID
Does the GUID exist?
Generate GUID
Get Modified Date
Create Package Data ..see reference in code..
Is the Harvest Source Private?
Mark Object as private
Is the Harvest Source part of a Topic?
Mark Object as part of topic
Mark Object as geospatial
Make this package the Current Harvest Object
Is the Status new?
Create New Package
is_modified_newer
Transfer old object job history to new object
Delete old object
Reindex package to reflect new date
Update Dataset
Error
Skip
Fetch Stage
FETCH STARTED
Nothing to do
FETCH ENDED
Gather Stage
Yes
No
Yes
No
Exception
GATHER STARTED
Download XML File
Does the object exist?
Get Existing Object
Create New Object
Mark Existing Object as Changed
Guess Metadata Standard
Is document ISO?
Save Content
Save Original Content
GATHER ENDED
Error
\ No newline at end of file +
Import Stage
No
Yes
No
Yes
No
No
Success
tranform
Yes
No
valid
not valid
Yes
No
No
No
Yes
Yes
No
Yes
No
Yes
No
No
Yes
Yes
exception
Yes
exception
Yes
IMPORT STARTED
Is Object Empty?
Is the Object being forcible imported?
Mark Existing Object as Changed
Get status from Gather
Get Existing Object
Should the dataset be deleted?
delete
Is document ISO?
Transform to ISO
Save Content (ISO)
Parse ISO Document
Is the Object content empty?
Validate Dataset
Continue if validation has errors?
IMPORT ENDED
Make this package the Current Harvest Object
Is the GUID current?
Update GUID
Does the GUID exist?
Generate GUID
Get Modified Date
Create Package Data ..see reference in code..
Is the Harvest Source Private?
Mark Object as private
Is the Harvest Source part of a Topic?
Mark Object as part of topic
Mark Object as geospatial
Make this package the Current Harvest Object
Is the Status new?
Create New Package
is_modified_newer
Transfer old object job history to new object
Delete old object
Reindex package to reflect new date
Update Dataset
Error
Skip
Fetch Stage
FETCH STARTED
Nothing to do
FETCH ENDED
Gather Stage
Yes
No
Yes
No
Exception
GATHER STARTED
Download XML File
Does the object exist?
Get Existing Object
Create New Object
Mark Existing Object as Changed
Guess Metadata Standard
Is document ISO?
Save Content (ISO)
Save Original Content (non-ISO)
GATHER ENDED
Error
\ No newline at end of file