OpenMRS Core Master

Build: #1244 was successful Changes by Daniel Kayiwa and ys-achinta <achintar@thoughtworks.com>

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Build result summary

Details

Completed
Queue duration
1 second
Duration
14 minutes
Labels
None
Revisions
openmrs-core
924eeba53d18ab06c8bd48d7b618f5aaab5dbc8d 924eeba53d18ab06c8bd48d7b618f5aaab5dbc8d
openmrs-standalone
0ce29bae9faefe443587a59d1a2d0070d49915e9 0ce29bae9faefe443587a59d1a2d0070d49915e9
Release scripts
a9c6b4741f415820e397e9b150cf80baca7f9368 a9c6b4741f415820e397e9b150cf80baca7f9368
Total tests
3265
Successful since
#1229 ()

Tests

Code commits

openmrs-core
Author Commit Message Commit date
Daniel Kayiwa Daniel Kayiwa 924eeba53d18ab06c8bd48d7b618f5aaab5dbc8d 924eeba53d18ab06c8bd48d7b618f5aaab5dbc8d Merge pull request #1748 from vinayvenu/orderset-forwardport
Forward port OrderSet feature from 1.12.x to master
ys-achinta <achintar@thoughtworks.com> ys-achinta <achintar@thoughtworks.com> 008b101aaae07cb61006beec703b3cc4e7f05a6b 008b101aaae07cb61006beec703b3cc4e7f05a6b TRUNK-4834 | Support for orderSets and orderGroups
Creating OrderSet, OrderSetMember metadata,
Corresponding tables order_set, order_set_meber,
Services OrderSetService for operations on the metadata.
Creating OrderGroup
Adding extra methods in OrderService for saving the OrderGroup,
Updating the Order model to have new fields for OrderGroup

Used a List for putting the orderSetMembers in OrderSet,
        (Hibernate internally sets the sequenceNumber)
Added functionality in OrderSet to add a member at a particular position
Used a List for putting the orders in the OrderGroup,
        (Used a bag for mapping the list of orders in hibernate mapping file)
Added functionality in OrderGroup to add an order at a particular postion.

Added functionality for the API to handle negative position values for adding orderSetMembers and Orders
Added validation for illegal position values for adding orderSetMembers and Orders

Added a parameter to the OrderSetMember model to take in a templateType.
(This template type is a name which will decide the schema of the orderTemplate
to be generated)

OrderSet-Implementation:
Added two utility methods to Encounter model
        a. to getOrderGroups within a list of orders
        b. to get the orders which are not associated with orderGroups

EncounterSave iterates through the list of orderGroups and saves them one by one.
EncounterSave iterates through a list of order not having orderGroups for saving them.

OrderService saves an orderGroup and the orders within it.

Configuration changes

Some of the jobs or stages referenced by this result no longer exist.

Manual stage Release cannot be run as it references jobs that no longer exist.

Jira issues

IssueDescriptionStatus
Unknown Issue TypeTRUNK-4834Could not obtain issue details from Jira