OpenMRS Core Master

Build: #1857 failed Changes by Brian Njenga <bkuriakb@gmail.com>

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Code commits

openmrs-core

  • Brian Njenga <bkuriakb@gmail.com>

    Brian Njenga <bkuriakb@gmail.com> 1477f73c283762ab367637991a6fbcd8983d4139

    Add patient program changes (#2559)
    Add program workflow dao and program workflow service changes

    Add hibernate config mappings

    Add unit test for program work flow implementation

    Add patient program attribute

    Add patient program attribute types

    Add program service validator implementation

    Add program service validator

    Add coveredratio config to jacoco

    Code clean up - add license header to all files, remove commented code

    Add liquibase file for update 2.2

    move programserviceImpl tests into separate file

    add programserviceImpl tests file

    Add dataset file for program attributes

    Add doctype tag for hibernate config

    Update hibernate mappings

    Move autowired notation to proper position

    Fix hibernate mapping for patient program

    Rename class instance to use camel case

    Remove unused comment

    Restore security.java to default state

    Remove unnecessary code

    Update tests to include _should in statement

    Add missing license header to all files

    Fix codacy errors

    Fix codacy issue

    Remove unused imports and comment

    Reduce scope to only changed parts

    restore file to default state

    Add missing comment to method body

    Change variable name to a reasonable name

    Add retired_by column to patient_program_attribute table

    Remove voided columns

    Add public modifier to methods in programworkflow service

    Add public access modifier to methods in programworkflow dao

    Change query to refer to patient_program table

    Remove unused implementation class

    Change priveleges for View to Get

    Save attributes before saving patientprogram

    Change from retired to voided

    Add missing attributes for patient program

    Remove package name from class name

    Remove space

    Pass patientprogram recieved from parameter

    Change priveleges

    Add assertion to check if attribute is dropped after purging

    Remove unused code

    Remove unused import

    Fix indentation

    Revert changes for unit test

    Pass in a newly created object

    Revert changes causing error

    • api/pom.xml (version 1477f73c283762ab367637991a6fbcd8983d4139)
    • api/src/main/java/org/openmrs/PatientProgram.java (version 1477f73c283762ab367637991a6fbcd8983d4139)
    • api/src/main/java/org/openmrs/PatientProgramAttribute.java (version 1477f73c283762ab367637991a6fbcd8983d4139)
    • api/src/main/java/org/openmrs/ProgramAttributeType.java (version 1477f73c283762ab367637991a6fbcd8983d4139)
    • api/src/main/java/org/openmrs/api/ProgramWorkflowService.java (version 1477f73c283762ab367637991a6fbcd8983d4139)
    • api/src/main/java/org/openmrs/api/db/ProgramWorkflowDAO.java (version 1477f73c283762ab367637991a6fbcd8983d4139)
    • api/src/main/java/org/openmrs/api/db/hibernate/HibernateProgramWorkflowDAO.java (version 1477f73c283762ab367637991a6fbcd8983d4139)
    • api/src/main/java/org/openmrs/api/impl/ProgramWorkflowServiceImpl.java (version 1477f73c283762ab367637991a6fbcd8983d4139)
    • api/src/main/resources/hibernate.cfg.xml (version 1477f73c283762ab367637991a6fbcd8983d4139)
    • api/src/main/resources/liquibase-update-to-2.2.xml (version 1477f73c283762ab367637991a6fbcd8983d4139)
    • api/src/main/resources/liquibase-update-to-latest.xml (version 1477f73c283762ab367637991a6fbcd8983d4139)
    • api/src/main/resources/org/openmrs/api/db/hibernate/PatientProgram.hbm.xml (version 1477f73c283762ab367637991a6fbcd8983d4139)
    • api/src/main/resources/org/openmrs/api/db/hibernate/PatientProgramAttribute.hbm.xml (version 1477f73c283762ab367637991a6fbcd8983d4139)
    • api/src/main/resources/org/openmrs/api/db/hibernate/ProgramAttributeType.hbm.xml (version 1477f73c283762ab367637991a6fbcd8983d4139)
    • api/src/test/java/org/openmrs/api/ProgramWorkflowServiceTest.java (version 1477f73c283762ab367637991a6fbcd8983d4139)
    • api/src/test/resources/org/openmrs/api/include/ProgramAttributesDataset.xml (version 1477f73c283762ab367637991a6fbcd8983d4139)