PR opened Bahmni/default-config
pr created time in 5 days
push eventBahmni/bahmni-playbooks
commit sha 122d8e0e46e04b598334c9bd62f894a459c858d5
BAH-1124|Buvaneswari|Odoo page distortion - lessc downgrade issue (#63) * BAH-1124|Buvaneswari|Odoo page distortion - lessc downgrade issue * BAH-1124|Buvaneswari|Choosing lessc version to be 3.11.1
push time in 5 days
PR merged Bahmni/bahmni-playbooks
The downgraded version is 3.5.3 as it was the supported version w.r.t odoo 10.
pr closed time in 5 days
pull request commentBahmni/bahmni-reports
<br/>Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.<br/><sub>You have signed the CLA already but the status is still pending? Let us recheck it.</sub>
comment created time in 6 days
PR opened Bahmni/bahmni-reports
Bumps poi from 3.12 to 3.17.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
<details> <summary>Dependabot commands and options</summary> <br />
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.
</details>
pr created time in 6 days
create barnchBahmni/bahmni-reports
branch : dependabot/maven/org.apache.poi-poi-3.17
created branch time in 6 days
PR opened Bahmni/bahmni-playbooks
The downgraded version is 3.5.3 as it was the supported version w.r.t odoo 10.
pr created time in 9 days
Pull request review commentBahmni/event-log-service
BAH-1109 | Gopi , Shriram | Selective Sync Feature - EventLogService
public void shouldGetPatientEventLogExcludingCategories() throws Exception { EventLog lastReadEventLog = new EventLog(); lastReadEventLog.setId(1000); when(eventLogRepository.findTop1ByUuid(uuid)).thenReturn(lastReadEventLog);- when(eventLogRepository.findTop100ByFilterInAndIdAfterAndCategoryNotIn(filtersList, lastReadEventLog.getId(), categoryList)).thenReturn(eventLogs);- when(eventLogRepository.countByFilterInAndIdAfterAndCategoryNotIn(filtersList, lastReadEventLog.getId(), categoryList)).thenReturn(1);+ for(String filter: filterBy) {+ when(eventLogRepository.findTop100ByFilterContainsAndIdAfterAndCategoryNotIn(filter, lastReadEventLog.getId(), categoryList)).thenReturn(eventLogs);+ }++// when(eventLogRepository.countByFilterInAndIdAfterAndCategoryNotIn(filtersList, lastReadEventLog.getId(), categoryList)).thenReturn(1);
@gopikrishna-yaramothu do we need this commented code ?
comment created time in 19 days
Pull request review commentBahmni/bahmni-offline-sync
BAh-1106 | Gopi,Shriram | Changes Related To Zipping of AddressHierarchy and OfflineConcepts
public void execute() { log.info(String.format("Creating zip files for %s is successfully completed", filter)); }+ log.info("InitialSyncArtifactsPublisher job completed"); } catch (SQLException | IOException | InterruptedException e) { e.printStackTrace(); }++ }++ private void zipOfflineConcepts(String initSyncDirectory) {+ createInitSyncDirectory(initSyncDirectory);+ try{+ SimpleObject lastEvent = getLastEvent();+ Integer lastEventId = new Integer(lastEvent.get("id"));+ log.info("LastEventId: + " + lastEventId);+ String preTextTemplate = "{\"lastReadEventUuid\":\"%s\", \"offlineconcepts\":[";+ String postText = "]}";+ Connection connection = getTransactionManager().getConnection();+ String filter = "offline-concepts";+ String sql = getObjectUUIDSql(lastEventId, filter);+ EventLogProcessor eventLogProcessor = new EventLogProcessor(sql, connection, null);+ List<SimpleObject> urls = eventLogProcessor.getUrlObjects();+ log.info("Number of offline concepts records -> "+ urls.size());+ for (int index = 0; index < urls.size(); index += JUMP_SIZE) {+ String fileName = getFileName(filter, index);+ List<SimpleObject> subUrls = urls.subList(index, getUpperLimit(index, urls.size()));+ PatientProfileWriter patientProfileWriter = getWriter(fileName, initSyncDirectory, "offline-concepts");+ String lastEventUuid = (index + JUMP_SIZE < urls.size()) ?+ subUrls.get(subUrls.size() - 1).get("uuid").toString() : lastEvent.get("uuid").toString();+ String preText = String.format(preTextTemplate, lastEventUuid);+ patientProfileWriter.write(preText);+ try {+ for (int fileCount = 0; fileCount < subUrls.size(); fileCount++) {+ SimpleObject event = subUrls.get(fileCount);+ String temp = getOpenMRSResource("http://localhost"+event.get("object")+"/");+ if (fileCount != 0) {+ patientProfileWriter.append(",");+ }+ patientProfileWriter.write(SimpleObject.parseJson(temp));+ }+ log.info(String.format("Creating zip file for %s is successfully completed", fileName));+ } catch (IOException e) {+ throw new EventLogIteratorException("Error while writing with provided writer [" + patientProfileWriter.toString() + "]", e);+ }+ patientProfileWriter.write(postText);+ patientProfileWriter.close();+ Thread.sleep(1000);+ }+ } catch (SQLException | IOException | InterruptedException e) {+ e.printStackTrace();+ log.error(e.getMessage());+ }+ }++// private void zipOfflineConcepts(String initSyncDirectory){+// createInitSyncDirectory(initSyncDirectory);+// try{+// SimpleObject lastEvent = getLastEvent();+// Integer lastEventId = new Integer(lastEvent.get("id"));+// log.error("LastEventId: + " + lastEventId);+// String preTextTemplate = "{\"lastReadEventUuid\":\"%s\", \"addressHierarchy\":[";+// String postText = "]}";+// Connection connection = getTransactionManager().getConnection();+// String filter = "offline-concepts";+// String sql = getObjectUUIDSql(lastEventId, filter);+// EventLogProcessor eventLogProcessor = new EventLogProcessor(sql, connection, new OfflineConceptsTransformer());+// List<SimpleObject> urls = eventLogProcessor.getUrlObjects();+// for (int index = 0; index < urls.size(); index += JUMP_SIZE) {+// String fileName = getFileName(filter, index);+// log.error(String.format("Creating zip file for %s is started", fileName));+// List<SimpleObject> subUrls = urls.subList(index, getUpperLimit(index, urls.size()));+// PatientProfileWriter patientProfileWriter = getWriter(fileName, initSyncDirectory, "addressHierarchy");+// String lastEventUuid = (index + JUMP_SIZE < urls.size()) ?+// subUrls.get(subUrls.size() - 1).get("uuid").toString() : lastEvent.get("uuid").toString();+// String preText = String.format(preTextTemplate, lastEventUuid);+// patientProfileWriter.write(preText);+// eventLogProcessor.process(subUrls, patientProfileWriter);+// patientProfileWriter.write(postText);+// patientProfileWriter.close();+// Thread.sleep(1000);+// // break; //TODO+// }+// } catch (SQLException | IOException | InterruptedException e) {+// e.printStackTrace();+// }+// }
@gopikrishna-yaramothu Do we need this commented code here ?
comment created time in 20 days
Pull request review commentBahmni/bahmni-offline-sync
BAh-1106 | Gopi,Shriram | Changes Related To Zipping of AddressHierarchy and OfflineConcepts
+package org.bahmni.module.bahmniOfflineSync.job;++import org.apache.commons.logging.Log;+import org.apache.commons.logging.LogFactory;+import org.bahmni.module.bahmniOfflineSync.constants.KeyMapping;+import org.bahmni.module.bahmniOfflineSync.eventLog.RowTransformer;+import org.openmrs.api.context.Context;+import org.openmrs.module.addresshierarchy.AddressHierarchyEntry;+import org.openmrs.module.addresshierarchy.AddressHierarchyLevel;+import org.openmrs.module.addresshierarchy.service.AddressHierarchyService;+import org.openmrs.module.emrapi.concept.EmrConceptService;+import org.openmrs.module.webservices.rest.SimpleObject;++import java.util.regex.Matcher;+import java.util.regex.Pattern;++public class AddressHierarchyTransformer implements RowTransformer {++ protected Log log = LogFactory.getLog(getClass());++ @Override+ public SimpleObject transform(String url) {+ AddressHierarchyService addressHierarchyService = Context.getService(AddressHierarchyService.class);+ String uuid = getUuidFromUrl(url);+ if (uuid == null) {+ return null;+ }+ try {+ AddressHierarchyEntry addressHierarchyEntry = addressHierarchyService.getAddressHierarchyEntryByUuid(uuid);+ if(addressHierarchyEntry != null && addressHierarchyEntry.getAddressHierarchyEntryId() != null) {+ StringBuilder sbr = new StringBuilder();+ sbr.append("{");+ sbr.append(KeyMapping.AddressHierarchyEntry_ID + addressHierarchyEntry.getAddressHierarchyEntryId() + ",");+ sbr.append(KeyMapping.Name + addressHierarchyEntry.getName() + "\",");+ sbr.append(KeyMapping.Level_ID + addressHierarchyEntry.getLevel().getId() + ",");+ sbr.append(KeyMapping.AddressHierarchyLevel);+ sbr.append(KeyMapping.AddressHierarchyLevelID + addressHierarchyEntry.getLevel().getId() + ",");+ sbr.append(KeyMapping.AddressHierarchyLevelName + addressHierarchyEntry.getLevel().getName() + "\",");+ sbr.append(KeyMapping.AddressHierarchyLevelParent_ID + getParentLevelID(addressHierarchyEntry.getLevel().getParent()) + ",");+ sbr.append(KeyMapping.AddressHierarchyLevel_AddressFiled + addressHierarchyEntry.getLevel().getAddressField() + "\",");+ sbr.append(KeyMapping.AddressHierarchyLevel_Required + addressHierarchyEntry.getLevel().getRequired() + ",");+ sbr.append(KeyMapping.AddressHierarchyLevel_UUID + addressHierarchyEntry.getLevel().getUuid() + "\",");+ sbr.append(KeyMapping.AddressHierarchyLevel_ID + addressHierarchyEntry.getLevel().getId() + "},");+ sbr.append(KeyMapping.Parent_ID + getParentID(addressHierarchyEntry.getParent()) + ",");+ sbr.append(KeyMapping.UserGenerated_ID + addressHierarchyEntry.getUserGeneratedId() + "\",");+ sbr.append(KeyMapping.UUID + addressHierarchyEntry.getUuid()+"\"");+ sbr.append("}");+ SimpleObject simpleObject = new SimpleObject();+ simpleObject.add("address", SimpleObject.parseJson(sbr.toString()));+ //log.error("converted response ->" + simpleObject.get("address"));
@gopikrishna-yaramothu Please remove the commented if its no longer required here
comment created time in 20 days
pull request commentBahmni/default-config
<br/>Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.<br/><sub>You have signed the CLA already but the status is still pending? Let us recheck it.</sub>
comment created time in 22 days
push eventBahmni/bahmni-gauge
commit sha dbcae6c6e6e251f5220f59e3ca1da92fa4ca3fa3
update webdrivermanager
push time in a month
push eventBahmni/bahmni-offline
commit sha 389f203db2bf5a17fd882c6a595a1d366da85856
Generate APK using artefacts from bahmni-connect repo (#13) add github actions to generate APK using artefacts from connect repo
push time in a month
PR merged Bahmni/bahmni-offline
Generate APK using artefacts from bahmni-connect repo
pr closed time in a month
PR opened Bahmni/bahmni-offline
Generate APK using artefacts from bahmni-connect repo
pr created time in a month
push eventBahmni/bahmni-playbooks
commit sha c733a1f3aa79d186d3afbae6e2b36f763d8deae2
BAH-984|Buvaneswari|OpenElis hibernate.cfg.xml gets overridden by the Jinja template during installation
commit sha 816364afe411adf919d7ee6304542034630d1584
Merge pull request #62 from buvaneswari-arun/BAH-984 BAH-984|Buvaneswari|OpenElis hibernate.cfg.xml gets overridden by the…
push time in a month
PR merged Bahmni/bahmni-playbooks
… Jinja template during installation
pr closed time in a month
PR opened Bahmni/bahmni-playbooks
… Jinja template during installation
pr created time in a month
pull request commentBahmni/bahmni-offline-sync
BAh-1109 | Gopi, Shriram | Selective sync Strategy Changes in OMOD
<br/>Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.<br/>1 out of 2 committers have signed the CLA.<br/><br/>:white_check_mark: gopikrishna-yaramothu<br/>:x: gopikrishnayaramothu<br/><sub>You have signed the CLA already but the status is still pending? Let us recheck it.</sub>
comment created time in a month
PR opened Bahmni/bahmni-offline-sync
pr created time in a month
PR opened Bahmni/bahmni-offline-sync
…lineConcepts
(cherry picked from commit 54be5d5ea614296b4b50b53834cdb97a0e720b69)
pr created time in a month
pull request commentBahmni/event-log-service
BAH-1109 | Gopi , Shriram | Selective Sync Feature - EventLogService
<br/>Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.<br/>0 out of 2 committers have signed the CLA.<br/><br/>:x: gopikrishna-yaramothu<br/>:x: gopikrishnayaramothu<br/><sub>You have signed the CLA already but the status is still pending? Let us recheck it.</sub>
comment created time in a month
PR opened Bahmni/event-log-service
pr created time in a month
PR closed Bahmni/default-config
pr closed time in a month
pull request commentBahmni/default-config
removed patient identifiers and national id
<br/>Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.<br/><sub>You have signed the CLA already but the status is still pending? Let us recheck it.</sub>
comment created time in a month
PR opened Bahmni/default-config
pr created time in a month
push eventBahmni/bahmni-tw-playbooks
commit sha ab42b74ac712efe55fa7944bf9d46376b33f32bd
Changing variables to be passed through env, instead of arguments
commit sha 9b75c811b81a9fab32e5aa9d4162dbc58092d38b
Merge pull request #7 from Bahmni/1192-1 Changing variables to be passed through env, instead of arguments
push time in a month