Build: #22 was successful Changes by Mark Goodrich <mgoodrich@pih.org> and Vinay Venu <vinayv@thoughtworks.com>
Code commits
Git
-
Mark Goodrich <mgoodrich@pih.org> a419da8e944d7a560f426578ed18a829ee14184b
Merge pull request #10 from vinayvenu/ADDR-74
ADDR-74 - Refactor AddressHierarchyAjaxController.getPossibleAddressH… -
Vinay Venu <vinayv@thoughtworks.com> 6e1de85f576ad1999ab0e1ea04d10d094ec3ed17
ADDR-74 - Refactor AddressHierarchyAjaxController.getPossibleAddressHierarchyEntriesWithParents
1. Replace parentName with parentUuid
2. Remove parentLevel
3. Add default for level
4. Add useGeneratedIdForParent as alternative to uuid
4. Search anywhere when parent is specified
5. Add validation when limit is less than zero
6. Add tests to controller- api/src/main/java/org/openmrs/module/addresshierarchy/db/AddressHierarchyDAO.java (version 6e1de85f576ad1999ab0e1ea04d10d094ec3ed17)
- api/src/main/java/org/openmrs/module/addresshierarchy/db/hibernate/HibernateAddressHierarchyDAO.java (version 6e1de85f576ad1999ab0e1ea04d10d094ec3ed17)
- api/src/main/java/org/openmrs/module/addresshierarchy/service/AddressHierarchyService.java (version 6e1de85f576ad1999ab0e1ea04d10d094ec3ed17)
- api/src/main/java/org/openmrs/module/addresshierarchy/service/AddressHierarchyServiceImpl.java (version 6e1de85f576ad1999ab0e1ea04d10d094ec3ed17)
- api/src/test/java/org/openmrs/module/addresshierarchy/AddressHierarchyServiceTest.java (version 6e1de85f576ad1999ab0e1ea04d10d094ec3ed17)
- omod/src/main/java/org/openmrs/module/addresshierarchy/web/controller/ajax/AddressHierarchyAjaxController.java (version 6e1de85f576ad1999ab0e1ea04d10d094ec3ed17)
- omod/src/test/java/org/openmrs/module/addresshierarchy/web/controller/ajax/AddressHierarchyAjaxControllerTest.java (version 6e1de85f576ad1999ab0e1ea04d10d094ec3ed17)
- omod/src/test/resources/TestingApplicationContext.xml (version 6e1de85f576ad1999ab0e1ea04d10d094ec3ed17)
- omod/src/test/resources/log4j.xml (version 6e1de85f576ad1999ab0e1ea04d10d094ec3ed17)
- omod/src/test/resources/org/openmrs/module/addresshierarchy/include/addressHierarchy-dataset.xml (version 6e1de85f576ad1999ab0e1ea04d10d094ec3ed17)
- omod/src/test/resources/test-hibernate.cfg.xml (version 6e1de85f576ad1999ab0e1ea04d10d094ec3ed17)