OpenMRS Core Master
Build: #1344 failed Changes by teleivo <mrteleivo@gmail.com> and Daniel Kayiwa
Code commits
openmrs-core
-
Daniel Kayiwa e1c3f7896e91a34c3130b45d6d03d5cb9aa92f82
Merge pull request #1846 from teleivo/TRUNK-4936
TRUNK-4936 Add ConceptSource.uniqueId -
teleivo <mrteleivo@gmail.com> 4b9ca17a19a6d1486384333ab978365e7465bfc8
TRUNK-4936 Add ConceptSource.uniqueId
* add ConceptSource.uniqueId
* add property to hibernate mapping file ConceptSource.hbm.xml
* ensure ConceptSourceValidator validates max conceptId length
* add liquibase changeset adding the column concept_source.unique_id
with unique constraint (but defaults to null)
* add service method to ConceptService with implementation in
ConceptServiceImpl
* add ConceptDAO method with HibernateDAO implementation
* add tests for the service layer
* add the official registered OID of "SNOMED CT" into its unique_id
column in the standardTestDataset.xml so it can be used in tests- api/src/main/java/org/openmrs/ConceptSource.java (version 4b9ca17a19a6d1486384333ab978365e7465bfc8)
- api/src/main/java/org/openmrs/api/ConceptService.java (version 4b9ca17a19a6d1486384333ab978365e7465bfc8)
- api/src/main/java/org/openmrs/api/db/ConceptDAO.java (version 4b9ca17a19a6d1486384333ab978365e7465bfc8)
- api/src/main/java/org/openmrs/api/db/hibernate/HibernateConceptDAO.java (version 4b9ca17a19a6d1486384333ab978365e7465bfc8)
- api/src/main/java/org/openmrs/api/impl/ConceptServiceImpl.java (version 4b9ca17a19a6d1486384333ab978365e7465bfc8)
- api/src/main/java/org/openmrs/validator/ConceptSourceValidator.java (version 4b9ca17a19a6d1486384333ab978365e7465bfc8)
- api/src/main/resources/liquibase-update-to-latest.xml (version 4b9ca17a19a6d1486384333ab978365e7465bfc8)
- api/src/main/resources/org/openmrs/api/db/hibernate/ConceptSource.hbm.xml (version 4b9ca17a19a6d1486384333ab978365e7465bfc8)
- api/src/test/java/org/openmrs/api/ConceptServiceTest.java (version 4b9ca17a19a6d1486384333ab978365e7465bfc8)
- api/src/test/java/org/openmrs/validator/ConceptSourceValidatorTest.java (version 4b9ca17a19a6d1486384333ab978365e7465bfc8)
- api/src/test/resources/org/openmrs/include/standardTestDataset.xml (version 4b9ca17a19a6d1486384333ab978365e7465bfc8)