forked from collectionspace/application
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CSPACE-6471: Updated test files to deal with schema changes to condit…
…ion check record.
- Loading branch information
Richard Millet
committed
Nov 12, 2014
1 parent
3fa686d
commit 6665bdc
Showing
4 changed files
with
604 additions
and
936 deletions.
There are no files selected for viewing
124 changes: 52 additions & 72 deletions
124
...src/test/resources/org/collectionspace/chain/csp/persistence/services/conditioncheck.json
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 |
---|---|---|
@@ -1,78 +1,58 @@ | ||
{ | ||
"objectAuditCategory": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(low)'Low'", | ||
"completenessGroup": [ | ||
{ | ||
"_primary": true, | ||
"completeness": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(complete)'Complete'", | ||
"completenessDate": "2012-10-19T22:38:43Z", | ||
"completenessNote": "Object is complete." | ||
} | ||
], | ||
"conditionCheckGroup": [ | ||
{ | ||
"_primary": true, | ||
"condition": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(needsnowork)'Needs no work'", | ||
"conditionDate": "2012-10-19T22:38:43Z", | ||
"conditionNote": "Object is complete." | ||
} | ||
], | ||
"conservationTreatmentPriority": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(low)'Low'", | ||
"envConditionNoteGroup": [ | ||
{ | ||
"_primary": true, | ||
"envConditionNote": "Environmental condition is supurb.", | ||
"envConditionNoteDate": "2012-10-19T22:38:43Z" | ||
} | ||
], | ||
"nextConditionCheckDate": "2012-14-19T22:38:43Z", | ||
"techAssessmentGroup": [ | ||
{ | ||
"_primary": true, | ||
"techAssessment": "Environmental condition is supurb.", | ||
"techAssessmentDate": "2012-10-19T22:38:43Z" | ||
} | ||
], | ||
"hazardGroup": [ | ||
{ | ||
"_primary": true, | ||
"hazard": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(radioactive)'Radioactive'", | ||
"hazardDate": "2012-10-19T22:38:43Z", | ||
"hazardNote": "Object needs to be extinguished occasionally." | ||
} | ||
], | ||
"conditionCheckAssessmentDates": [ | ||
{ | ||
"_primary": true, | ||
"conditionCheckAssessmentDate":"2010-08-19T22:38:43Z" | ||
} | ||
], | ||
"conditionCheckMethod": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(observed)'Observed'", | ||
"conditionCheckNote": "It's ok", | ||
"conditionCheckReason": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(newacquisition)'New acquisition'", | ||
"conditionCheckRefNumber": "CC2013.001", | ||
"legalReqsHeldGroup": [{ | ||
"_primary": true, | ||
"legalReqsHeldBeginDate": "2010-10-19T22:38:43Z", | ||
"legalReqsHeldRenewDate": "2013-10-19T22:38:43Z", | ||
"legalReqsHeldEndDate": "2013-10-19T22:38:43Z", | ||
"legalReqsHeld": "All of them.", | ||
"legalReqsHeldNumber": "12345" | ||
}], | ||
"hazardGroup": [{ | ||
"_primary": true, | ||
"hazardNote": "Object needs to be extinguished occasionally.", | ||
"hazard": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(radioactive)'Radioactive'", | ||
"hazardDate": "2012-10-19T22:38:43Z" | ||
}], | ||
"salvagePriorityCodeGroup": [{ | ||
"salvagePriorityCode": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(low)'Low'", | ||
"_primary": true, | ||
"salvagePriorityCodeDate": "2011-10-19T22:38:43Z" | ||
}], | ||
"conditionCheckGroup": [{ | ||
"_primary": true, | ||
"condition": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(needsnowork)'Needs no work'", | ||
"conditionNote": "Object is complete.", | ||
"conditionDate": "2012-10-19T22:38:43Z" | ||
}], | ||
"conditionChecker": "urn:cspace:org.collectionspace.demo:personauthorities:name(TestPersonAuth):person(JimChecker)'Jim Checker'", | ||
"displayRecommendations": "show every other tuesday", | ||
"envRecommendations": "pure oxygen only", | ||
"handlingRecommendations": "use angel hair", | ||
"specialRequirements": "none", | ||
"packingRecommendations": "use the finest cork", | ||
"conditionCheckAssessmentDate": "2010-08-19T22:38:43Z", | ||
"securityRecommendations": "can you get superman?", | ||
"specialRequirements": "none", | ||
"envRecommendations": "pure oxygen only", | ||
"techAssessmentGroup": [{ | ||
"_primary": true, | ||
"techAssessment": "Environmental condition is supurb.", | ||
"techAssessmentDate": "2012-10-19T22:38:43Z" | ||
}], | ||
"conditionCheckReason": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(newacquisition)'New acquisition'", | ||
"conditionCheckNote": "It's ok", | ||
"conservationTreatmentPriority": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(low)'Low'", | ||
"storageRequirements": "place inside the fortress of solitude", | ||
"salvagePriorityCodeGroup": [ | ||
{ | ||
"_primary": true, | ||
"salvagePriorityCode": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(low)'Low'", | ||
"salvagePriorityCodeDate": "2011-10-19T22:38:43Z" | ||
} | ||
], | ||
"legalReqsHeldGroup": [ | ||
{ | ||
"_primary": true, | ||
"legalReqsHeld": "All of them.", | ||
"legalReqsHeldBeginDate": "2010-10-19T22:38:43Z", | ||
"legalReqsHeldEndDate": "2013-10-19T22:38:43Z", | ||
"legalReqsHeldNumber": "12345", | ||
"legalReqsHeldRenewDate": "2013-10-19T22:38:43Z" | ||
} | ||
] | ||
"displayRecommendations": "show every other tuesday", | ||
"conditionCheckRefNumber": "CC2013.001", | ||
"nextConditionCheckDate": "2012-14-19T22:38:43Z", | ||
"objectAuditCategory": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(low)'Low'", | ||
"completenessGroup": [{ | ||
"_primary": true, | ||
"completeness": "urn:cspace:core.collectionspace.org:vocabularies:name(TestTermList):item:name(complete)'Complete'", | ||
"completenessDate": "2012-10-19T22:38:43Z", | ||
"completenessNote": "Object is complete." | ||
}], | ||
"handlingRecommendations": "use angel hair", | ||
"envConditionNoteGroup": [{ | ||
"_primary": true, | ||
"envConditionNoteDate": "2012-10-19T22:38:43Z", | ||
"envConditionNote": "Environmental condition is supurb." | ||
}] | ||
} |
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
Oops, something went wrong.