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

Commit c0381d2

Browse files
lgallgal
authored andcommitted
Merge remote-tracking branch 'origin/development' into 3413_add-name-of-other-guardian-to-person
# Conflicts: # sormas-app/app/src/main/java/de/symeda/sormas/app/backend/common/DatabaseHelper.java # sormas-backend/src/main/resources/sql/sormas_schema.sql
2 parents 65f7957 + 35669a2 commit c0381d2

87 files changed

Lines changed: 2342 additions & 678 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/caze/CaseDataDto.java

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ public class CaseDataDto extends PseudonymizableDto {
127127
public static final String ADDITIONAL_DETAILS = "additionalDetails";
128128
public static final String EXTERNAL_ID = "externalID";
129129
public static final String SHARED_TO_COUNTRY = "sharedToCountry";
130+
public static final String NOSOCOMIAL_OUTBREAK = "nosocomialOutbreak";
131+
public static final String INFECTION_SETTING = "infectionSetting";
130132
public static final String QUARANTINE = "quarantine";
131133
public static final String QUARANTINE_TYPE_DETAILS = "quarantineTypeDetails";
132134
public static final String QUARANTINE_FROM = "quarantineFrom";
@@ -367,6 +369,10 @@ public class CaseDataDto extends PseudonymizableDto {
367369
COUNTRY_CODE_SWITZERLAND })
368370
private String externalID;
369371
private boolean sharedToCountry;
372+
@HideForCountriesExcept
373+
private boolean nosocomialOutbreak;
374+
@HideForCountriesExcept
375+
private InfectionSetting infectionSetting;
370376
private QuarantineType quarantine;
371377
@SensitiveData
372378
private String quarantineTypeDetails;
@@ -1008,6 +1014,22 @@ public void setSharedToCountry(boolean sharedToCountry) {
10081014
this.sharedToCountry = sharedToCountry;
10091015
}
10101016

1017+
public boolean isNosocomialOutbreak() {
1018+
return nosocomialOutbreak;
1019+
}
1020+
1021+
public void setNosocomialOutbreak(boolean nosocomialOutbreak) {
1022+
this.nosocomialOutbreak = nosocomialOutbreak;
1023+
}
1024+
1025+
public InfectionSetting getInfectionSetting() {
1026+
return infectionSetting;
1027+
}
1028+
1029+
public void setInfectionSetting(InfectionSetting infectionSetting) {
1030+
this.infectionSetting = infectionSetting;
1031+
}
1032+
10111033
public QuarantineType getQuarantine() {
10121034
return quarantine;
10131035
}

0 commit comments

Comments
 (0)