Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 131db50

Browse files
lgallgal
authored andcommitted
Merge remote-tracking branch 'origin/development' into 3416_SurvNet-nosocomial-outbreak
2 parents 1303b36 + 654f20c commit 131db50

46 files changed

Lines changed: 1317 additions & 523 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CONTRIBUTING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,18 @@ The GitHub project has been configured to **automatically** move issues that are
110110
The Development Team is responsible to keep the tickets up to date on this board and to assign the appropriate milestone in which the work is going to be released.
111111

112112

113+
### Managing dependencies
114+
115+
For managing Java libraries as dependencies, they are managed by Maven and listed in *sormas-base/pom.xml*. The purpose of a centralized management is to have an overview of the used libraries and adjust for new versions.
116+
117+
1. **Payara modules**: Provided by Payara in *{payara-home}/glassfish/modules* and used in that version by other libs.
118+
2. **Domain libs**: Provided in Payara domain under *{payara-domain}/lib* to be usable by deployed artifacts (ear, war). They have to be listed in *sormas-base/dependencies/serverlibs.pom*. Usually for helper libraries that several artifacts need.
119+
3. **Compile dependencies**: Bundled in respective artifacts who need the dependency explicitly. Usually for dependencies singularly needed in one artifact.
120+
4. **Test libraries**: Libraries used in automated tests in one or more modules.
121+
122+
Due to the separate build management tool Gradle for *sormas-app*, there exists a redundant listing of compile dependencies in *sormas-app/app/build.gradle*.
123+
124+
113125
### Eclipse Troubleshooting
114126

115127
Unfortunatley, when using eclipse together with the Payara Tools, there are a number of deployment problems that you might run into. Examples of these include:

SERVER_CUSTOMIZATION.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,14 @@ The following features are currently configurable:
8888
* **Case Follow-Up** `CASE_FOLLOWUP`: Enables the contact follow-up module for cases as well to allow a more detailed daily documentation of symptoms.
8989
* **Line Listing** `LINE_LISTING`: Whether or not using line listing for case entry is enabled in the specified jurisdiction for the specified disease. Configurable from the UI, no database interaction needed.
9090
* **Documents** `DOCUMENTS`: Enables document storage.
91+
92+
## Proxy Settings
93+
Some SORMAS integrations support proxy settings:
94+
* **Patient diary interface**
95+
* **Geocoding**
96+
* **SORMAS 2 SORMAS**
97+
98+
The proxy can be configured through the following system properties which can be passed as JVM arguments to the server:
99+
* `org.jboss.resteasy.jaxrs.client.proxy.host`
100+
* `org.jboss.resteasy.jaxrs.client.proxy.port`
101+
* `org.jboss.resteasy.jaxrs.client.proxy.scheme`

sormas-api/src/main/java/de/symeda/sormas/api/contact/ContactExportDto.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public class ContactExportDto implements Serializable {
138138

139139
private ContactJurisdictionDto jurisdiction;
140140

141-
private final Long eventCount;
141+
private Long eventCount;
142142
private String latestEventId;
143143
private String latestEventTitle;
144144
private String externalID;
@@ -158,7 +158,7 @@ public ContactExportDto(long id, long personId, String uuid, String sourceCaseUu
158158
String facility, String facilityUuid, String facilityDetails,
159159
String phone, String phoneOwner, String emailAddress, OccupationType occupationType, String occupationDetails, ArmedForcesRelationType armedForcesRelationType,
160160
String region, String district, String community,
161-
long epiDataId, YesNoUnknown contactWithSourceCaseKnown, YesNoUnknown returningTraveler, long eventCount, String externalID,
161+
long epiDataId, YesNoUnknown contactWithSourceCaseKnown, YesNoUnknown returningTraveler, String externalID,
162162
String reportingUserUuid, String regionUuid, String districtUuid, String communityUuid,
163163
String caseReportingUserUuid, String caseRegionUuid, String caseDistrictUuid, String caseCommunityUuid, String caseHealthFacilityUuid, String casePointOfEntryUuid
164164
) {
@@ -221,7 +221,6 @@ public ContactExportDto(long id, long personId, String uuid, String sourceCaseUu
221221
this.epiDataId = epiDataId;
222222
this.contactWithSourceCaseKnown = contactWithSourceCaseKnown;
223223
this.returningTraveler = returningTraveler;
224-
this.eventCount = eventCount;
225224
this.externalID = externalID;
226225

227226
CaseJurisdictionDto caseJurisdiction = caseReportingUserUuid != null
@@ -622,6 +621,10 @@ public long getEventCount() {
622621
return this.eventCount;
623622
}
624623

624+
public void setEventCount(Long eventCount) {
625+
this.eventCount = eventCount;
626+
}
627+
625628
public void setId(long id) {
626629
this.id = id;
627630
}

sormas-api/src/main/java/de/symeda/sormas/api/contact/ContactIndexDetailedDto.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import de.symeda.sormas.api.Disease;
66
import de.symeda.sormas.api.caze.CaseClassification;
7-
import de.symeda.sormas.api.location.LocationDto;
87
import de.symeda.sormas.api.person.ApproximateAgeType;
98
import de.symeda.sormas.api.person.Sex;
109
import de.symeda.sormas.api.person.SymptomJournalStatus;
@@ -67,7 +66,7 @@ public ContactIndexDetailedDto(String uuid, String personFirstName, String perso
6766
String caseHealthFacilityUuid, String casePointOfEntryUuid, Date changeDate, String externalID,
6867
Sex sex, Integer approximateAge, ApproximateAgeType approximateAgeType,
6968
String city, String street, String houseNumber, String additionalInformation, String postalCode, String phone,
70-
String reportingUserFirstName, String reportingUserLastName, int visitCount, long eventCount
69+
String reportingUserFirstName, String reportingUserLastName, int visitCount
7170
) {
7271
//@formatter:on
7372

@@ -87,7 +86,6 @@ public ContactIndexDetailedDto(String uuid, String personFirstName, String perso
8786
this.postalCode = postalCode;
8887
this.phone = phone;
8988
this.reportingUser = new UserReferenceDto(reportingUserUuid, reportingUserFirstName, reportingUserLastName, null);
90-
this.eventCount = eventCount;
9189
}
9290

9391
public Sex getSex() {
@@ -134,6 +132,10 @@ public Long getEventCount() {
134132
return eventCount;
135133
}
136134

135+
public void setEventCount(Long eventCount) {
136+
this.eventCount = eventCount;
137+
}
138+
137139
public String getLatestEventId() {
138140
return latestEventId;
139141
}

sormas-api/src/main/java/de/symeda/sormas/api/contact/ContactReferenceDto.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,5 +151,9 @@ public String getFirstName() {
151151
public String getLastName() {
152152
return lastName;
153153
}
154+
155+
public String toString() {
156+
return firstName + " " + lastName;
157+
}
154158
}
155159
}

sormas-api/src/main/java/de/symeda/sormas/api/epidata/EpiDataFacade.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,9 @@
1717
*******************************************************************************/
1818
package de.symeda.sormas.api.epidata;
1919

20-
import java.util.List;
21-
import java.util.Map;
22-
2320
import javax.ejb.Remote;
2421

2522
@Remote
2623
public interface EpiDataFacade {
2724

28-
Map<String, String> getExposureSourceCaseNames(List<String> exposureUuids);
2925
}

sormas-api/src/main/java/de/symeda/sormas/api/i18n/Strings.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ public interface Strings {
482482
String infoEpiDataSourceCaseContacts = "infoEpiDataSourceCaseContacts";
483483
String infoExportNoFilters = "infoExportNoFilters";
484484
String infoExposureInvestigation = "infoExposureInvestigation";
485+
String infoExposureInvestigationContacts = "infoExposureInvestigationContacts";
485486
String infoExposuresRiskAreaHint = "infoExposuresRiskAreaHint";
486487
String infoHowToMergeCases = "infoHowToMergeCases";
487488
String infoImportAllCountries = "infoImportAllCountries";

sormas-api/src/main/resources/strings.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,7 @@ populationDataByRegion = Population data by Region
586586
populationDataByCommunity = No population data available for communities
587587
populationDataByDistrict = Population data by District
588588
infoExposureInvestigation = <i>Please document ALL relevant direct exposures (e.g. attended gatherings, travels, animal contacts, etc.) during the incubation period:</i>
589+
infoExposureInvestigationContacts = <i>Please document information about the exposure that led to this contact:</i>
589590
infoEpiDataFieldsHint = <i>Please indicate if any of the following is relevant for the patient during the incubation period:</i>
590591
infoEpiDataSourceCaseContacts = <i>Please indicate ALL contacts with potential source cases during the incubation period:</i>
591592
infoNoSourceCase = No source case

sormas-api/src/main/resources/strings_de-CH.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,7 @@ infoCreateNewSampleDiscardsChangesEventParticipant = Die Erstellung einer neuen
577577
infoUsageOfEditableCampaignGrids = Sie können die Kampagnendaten und Dashboard-Definitionen bearbeiten, indem Sie innerhalb einer der Zellen im Raster klicken, und Sie können die Dashboard-Elemente durch Ziehen und Ablegen der Gitterzeilen neu ordnen
578578
infoSaveOfTask = Speichern dieser Aufgabe wird alle ungespeicherten Änderungen zu diesem Fall verwerfen.
579579
infoExposureInvestigation = <i>Bitte dokumentieren Sie ALLE relevanten direkten Expositionen (z.B. besuchte Versammlungen, Reisen, Tierkontakte usw.) während der Inkubationszeit\:</i>
580+
infoExposureInvestigationContacts = <i>Bitte dokumentieren Sie die Exposition, die zu diesem Kontakt geführt hat:</i>
580581
infoEpiDataFieldsHint = <i>Bitte geben Sie an, ob einer der folgenden Punkte für den/die Patient*in während des Inkubationszeitraums relevant ist.</i>
581582
infoEpiDataSourceCaseContacts = <i>Bitte geben Sie ALLE Kontakte mit möglichen Indexfällen während des Inkubationszeitraums an\:</i>
582583
infoNoSourceCase = Kein Indexfall

sormas-api/src/main/resources/strings_de-DE.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,7 @@ infoCreateNewSampleDiscardsChangesEventParticipant = Die Erstellung neuer Proben
577577
infoUsageOfEditableCampaignGrids = Sie können die Kampagnendaten und Dashboard-Definitionen bearbeiten, indem Sie innerhalb einer der Zellen im Raster klicken, und Sie können die Dashboard-Elemente durch Ziehen und Ablegen der Gitterzeilen neu ordnen
578578
infoSaveOfTask = Speichern dieser Aufgabe wird alle ungespeicherten Änderungen zu diesem Fall verwerfen.
579579
infoExposureInvestigation = <i>Bitte dokumentieren Sie ALLE relevanten direkten Expositionen (z.B. besuchte Versammlungen, Reisen, Tierkontakte usw.) während der Inkubationszeit\:</i>
580+
infoExposureInvestigationContacts = <i>Bitte dokumentieren Sie die Exposition, die zu diesem Kontakt geführt hat:</i>
580581
infoEpiDataFieldsHint = <i>Bitte geben Sie an, ob einer der folgenden Punkte für den/die Patient*in während des Inkubationszeitraums relevant ist.</i>
581582
infoEpiDataSourceCaseContacts = <i>Bitte geben Sie ALLE Kontakte mit möglichen Indexfällen während des Inkubationszeitraums an\:</i>
582583
infoNoSourceCase = Kein Indexfall

0 commit comments

Comments
 (0)