Skip to content

Instantly share code, notes, and snippets.

View djazayeri's full-sized avatar

Darius Jazayeri djazayeri

View GitHub Profile
@Configuration
public class WebMvcConfiguration extends WebMvcConfigurerAdapter {
@Override
public void configurePathMatch(PathMatchConfigurer configurer) {
// Fix handling of /api/v1/addon/org.openmrs.module.appui (otherwise appui is treated as a file extension)
configurer.setUseRegisteredSuffixPatternMatch(true);
}
@Override
@djazayeri
djazayeri / gist:6e8cc1395dd9ef04decd9af9e2dbdaef
Created August 7, 2018 07:25
Error message when installing OpenMRS on Google Cloud SQL with binary logging enabled
SEVERE 8/7/18 12:34 AM:liquibase: Change Set liquibase-update-to-latest.xml::20090122-0853::bwolfe failed. Error: Error executing SQL CREATE TABLE `tmp_concept_name_tag_duplicates` AS SELECT DISTINCT concept_name_tag_id AS concept_name_tag_id FROM `concept_name_tag` WHERE concept_name_tag_id IS NOT NULL: Statement violates GTID consistency: CREATE TABLE ... SELECT.
See “Global Transaction Identifiers” at https://cloud.google.com/sql/docs/mysql/diagnose-issues.
@djazayeri
djazayeri / Bahmni-CLA
Created September 21, 2018 00:12
Bahmni Contributor License Agreement
BAHMNI CONTRIBUTOR LICENSE AGREEMENT
OpenMRS, the non-profit home of the Bahmni Coalition, requests that You agree to this Contributor License Agreement for
Contributions You submit to the Bahmni Project. This Agreement protects You as a contributor as well as OpenMRS and the Bahmni
Project, it does not change Your rights to use Your Contributions for any other purpose.
By submitting your Contributions to the Bahmni Project and/or OpenMRS, You hereby agree to the terms and conditions of this
Contributor License Agreement.
0. Definitions