Skip to content

Commit e611ac4

Browse files
authored
Merge pull request #230 from osulp/ReturnDegreeNameandURI
Return degree nameand uri
2 parents cf8fb2b + 5d712b8 commit e611ac4

File tree

7 files changed

+209
-28
lines changed

7 files changed

+209
-28
lines changed

config/administrative_report_or_publication.yml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,3 +428,77 @@ migration_nodes:
428428
method:
429429
- Mapping::Type.lookup_hyrax_type
430430
- resource_type
431+
coverage:
432+
field:
433+
name: location
434+
property: "%{work_type}.%{field_name}"
435+
type: Array
436+
xpath: "//metadata/value[@element='coverage']"
437+
method: Mapping::Coverage.unprocessed
438+
qualifiers:
439+
default:
440+
field:
441+
name: location
442+
spatialhydrologicclosedbasins:
443+
field:
444+
name: hydrologicUnitCode
445+
spatialhydrologiccoastal:
446+
field:
447+
name: hydrologicUnitCode
448+
spatialhydrologiclowercolumbia:
449+
field:
450+
name: hydrologicUnitCode
451+
spatialhydrologiclowersnake:
452+
field:
453+
name: hydrologicUnitCode
454+
spatialhydrologicmiddlecolumbia:
455+
field:
456+
name: hydrologicUnitCode
457+
spatialhydrologicmiddlesnake:
458+
field:
459+
name: hydrologicUnitCode
460+
spatialhydrologicnorthca:
461+
field:
462+
name: hydrologicUnitCode
463+
spatialhydrologicwillamette:
464+
field:
465+
name: hydrologicUnitCode
466+
spatialhydrologichumboldt:
467+
field:
468+
name: hydrologicUnitCode
469+
spatialhydrologicsacramento:
470+
field:
471+
name: hydrologicUnitCode
472+
spatialhydrologicnorthlahontan:
473+
field:
474+
name: hydrologicUnitCode
475+
spatial:
476+
field:
477+
name: location
478+
spatial-ecoregion:
479+
field:
480+
name: location
481+
spatialcities:
482+
field:
483+
name: location
484+
spatialcounties:
485+
field:
486+
name: location
487+
spatialecoregion:
488+
field:
489+
name: location
490+
spatialoregonplanbasins:
491+
field:
492+
name: location
493+
spatialstates:
494+
field:
495+
name: location
496+
spatialestuaries:
497+
field:
498+
name: location
499+
spatialwatershedcouncils:
500+
field:
501+
name: location
502+
temporal:
503+
field:
504+
name: date_created

config/conference_proceedings_or_journal.yml

Lines changed: 75 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -181,15 +181,7 @@ migration_nodes:
181181
field:
182182
name: visibility
183183
method:
184-
# set visibility to 'embargo' and embargo_release_date to the value from the node
185-
# set embargo policy during and after embargo
186-
- Mapping::Description.set_embargo
187-
- visibility
188-
- embargo_release_date
189-
- embargo_reason
190-
- additional_information
191-
- visibility_during_embargo
192-
- visibility_after_embargo
184+
Mapping::Description.ignored
193185
description:
194186
field:
195187
name: description
@@ -417,3 +409,77 @@ migration_nodes:
417409
method:
418410
- Mapping::Type.lookup_hyrax_type
419411
- resource_type
412+
coverage:
413+
field:
414+
name: location
415+
property: "%{work_type}.%{field_name}"
416+
type: Array
417+
xpath: "//metadata/value[@element='coverage']"
418+
method: Mapping::Coverage.unprocessed
419+
qualifiers:
420+
default:
421+
field:
422+
name: location
423+
spatialhydrologicclosedbasins:
424+
field:
425+
name: hydrologicUnitCode
426+
spatialhydrologiccoastal:
427+
field:
428+
name: hydrologicUnitCode
429+
spatialhydrologiclowercolumbia:
430+
field:
431+
name: hydrologicUnitCode
432+
spatialhydrologiclowersnake:
433+
field:
434+
name: hydrologicUnitCode
435+
spatialhydrologicmiddlecolumbia:
436+
field:
437+
name: hydrologicUnitCode
438+
spatialhydrologicmiddlesnake:
439+
field:
440+
name: hydrologicUnitCode
441+
spatialhydrologicnorthca:
442+
field:
443+
name: hydrologicUnitCode
444+
spatialhydrologicwillamette:
445+
field:
446+
name: hydrologicUnitCode
447+
spatialhydrologichumboldt:
448+
field:
449+
name: hydrologicUnitCode
450+
spatialhydrologicsacramento:
451+
field:
452+
name: hydrologicUnitCode
453+
spatialhydrologicnorthlahontan:
454+
field:
455+
name: hydrologicUnitCode
456+
spatial:
457+
field:
458+
name: location
459+
spatial-ecoregion:
460+
field:
461+
name: location
462+
spatialcities:
463+
field:
464+
name: location
465+
spatialcounties:
466+
field:
467+
name: location
468+
spatialecoregion:
469+
field:
470+
name: location
471+
spatialoregonplanbasins:
472+
field:
473+
name: location
474+
spatialstates:
475+
field:
476+
name: location
477+
spatialestuaries:
478+
field:
479+
name: location
480+
spatialwatershedcouncils:
481+
field:
482+
name: location
483+
temporal:
484+
field:
485+
name: date_created

config/default.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -205,18 +205,19 @@ migration_nodes:
205205
type: String
206206
method:
207207
# set visibility to 'embargo' and embargo_release_date to the value from the node
208+
# set embargo policy during and after embargo
208209
- Mapping::Description.set_embargo
209210
- visibility
210211
- embargo_release_date
211212
- embargo_reason
213+
- additional_information
214+
- visibility_during_embargo
215+
- visibility_after_embargo
212216
embargopolicy:
213217
field:
214218
name: visibility_during_embargo
215-
method:
216-
# set embargo policy during and after embargo
217-
- Mapping::Description.lookup_embargo_policy
218-
- visibility_during_embargo
219-
- visibility_after_embargo
219+
method:
220+
Mapping::Description.ignored
220221
peerreview:
221222
field:
222223
name: peerreviewed
@@ -486,6 +487,9 @@ migration_nodes:
486487
spatialstates:
487488
field:
488489
name: location
490+
spatialestuaries:
491+
field:
492+
name: location
489493
spatialwatershedcouncils:
490494
field:
491495
name: location

0 commit comments

Comments
 (0)