forked from collectionspace/application
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CSPACE-6983: Create public art profile.
- Loading branch information
Ray Lee
committed
Jul 8, 2016
1 parent
8226fe0
commit 866854a
Showing
2 changed files
with
175 additions
and
0 deletions.
There are no files selected for viewing
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,69 @@ | ||
<cspace-config tenantname="publicart"> | ||
<tenantid>5000</tenantid> | ||
<version>11</version> | ||
<include src="settings.xml,local-publicart-settings.xml" merge="xmlmerge-settings.properties" strip-root="yes" /> | ||
|
||
<spec> | ||
<include src="base-relations.xml"/> | ||
<include src="base-schemas.xml"/> | ||
|
||
<records> | ||
<enum-blank>Please select a value</enum-blank> | ||
|
||
<include src="base-collectionobject.xml"/> | ||
<include src="base-authority.xml"/> | ||
|
||
<include src="base-procedure-acquisition.xml"/> | ||
<include src="base-procedure-blobs.xml"/> | ||
<include src="base-procedure-conditioncheck.xml"/> | ||
<include src="base-procedure-exhibition.xml"/> | ||
<include src="base-procedure-groups.xml"/> | ||
<include src="base-procedure-intake.xml"/> | ||
<include src="base-procedure-loanin.xml"/> | ||
<include src="base-procedure-loanout.xml"/> | ||
<include src="base-procedure-media.xml"/> | ||
<include src="base-procedure-valuationcontrol.xml"/> | ||
<include src="base-procedure-movement.xml"/> | ||
<include src="base-procedure-objectexit.xml"/> | ||
<include src="base-procedure-conservation.xml"/> | ||
|
||
<include src="base-authority-contact.xml"/> | ||
<include src="base-authority-location-termList.xml"/> | ||
<include src="base-authority-location.xml"/> | ||
<include src="base-authority-organization-termList.xml"/> | ||
<include src="base-authority-organization.xml"/> | ||
<include src="base-authority-person-termList.xml"/> | ||
<include src="base-authority-person.xml"/> | ||
<include src="base-authority-citation-termList.xml"/> | ||
<include src="base-authority-citation.xml"/> | ||
<include src="base-authority-place-termList.xml"/> | ||
<include src="base-authority-place.xml"/> | ||
|
||
<include src="base-authority-concept-termList.xml"/> | ||
<include src="base-authority-concept.xml"/> | ||
<include src="base-authority-work-termList.xml"/> | ||
<include src="base-authority-work.xml"/> | ||
|
||
<include src="base-vocabularies.xml"/> | ||
|
||
<include src="base-authz-accountrole.xml"/> | ||
<include src="base-authz-permission.xml"/> | ||
<include src="base-authz-permrole.xml"/> | ||
<include src="base-authz-role.xml"/> | ||
<include src="base-authz-userperm.xml"/> | ||
<include src="base-authz-userrole.xml"/> | ||
<include src="base-authz-users.xml"/> | ||
|
||
<include src="base-other-dimension.xml"/> | ||
<include src="base-other-address.xml"/> | ||
<include src="base-other-hierarchy.xml"/> | ||
<include src="base-other-idgenerator.xml"/> | ||
<include src="base-other-structureddate.xml"/> | ||
<include src="base-other-termlist.xml"/> | ||
<include src="base-other-termlistitem.xml"/> | ||
<include src="base-other-reporting.xml"/> | ||
<include src="base-other-reportingoutput.xml"/> | ||
<include src="base-other-searchall.xml"/> | ||
</records> | ||
</spec> | ||
</cspace-config> |
106 changes: 106 additions & 0 deletions
106
tomcat-main/src/main/resources/tenants/publicart/settings.xml
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,106 @@ | ||
<settings> | ||
<admin> | ||
<username>admin@publicart.collectionspace.org</username> | ||
<password>Administrator</password> | ||
<tenant>5000</tenant> | ||
<tenantname>publicart</tenantname> | ||
<cookievalidformins>60</cookievalidformins> | ||
<!-- termLists, autocomplete instance lists, specs, and schemas, | ||
static UI elements, etc. | ||
will cache for a month (60*60*24*30) by default --> | ||
<termlist-cache-timeout>2592000</termlist-cache-timeout> | ||
<autocompletelist-cache-timeout>2592000</autocompletelist-cache-timeout> | ||
<reportlist-cache-timeout>2592000</reportlist-cache-timeout> | ||
<!-- This is for user-uploaded media, not static UI images --> | ||
<uploaded-media-cache-timeout>2592000</uploaded-media-cache-timeout> | ||
<uispecschema-cache-timeout>2592000</uispecschema-cache-timeout> | ||
<ui-html-cache-timeout>2592000</ui-html-cache-timeout> | ||
<ui-css-cache-timeout>2592000</ui-css-cache-timeout> | ||
<ui-js-cache-timeout>2592000</ui-js-cache-timeout> | ||
<!-- This is for static UI images like icons, not uploaded images --> | ||
<ui-media-cache-timeout>2592000</ui-media-cache-timeout> | ||
<!-- This is for the message bundles properties --> | ||
<ui-props-cache-timeout>2592000</ui-props-cache-timeout> | ||
</admin> | ||
<email> | ||
<baseurl>http://localhost:@JEE_PORT@</baseurl> | ||
<from>admin@publicart.collectionspace.org</from> | ||
<to></to> | ||
<!-- if specified then all emails will send to this address - used for debugging --> | ||
<smtp> | ||
<host>localhost</host> | ||
<port>25</port> | ||
<debug>false</debug> | ||
<auth enabled="false"> | ||
<!-- set to true if wish to use auth --> | ||
<username></username> | ||
<password></password> | ||
</auth> | ||
</smtp> | ||
<passwordreset> | ||
<token> | ||
<daysvalid>7</daysvalid> | ||
</token> | ||
<loginpage>/collectionspace/ui/publicart/html/index.html</loginpage> | ||
<subject>CollectionSpace Password reset request</subject> | ||
<message>Hello {{greeting}},\n\r\n\rYou've started the process to reset your CollectionSpace account password.\n\r\n\rTo finish resetting your password, go to the Reset Password page {{link}} on CollectionSpace.\n\r\n\r \n\r\n\rIf clicking the link doesn't work, copy and paste the following link into your browser address bar and click Go.\n\r\n\r{{link}}\n\r \n\r\n\rThanks,\n\r\n\r CollectionSpace Administrator\n\r\n\rPlease do not reply to this email. This mailbox is not monitored and you will not receive a response. For assistance, contact your CollectionSpace Administrator directly.</message> | ||
</passwordreset> | ||
</email> | ||
<persistence> | ||
<service> | ||
<url>http://localhost:@JEE_PORT@/cspace-services</url> | ||
<tenant> | ||
<id>5000</id> | ||
<name>publicart.collectionspace.org</name> | ||
<domain>publicart</domain> | ||
<version>0.1</version> | ||
<display-name>CollectionSpace Public Art Tenant</display-name> | ||
</tenant> | ||
<repository> | ||
<domain>publicart</domain> | ||
<name>publicart</name> | ||
<client>nuxeo-java</client> | ||
<dateformats> | ||
<pattern>MM/dd/yyyy</pattern> | ||
<pattern>MMM dd, yyyy</pattern> | ||
<pattern>dd.MM.yyyy</pattern> | ||
</dateformats> | ||
<languages> | ||
<language>en</language> | ||
</languages> | ||
<indexHandler>org.collectionspace.services.common.init.AddIndices</indexHandler> | ||
</repository> | ||
<ims-url>/collectionspace/tenant/publicart/</ims-url> <!-- XXX should be in separate IMS section --> | ||
</service> | ||
</persistence> | ||
<ui> | ||
<web> | ||
<login-dest>/collectionspace/ui/publicart/html/findedit.html</login-dest> | ||
<login-failed-dest>/collectionspace/ui/publicart/html/index.html</login-failed-dest> | ||
<front-page>/collectionspace/ui/publicart/html/index.html</front-page> | ||
<find-page>myCollectionSpace</find-page> | ||
<tmp-schema-path /> | ||
<mappings> | ||
<map> | ||
<recordtype>record</recordtype> | ||
<file>/publicart/html/record.html</file> | ||
</map> | ||
<map> | ||
<recordtype>authority</recordtype> | ||
<file>/publicart/html/record.html</file> | ||
<configure> | ||
<meta id="recordType">{instance/web-url}</meta> | ||
</configure> | ||
</map> | ||
<map> | ||
<url></url> | ||
<recordtype>procedure</recordtype> | ||
<file>/publicart/html/record.html</file> | ||
<configure> | ||
<meta id="title">Public Art CollectionSpace - {record/web-url}</meta> | ||
</configure> | ||
</map> | ||
</mappings> | ||
</web> | ||
</ui> | ||
</settings> |