CSPACE-308, CSPACE-309, CSPACE-585, CSPACE-582, CSPACE-615 Account Service is
functional. Service consumer could create, get, update and delete an
account. index operation also works.
Running mvn -Pddl in account/client generates account.sql using
hibernate tool with the help of Jpa annotations.
JpaStorage is functional as well. Added a property named entity-name
to service context to indicate Jpa entity for data base operations.
NOTE!!!! Before running tests, a one time execution of 'ant jpa' is
required from services/common. Also requires deploy at trunk level as
cspace datasource configuration has changed.
tests: mvn test passes (requires deploy (trunk) and jpa (common))
_M services/authentication/jaxb
M services/JaxRsServiceProvider/src/main/java/org/collectionspace/services/jaxrs/CollectionSpaceJaxRsApplication.java
M services/JaxRsServiceProvider/src/main/webapp/WEB-INF/jboss-web.xml
M services/JaxRsServiceProvider/src/main/webapp/WEB-INF/web.xml
M services/JaxRsServiceProvider/pom.xml
A services/common/lib
A services/common/lib/jpa-upgrade
AM services/common/lib/jpa-upgrade/ejb3-persistence-1.0.2.GA.jar
AM services/common/lib/jpa-upgrade/hibernate-entitymanager-3.4.0.GA.jar
AM services/common/lib/jpa-upgrade/hibernate-annotations-3.4.0.GA.jar
A services/common/lib/README.txt
M services/common/src/main/java/org/collectionspace/services/common/context/ServiceContext.java
M services/common/src/main/java/org/collectionspace/services/common/context/AbstractServiceContext.java
M services/common/src/main/java/org/collectionspace/services/common/storage/jpa/JpaStorageClient.java
M services/common/build.xml
M services/pom.xml
M services/account/service/src/main/java/org/collectionspace/services/account/storage/AccountDocumentHandler.java
M services/account/service/src/main/java/org/collectionspace/services/account/AccountResource.java
A + services/account/service/src/main/resources/META-INF
M services/account/service/src/main/resources/META-INF/persistence.xml
D services/account/jaxb/src/test/java/org/collectionspace/services/account/test/AccountTest.java
D services/account/jaxb/src/test/resources/META-INF
D services/account/jaxb/src/test/resources/hibernate.cfg.xml
D services/account/jaxb/src/main/resources/META-INF
M services/account/jaxb/src/main/resources/accounts_common.xsd
D services/account/jaxb/src/main/resources/db/mysql/account.sql
M services/account/jaxb/pom.xml
D services/account/3rdparty
M services/account/pom.xml
M services/account/build.xml
A + services/account/client/src/test/java/org/collectionspace/services/client/test/AccountTest.java
M services/account/client/src/test/java/org/collectionspace/services/client/test/AccountServiceTest.java
A + services/account/client/src/test/resources/META-INF
A + services/account/client/src/test/resources/hibernate.cfg.xml
A services/account/client/src/main/resources/db
A services/account/client/src/main/resources/db/mysql
A services/account/client/src/main/resources/db/mysql/account.sql
M services/account/client/pom.xml
M src/main/resources/config/cspace-ds.xml