23
23
@ EnableConfigurationProperties
24
24
public class AppProperties {
25
25
26
+ private final Set <String > auto_version_reference_at_paths = new HashSet <>();
27
+ private final Set <String > local_base_urls = new HashSet <>();
28
+ private final Set <String > logical_urls = new HashSet <>();
29
+ private final List <String > custom_interceptor_classes = new ArrayList <>();
30
+ private final List <String > custom_provider_classes = new ArrayList <>();
26
31
private Boolean cr_enabled = false ;
27
32
private Boolean ips_enabled = false ;
28
33
private Boolean openapi_enabled = false ;
@@ -37,7 +42,6 @@ public class AppProperties {
37
42
private Boolean allow_override_default_search_params = true ;
38
43
private Boolean auto_create_placeholder_reference_targets = false ;
39
44
private Boolean mass_ingestion_mode_enabled = false ;
40
- private final Set <String > auto_version_reference_at_paths = new HashSet <>();
41
45
private Boolean language_search_parameter_enabled = false ;
42
46
private Boolean dao_scheduling_enabled = true ;
43
47
private Boolean delete_expunge_enabled = false ;
@@ -70,9 +74,7 @@ public class AppProperties {
70
74
private List <String > supported_resource_types = new ArrayList <>();
71
75
private List <Bundle .BundleType > allowed_bundle_types = null ;
72
76
private Boolean narrative_enabled = true ;
73
-
74
77
private Boolean ig_runtime_upload_enabled = false ;
75
-
76
78
private Validation validation = new Validation ();
77
79
private Map <String , Tester > tester = null ;
78
80
private Logger logger = new Logger ();
@@ -82,28 +84,17 @@ public class AppProperties {
82
84
private Boolean validate_resource_status_for_package_upload = true ;
83
85
private Boolean install_transitive_ig_dependencies = true ;
84
86
private Map <String , PackageInstallationSpec > implementationGuides = null ;
85
-
86
87
private String custom_content_path = null ;
87
88
private String app_content_path = null ;
88
-
89
89
private Boolean lastn_enabled = false ;
90
90
private boolean store_resource_in_lucene_index_enabled = false ;
91
91
private NormalizedQuantitySearchLevel normalized_quantity_search_level =
92
92
NormalizedQuantitySearchLevel .NORMALIZED_QUANTITY_SEARCH_NOT_SUPPORTED ;
93
-
94
93
private Boolean use_apache_address_strategy = false ;
95
94
private Boolean use_apache_address_strategy_https = false ;
96
-
97
95
private Integer bundle_batch_pool_size = 20 ;
98
96
private Integer bundle_batch_pool_max_size = 100 ;
99
- private final Set <String > local_base_urls = new HashSet <>();
100
- private final Set <String > logical_urls = new HashSet <>();
101
-
102
97
private Boolean resource_dbhistory_enabled = true ;
103
-
104
- private final List <String > custom_interceptor_classes = new ArrayList <>();
105
-
106
- private final List <String > custom_provider_classes = new ArrayList <>();
107
98
private Boolean upliftedRefchains_enabled = false ;
108
99
109
100
private boolean userRequestRetryVersionConflictsInterceptorEnabled = false ;
@@ -226,6 +217,10 @@ public Subscription getSubscription() {
226
217
return subscription ;
227
218
}
228
219
220
+ public void setSubscription (Subscription subscription ) {
221
+ this .subscription = subscription ;
222
+ }
223
+
229
224
public Boolean getDefault_pretty_print () {
230
225
return default_pretty_print ;
231
226
}
@@ -234,10 +229,6 @@ public void setDefault_pretty_print(Boolean default_pretty_print) {
234
229
this .default_pretty_print = default_pretty_print ;
235
230
}
236
231
237
- public void setSubscription (Subscription subscription ) {
238
- this .subscription = subscription ;
239
- }
240
-
241
232
public Validation getValidation () {
242
233
return validation ;
243
234
}
@@ -671,6 +662,22 @@ public void setUserRequestRetryVersionConflictsInterceptorEnabled(
671
662
this .userRequestRetryVersionConflictsInterceptorEnabled = userRequestRetryVersionConflictsInterceptorEnabled ;
672
663
}
673
664
665
+ public boolean getEnable_index_of_type () {
666
+ return enable_index_of_type ;
667
+ }
668
+
669
+ public void setEnable_index_of_type (boolean enable_index_of_type ) {
670
+ this .enable_index_of_type = enable_index_of_type ;
671
+ }
672
+
673
+ public Boolean getResource_dbhistory_enabled () {
674
+ return resource_dbhistory_enabled ;
675
+ }
676
+
677
+ public void setResource_dbhistory_enabled (Boolean resource_dbhistory_enabled ) {
678
+ this .resource_dbhistory_enabled = resource_dbhistory_enabled ;
679
+ }
680
+
674
681
public static class Cors {
675
682
private Boolean allow_Credentials = true ;
676
683
private List <String > allowed_origin = List .of ("*" );
@@ -800,6 +807,38 @@ public static class Partitioning {
800
807
private Boolean partitioning_include_in_search_hashes = false ;
801
808
private Boolean allow_references_across_partitions = false ;
802
809
private Boolean conditional_create_duplicate_identifiers_enabled = false ;
810
+ private Boolean database_partition_mode_enabled = false ;
811
+ private Boolean patient_id_partitioning_mode = false ;
812
+ private Integer default_partition_id = 0 ;
813
+ private boolean request_tenant_partitioning_mode ;
814
+
815
+ public boolean isRequest_tenant_partitioning_mode () {
816
+ return request_tenant_partitioning_mode ;
817
+ }
818
+
819
+ public Integer getDefault_partition_id () {
820
+ return default_partition_id ;
821
+ }
822
+
823
+ public void setDefault_partition_id (Integer theDefault_partition_id ) {
824
+ default_partition_id = theDefault_partition_id ;
825
+ }
826
+
827
+ public Boolean getDatabase_partition_mode_enabled () {
828
+ return database_partition_mode_enabled ;
829
+ }
830
+
831
+ public void setDatabase_partition_mode_enabled (Boolean theDatabase_partition_mode_enabled ) {
832
+ database_partition_mode_enabled = theDatabase_partition_mode_enabled ;
833
+ }
834
+
835
+ public Boolean getPatient_id_partitioning_mode () {
836
+ return patient_id_partitioning_mode ;
837
+ }
838
+
839
+ public void setPatient_id_partitioning_mode (Boolean thePatient_id_partitioning_mode ) {
840
+ patient_id_partitioning_mode = thePatient_id_partitioning_mode ;
841
+ }
803
842
804
843
public Boolean getPartitioning_include_in_search_hashes () {
805
844
return partitioning_include_in_search_hashes ;
@@ -825,10 +864,22 @@ public void setConditional_create_duplicate_identifiers_enabled(
825
864
Boolean conditional_create_duplicate_identifiers_enabled ) {
826
865
this .conditional_create_duplicate_identifiers_enabled = conditional_create_duplicate_identifiers_enabled ;
827
866
}
867
+
868
+ public boolean getRequest_tenant_partitioning_mode () {
869
+ return request_tenant_partitioning_mode ;
870
+ }
871
+
872
+ public void setRequest_tenant_partitioning_mode (boolean theRequest_tenant_partitioning_mode ) {
873
+ request_tenant_partitioning_mode = theRequest_tenant_partitioning_mode ;
874
+ }
828
875
}
829
876
830
877
public static class Subscription {
831
878
879
+ private Boolean resthook_enabled = false ;
880
+ private Boolean websocket_enabled = false ;
881
+ private Email email = null ;
882
+
832
883
public Boolean getResthook_enabled () {
833
884
return resthook_enabled ;
834
885
}
@@ -845,10 +896,6 @@ public void setWebsocket_enabled(Boolean websocket_enabled) {
845
896
this .websocket_enabled = websocket_enabled ;
846
897
}
847
898
848
- private Boolean resthook_enabled = false ;
849
- private Boolean websocket_enabled = false ;
850
- private Email email = null ;
851
-
852
899
public Email getEmail () {
853
900
return email ;
854
901
}
@@ -858,6 +905,16 @@ public void setEmail(Email email) {
858
905
}
859
906
860
907
public static class Email {
908
+ private String from ;
909
+ private String host ;
910
+ private Integer port = 25 ;
911
+ private String username ;
912
+ private String password ;
913
+ private Boolean auth = false ;
914
+ private Boolean startTlsEnable = false ;
915
+ private Boolean startTlsRequired = false ;
916
+ private Boolean quitWait = false ;
917
+
861
918
public String getFrom () {
862
919
return from ;
863
920
}
@@ -929,32 +986,6 @@ public Boolean getQuitWait() {
929
986
public void setQuitWait (Boolean quitWait ) {
930
987
this .quitWait = quitWait ;
931
988
}
932
-
933
- private String from ;
934
- private String host ;
935
- private Integer port = 25 ;
936
- private String username ;
937
- private String password ;
938
- private Boolean auth = false ;
939
- private Boolean startTlsEnable = false ;
940
- private Boolean startTlsRequired = false ;
941
- private Boolean quitWait = false ;
942
989
}
943
990
}
944
-
945
- public boolean getEnable_index_of_type () {
946
- return enable_index_of_type ;
947
- }
948
-
949
- public void setEnable_index_of_type (boolean enable_index_of_type ) {
950
- this .enable_index_of_type = enable_index_of_type ;
951
- }
952
-
953
- public Boolean getResource_dbhistory_enabled () {
954
- return resource_dbhistory_enabled ;
955
- }
956
-
957
- public void setResource_dbhistory_enabled (Boolean resource_dbhistory_enabled ) {
958
- this .resource_dbhistory_enabled = resource_dbhistory_enabled ;
959
- }
960
991
}
0 commit comments