From 1093bf17e92c75043e6c7c1b5fe2726c07b00a3e Mon Sep 17 00:00:00 2001 From: Fred Deniger Date: Wed, 1 May 2024 17:47:36 +0200 Subject: [PATCH] remove attribute for appointments. --- backend/distro.properties | 8 ++--- backend/log4j2.xml | 1 + backend/module-create-users/api/pom.xml | 7 +++++ .../createusers/CreateUsersActivator.java | 16 ++++++++-- .../create-clerk-community-outreach.xml | 0 .../src/main/resources/create-clerk-many.xml | 0 .../resources/create-clerk-mobile-clinic.xml | 0 .../create-clerk-outpatient-clinic.xml | 0 .../create-doctor-community-outreach.xml | 0 .../src/main/resources/create-doctor-many.xml | 2 +- .../resources/create-doctor-mobile-clinic.xml | 0 .../create-doctor-outpatient-clinic.xml | 0 .../create-nurse-community-outreach.xml | 0 .../src/main/resources/create-nurse-many.xml | 0 .../resources/create-nurse-mobile-clinic.xml | 0 .../create-nurse-outpatient-clinic.xml | 0 .../liquibase-add-default-users.xml} | 2 +- .../omod/src/main/resources/config.xml | 21 ++++++++------ .../omod/src/main/resources/create-roles.xml | 29 ------------------- backend/module-create-users/pom.xml | 7 ++++- backend/startup-oauth2.sh | 1 - 21 files changed, 45 insertions(+), 49 deletions(-) rename backend/module-create-users/{omod => api}/src/main/resources/create-clerk-community-outreach.xml (100%) rename backend/module-create-users/{omod => api}/src/main/resources/create-clerk-many.xml (100%) rename backend/module-create-users/{omod => api}/src/main/resources/create-clerk-mobile-clinic.xml (100%) rename backend/module-create-users/{omod => api}/src/main/resources/create-clerk-outpatient-clinic.xml (100%) rename backend/module-create-users/{omod => api}/src/main/resources/create-doctor-community-outreach.xml (100%) rename backend/module-create-users/{omod => api}/src/main/resources/create-doctor-many.xml (99%) rename backend/module-create-users/{omod => api}/src/main/resources/create-doctor-mobile-clinic.xml (100%) rename backend/module-create-users/{omod => api}/src/main/resources/create-doctor-outpatient-clinic.xml (100%) rename backend/module-create-users/{omod => api}/src/main/resources/create-nurse-community-outreach.xml (100%) rename backend/module-create-users/{omod => api}/src/main/resources/create-nurse-many.xml (100%) rename backend/module-create-users/{omod => api}/src/main/resources/create-nurse-mobile-clinic.xml (100%) rename backend/module-create-users/{omod => api}/src/main/resources/create-nurse-outpatient-clinic.xml (100%) rename backend/module-create-users/{omod/src/main/resources/liquibase.xml => api/src/main/resources/liquibase-add-default-users.xml} (96%) delete mode 100644 backend/module-create-users/omod/src/main/resources/create-roles.xml diff --git a/backend/distro.properties b/backend/distro.properties index c1f0cf5..9bc25ec 100644 --- a/backend/distro.properties +++ b/backend/distro.properties @@ -1,8 +1,6 @@ name=Ref 3.x distro version=${project.version} war.openmrs=${openmrs.version} -# create users using datafilter on locations -omod.create-users=${create-users.version} omod.initializer=${initializer.version} omod.fhir2=${fhir2.version} omod.webservices.rest=${webservices.rest.version} @@ -16,8 +14,8 @@ omod.owa=${owa.version} omod.referencedemodata=${referencedemodata.version} omod.attachments=${attachments.version} omod.queue=${queue.version} -omod.appointments=${appointments.version} -omod.appointments.groupId=org.bahmni.module +#omod.appointments=${appointments.version} +#omod.appointments.groupId=org.bahmni.module #omod.teleconsultation=${teleconsultation.version} #omod.teleconsultation.groupId=org.bahmni.module omod.cohort=${cohort.version} @@ -33,6 +31,8 @@ omod.o3forms=${o3forms.version} # ICRC Demo customization omod.datafilter=${datafilter.version} omod.oauth2login=${oauth2login.version} +# create users using datafilter on locations +omod.create-users=${create-users.version} # To Remove error: java.lang.NoClassDefFoundError: org/ict4h/atomfeed/transaction/AFTransactionWork #omod.openmrs-atomfeed=${openmrsAtomfeed.version} #omod.openmrs-atomfeed.groupId=org.ict4h.openmrs diff --git a/backend/log4j2.xml b/backend/log4j2.xml index 1931465..2b950b7 100644 --- a/backend/log4j2.xml +++ b/backend/log4j2.xml @@ -34,6 +34,7 @@ + - + diff --git a/backend/module-create-users/omod/src/main/resources/config.xml b/backend/module-create-users/omod/src/main/resources/config.xml index 40f26b7..edfbd99 100644 --- a/backend/module-create-users/omod/src/main/resources/config.xml +++ b/backend/module-create-users/omod/src/main/resources/config.xml @@ -2,14 +2,17 @@ - ${project.parent.artifactId} - ${project.parent.name} - ${project.parent.version} - ${project.parent.groupId}.${project.parent.artifactId} - ${project.parent.organization.name} - ${project.parent.description} - ${openmrsPlatformVersion} + ${project.parent.artifactId} + ${project.parent.name} + ${project.parent.version} + ${project.parent.groupId}.${project.parent.artifactId} + ${project.parent.organization.name} + ${project.parent.description} + ${openmrsPlatformVersion} - org.openmrs.module.createusers.CreateUsersActivator - org.openmrs.module.initializer + org.openmrs.module.createusers.CreateUsersActivator + + org.openmrs.module.initializer + org.openmrs.module.datafilter + diff --git a/backend/module-create-users/omod/src/main/resources/create-roles.xml b/backend/module-create-users/omod/src/main/resources/create-roles.xml deleted file mode 100644 index 2442bcc..0000000 --- a/backend/module-create-users/omod/src/main/resources/create-roles.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/backend/module-create-users/pom.xml b/backend/module-create-users/pom.xml index f4048a3..4f32d16 100644 --- a/backend/module-create-users/pom.xml +++ b/backend/module-create-users/pom.xml @@ -46,6 +46,11 @@ pom import + + org.openmrs.api + openmrs-api + 2.3.0 + @@ -53,7 +58,7 @@ openmrs-repo OpenMRS Nexus Repository - https://mavenrepo.openmrs.org/public + https://openmrs.jfrog.io/artifactory/public/ central diff --git a/backend/startup-oauth2.sh b/backend/startup-oauth2.sh index ca6fd5f..dabefb0 100644 --- a/backend/startup-oauth2.sh +++ b/backend/startup-oauth2.sh @@ -14,7 +14,6 @@ openmrs.mapping.user.username=preferred_username openmrs.mapping.user.username.serviceAccount=email openmrs.mapping.person.givenName=given_name openmrs.mapping.person.familyName=family_name -openmrs.mapping.user.systemId=sub EOF cat > "$OMRS_HOME"/data/openmrs-runtime.properties << EOF