More details of the release in https://wiki.openmrs.org/x/i4DTAw
Build: #341 was successful Changes by Mike Seaton
Code commits
Git
-
Mike Seaton 55da709a27f2485a695bb38c46fbf5dd0a3a9514
Merge branch 'idset_lock'
-
Mike Seaton f2b202b1c5a5ceb05257f5e94f636df3a0888acf
Add first pass at logging of Definition evaluations and a small number of expensive operations, such as HQL and SQL statement execution.
- api/src/main/java/org/openmrs/module/reporting/ReportingConstants.java (version f2b202b1c5a5ceb05257f5e94f636df3a0888acf)
- api/src/main/java/org/openmrs/module/reporting/definition/DefinitionUtil.java (version f2b202b1c5a5ceb05257f5e94f636df3a0888acf)
- api/src/main/java/org/openmrs/module/reporting/definition/service/BaseDefinitionService.java (version f2b202b1c5a5ceb05257f5e94f636df3a0888acf)
- api/src/main/java/org/openmrs/module/reporting/evaluation/EvaluationLogger.java (version f2b202b1c5a5ceb05257f5e94f636df3a0888acf)
- api/src/main/java/org/openmrs/module/reporting/evaluation/querybuilder/HqlQueryBuilder.java (version f2b202b1c5a5ceb05257f5e94f636df3a0888acf)
- api/src/main/java/org/openmrs/module/reporting/evaluation/querybuilder/SqlQueryBuilder.java (version f2b202b1c5a5ceb05257f5e94f636df3a0888acf)
- api/src/main/java/org/openmrs/module/reporting/report/service/ReportServiceImpl.java (version f2b202b1c5a5ceb05257f5e94f636df3a0888acf)
-
Mike Seaton 150889ab9d4d7136c362a4021c9048428ab6fd27
Re-applying djazayeri's changes that add in explicit transaction management to insert and remove idsets in new transactions, to avoid database locking issues with long-running transactions. Also add in code to the module activator that ensures the idset table is cleared upon module shutdown/startup
- api/src/main/java/org/openmrs/module/reporting/ReportingModuleActivator.java (version 150889ab9d4d7136c362a4021c9048428ab6fd27)
- api/src/main/java/org/openmrs/module/reporting/evaluation/service/EvaluationService.java (version 150889ab9d4d7136c362a4021c9048428ab6fd27)
- api/src/main/java/org/openmrs/module/reporting/evaluation/service/EvaluationServiceImpl.java (version 150889ab9d4d7136c362a4021c9048428ab6fd27)
- api/src/main/java/org/openmrs/module/reporting/report/task/ReportingTimerTask.java (version 150889ab9d4d7136c362a4021c9048428ab6fd27)
- api/src/main/resources/moduleApplicationContext.xml (version 150889ab9d4d7136c362a4021c9048428ab6fd27)
-
Mike Seaton c119389af51c26f03aa61995d37d148e8197aec5
Adding some code that adds an evaluation id to the evaluation context, and ensures that joining against idsets in the database is done within a particular context.
- api/src/main/java/org/openmrs/module/reporting/evaluation/EvaluationContext.java (version c119389af51c26f03aa61995d37d148e8197aec5)
- api/src/main/java/org/openmrs/module/reporting/evaluation/EvaluationIdSet.java (version c119389af51c26f03aa61995d37d148e8197aec5)
- api/src/main/java/org/openmrs/module/reporting/evaluation/querybuilder/HqlQueryBuilder.java (version c119389af51c26f03aa61995d37d148e8197aec5)
- api/src/main/java/org/openmrs/module/reporting/evaluation/service/EvaluationService.java (version c119389af51c26f03aa61995d37d148e8197aec5)
- api/src/main/java/org/openmrs/module/reporting/evaluation/service/EvaluationServiceImpl.java (version c119389af51c26f03aa61995d37d148e8197aec5)
- api/src/test/java/org/openmrs/module/reporting/evaluation/service/EvaluationServiceTest.java (version c119389af51c26f03aa61995d37d148e8197aec5)
-
Mike Seaton 8afc9aeeda62920686c3b9397fc42c75a98bf6bb
Adding composite primary key, and index on idset_key to the reportingidset table
- api/src/main/resources/liquibase.xml (version 8afc9aeeda62920686c3b9397fc42c75a98bf6bb)