Closed michelleif closed 3 years ago
If a list of URIs are provided, those resources can be excluded from the cleaning.
Some users may want to have their templates moved to production rather than save them in stage...
do NOT delete the templates and resources listed in the attached file templates and resources to save.xlsx
do NOT delete these either (from MLA group via Kevin Kishimoto) sinopia save 2021-08-27.txt
more templates to save: PCC_and_LD4P_Templates to save.xlsx
do NOT delete these UAL templates:
UAL:BF2:InstanceNote UAL:resourceTemplate:bf2:LCC UAL:resourceTemplate:bf2:Monograph:Instance UAL:resourceTemplate:bf2:Monograph:Instance:Un-Nested UAL:resourceTemplate:bf2:Monograph:Item UAL:resourceTemplate:bf2:Monograph:Item:Un-Nested UAL:resourceTemplate:bf2:Monograph:Opus UAL:resourceTemplate:bf2:Monograph:Opus:Un-Nested UAL:resourceTemplate:bf2:Monograph:Work UAL:resourceTemplate:bf2:Monograph:Work:Un-Nested UAL:resourceTemplate:bf2:Serial:CCN UAL:resourceTemplate:bf2:Serial:Instance UAL:resourceTemplate:bf2:Serial:Item UAL:resourceTemplate:bf2:Serial:Opus:Un-Nested UAL:resourceTemplate:bf2:Serial:Work UAL:resourceTemplate:bf2:Share-VDE-Instance UAL:resourceTemplate:bf2:Share-VDE-Work UAL:resourceTemplate:bf2:ShelfMark UAL:RT:BF2:DescSource UAL:RT:bf2:Monograph:RelatedInstance
or these additional LD4P templates nested within UAL templates: ld4p:RT:bf2:Identifiers:ISSN ld4p:RT:bf2:Identifiers:ISSNL ld4p:RT:bf2:Serial:Title:VarTitle ld4p:RT:bf2:Serial:Title:AbbrTitle ld4p:RT:bf2:Serial:PublicationInformation ld4p:RT:bf2:Serial:DistributionInformation ld4p:RT:bf2:Serial:ManufactureInformation ld4p:RT:bf2:Serial:ProductionInformation ld4p:RT:bf2:Serial:Frequency ld4p:RT:bf2:Serial:RelatedInstance ld4p:RT:bf2:Serial:EnumerationAndChronology ld4p:RT:bf2:Serial:RelatedWork ld4p:RT:bf2:Title:KeyTitle ld4p:RT:bf2:Script
Think I added all those, but always good to doublecheck!
here is a single list of all the resources to retain. ignore above lists. https://app.zenhub.com/files/149367347/6ac4828b-bee4-468c-8e61-d384514e6481/download
@michelleif Here is a list of URIs that were included in the save list, but are not found in stage. OK to ignore? save_missing.txt
at least one of these is just a typo in my list: https://api.stage.sinopia.io/resource/TAMU:RT:BF2:MonographInstance:Un-nested should be https://stage.sinopia.io/editor/TAMU:RT:BF2:Monograph:Instance:Un-nested
so I need to check them all and get back to those who submitted if there is something not found. will post new comment when done.
@justinlittman attached is a doc listing the missing URIs in first column, with corrections in second column, or notes as to which ones are ok to ignore missing_corrected.xlsx
also retain these templates: example:template demo2:art:object test:resource:onefield_required_v2 test:embed:1_RT_one_field_not_required test:embed:1_RT_one_field test:embed:notrequired_but_embedded_required test:embed:2_RTs_one_field_both_required test:embed:resource:noRT test:embed:requiredfield test:resource:noRT test:resource:multiplenestede test:template:one_literal test:template:another_literal test:resource:onefield_required cidoc:modification:demo demo:production demo_ubc:slais my:favtemplate1 rt1:friday test:orderedlookup test:multiple:inputLOC test:multiple:inputQAorder test:QA:contextRT test:template:looking_up_name test:template:one_field test:template:person
[x] Checking with users to see which resources and templates should be retained (Michelle)
[x] Compile a list of the URIs of the resource to be retained.
[x] Create a backup of database.
[x] Delete resources for URIs provided.*
Will need to determine best way to do this. Perhaps add an API method for delete?