File tree Expand file tree Collapse file tree 2 files changed +55
-4
lines changed
java/de/numcodex/feasibility_gui_backend/settings
resources/static/v3/api-docs Expand file tree Collapse file tree 2 files changed +55
-4
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ public class SettingsController {
28
28
private String dseUrl ;
29
29
30
30
@ Value ("${app.privacy.threshold.sites}" )
31
- private String lowerboundaryLocationResult ;
31
+ private int lowerboundaryLocationResult ;
32
32
33
33
@ Value ("${app.privacy.threshold.results}" )
34
- private String lowerboundardyPatientResult ;
34
+ private int lowerboundardyPatientResult ;
35
35
36
36
@ Value ("${app.privacy.quota.read.resultDetailedObfuscated.interval}" )
37
37
private String pollingInterval ;
@@ -47,7 +47,7 @@ public class SettingsController {
47
47
48
48
49
49
@ GetMapping ("/.settings" )
50
- public Map <String , String > getSettings () {
50
+ public Map <String , Object > getSettings () {
51
51
return Map .of (
52
52
KEY_DSE_URL , dseUrl ,
53
53
KEY_LOCATION_RESULT_LOWERBOUNDARY , lowerboundaryLocationResult ,
Original file line number Diff line number Diff line change @@ -869,13 +869,27 @@ paths:
869
869
operationId : ' '
870
870
responses :
871
871
200 :
872
- description : Successful health information.
872
+ description : Successful build information.
873
873
content :
874
874
application/vnd.spring-boot.actuator.v3+json :
875
875
schema :
876
876
$ref : " #/components/schemas/SystemInfo"
877
877
tags :
878
878
- intrinsics
879
+ /.settings :
880
+ get :
881
+ summary : Offers config settings needed by the frontend.
882
+ description : ' '
883
+ operationId : ' '
884
+ responses :
885
+ 200 :
886
+ description : Successful health information.
887
+ content :
888
+ application/json :
889
+ schema :
890
+ $ref : " #/components/schemas/SettingsInfo"
891
+ tags :
892
+ - intrinsics
879
893
components :
880
894
schemas :
881
895
Dataquery :
@@ -1668,6 +1682,43 @@ components:
1668
1682
$ref : " #/components/schemas/BuildInfo"
1669
1683
terminology :
1670
1684
$ref : " #/components/schemas/Terminology"
1685
+ SettingsInfo :
1686
+ type : object
1687
+ properties :
1688
+ ccdlVersion :
1689
+ type : string
1690
+ examples :
1691
+ - v1
1692
+ pollingintervall :
1693
+ type : string
1694
+ format : duration
1695
+ examples :
1696
+ - PT10S
1697
+ dsePatientProfileUrl :
1698
+ type : string
1699
+ examples :
1700
+ - https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/PatientPseudonymisiert
1701
+ uiBackendApiUrl :
1702
+ type : string
1703
+ examples :
1704
+ - /api/v5
1705
+ lowerboundarypatientresult :
1706
+ type : number
1707
+ examples :
1708
+ - 20
1709
+ proposalPortalLink :
1710
+ type : string
1711
+ examples :
1712
+ - https://antrag.forschen-fuer-gesundheit.de
1713
+ lowerboundarylocationresult :
1714
+ type : number
1715
+ examples :
1716
+ - 3
1717
+ pollingtime :
1718
+ type : string
1719
+ format : duration
1720
+ examples :
1721
+ - PT10S
1671
1722
securitySchemes :
1672
1723
dataportal_auth :
1673
1724
type : oauth2
You can’t perform that action at this time.
0 commit comments