CSPACE-595 first pass at the side-by-side tenant test, although not used concurrently yet
CSPACE-1035 nuxeo domain (for each tenant) is created at the startup time if it does not already exist
- added pahma-domain (hearstmuseum.berkeley.edu) to the tenant bindings in addition to the default-domain (movingimages.us) that is currently used. both bindings are similar in this first pass, i.e. both tenants use the same set of services with same service object bindings as well.
- each tenant binding now specifies repository domain(s) used
- each repository domain embodies information about the repository client needed
- tenantrepository uses repository javaclient instead of using nuxeo connector directly
- each service binding now specifies the repository domain used
- account factory on the client side now takes tenant id from new property cspace.tenant that is added to collection-space-client.properties
- removed deadwood from test-xxx.sql scripts
- role and permissions doc handlers now utilize tenant id if provided by the consumer at the time of creation, if not, they continue to use logged in user's tenant id
-
!!ATTENTION!!
-ant create_db from the trunk (to verify nuxeo domain is created)
-ant import from the trunk (no need to checkin import-*.xml files)
-ant undeploy deploy from the trunk
M trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/PermissionDocumentHandler.java
M trunk/services/authorization-mgt/service/src/main/java/org/collectionspace/services/authorization/storage/RoleDocumentHandler.java
M trunk/services/authorization-mgt/import/src/main/java/org/collectionspace/services/authorization/importer/AuthorizationSeed.java
M trunk/services/authorization-mgt/import/src/main/resources/import-data/import-permissions.xml
M trunk/services/authorization-mgt/import/src/main/resources/import-data/import-permissions-roles.xml
M trunk/services/authorization-mgt/import/src/main/resources/import-data/import-roles.xml
M trunk/services/authorization-mgt/import/src/main/resources/log4j.properties
M trunk/services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/RoleServiceTest.java
M trunk/services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionServiceTest.java
M trunk/services/authorization/pstore/src/main/resources/db/mysql/test_authorization.sql
M trunk/services/authentication/pstore/src/main/resources/db/mysql/test_authentication.sql
M trunk/services/common/src/main/java/org/collectionspace/services/common/repository/RepositoryClient.java
M trunk/services/common/src/main/java/org/collectionspace/services/common/context/AbstractServiceContextImpl.java
M trunk/services/common/src/main/java/org/collectionspace/services/common/ServiceMain.java
M trunk/services/common/src/main/java/org/collectionspace/services/common/config/TenantBindingConfigReaderImpl.java
M trunk/services/common/src/main/java/org/collectionspace/services/common/document/JaxbUtils.java
M trunk/services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RepositoryJavaClientImpl.java
M trunk/services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/TenantRepository.java
M trunk/services/common/src/main/config/services/service-config.xml
M trunk/services/common/src/main/config/services/tenant-bindings.xml
M trunk/services/common/src/main/resources/tenant.xsd
M trunk/services/common/src/main/resources/service.xsd
M trunk/services/account/pstore/src/main/resources/db/mysql/test_account.sql
M trunk/services/account/client/src/test/java/org/collectionspace/services/account/client/test/AccountRoleServiceTest.java
M trunk/services/account/client/src/test/java/org/collectionspace/services/account/client/test/AccountServiceTest.java
M trunk/services/account/client/src/main/java/org/collectionspace/services/client/AccountFactory.java
M trunk/services/account/client/src/main/java/org/collectionspace/services/client/AccountClient.java
M trunk/services/security/client/src/test/java/org/collectionspace/services/security/client/test/AuthenticationServiceTest.java
M trunk/services/security/client/src/test/java/org/collectionspace/services/security/client/test/AuthorizationServiceTest.java
M trunk/services/client/src/main/java/org/collectionspace/services/client/AbstractServiceClientImpl.java
M trunk/services/client/src/main/java/org/collectionspace/services/client/CollectionSpaceClient.java
M trunk/services/client/src/main/resources/collectionspace-client.properties
D trunk/src/main/resources/db/mysql/service-dump.sql