36
36
*/
37
37
@ Component
38
38
public class ParseInstanceInfoEI {
39
-
39
+
40
40
@ Getter
41
41
@ Value ("${spring.application.name}" )
42
42
private String applicationName ;
43
43
44
44
@ Getter
45
45
@ Value ("${build.version}" )
46
46
private String version ;
47
-
47
+
48
+ @ Getter
49
+ @ Value ("${rules.path}" )
50
+ private String rulesPath ;
51
+
48
52
@ Getter
49
53
@ Value ("${testaggregated.enabled:false}" )
50
54
private String testRulesEnabled ;
@@ -64,15 +68,15 @@ public class ParseInstanceInfoEI {
64
68
@ Getter
65
69
@ Autowired
66
70
private List <SendMail > email ;
67
-
71
+
68
72
@ Getter
69
73
@ Autowired
70
74
private List <MailServerValues > mailServerValues ;
71
75
72
76
@ Getter
73
77
@ Autowired
74
78
private LdapValues ldap ;
75
-
79
+
76
80
@ Getter
77
81
@ Autowired
78
82
private List <WaitListStorageHandler > waitList ;
@@ -92,10 +96,10 @@ public class ParseInstanceInfoEI {
92
96
@ Getter
93
97
@ Autowired
94
98
private ERQueryService erUrl ;
95
-
99
+
96
100
public ParseInstanceInfoEI (){
97
101
}
98
-
102
+
99
103
@ Component
100
104
private class MailServerValues {
101
105
@ Getter
@@ -118,7 +122,7 @@ private class MailServerValues {
118
122
@ Value ("${spring.mail.properties.mail.smtp.starttls.enable}" )
119
123
private String startTls ;
120
124
}
121
-
125
+
122
126
@ Component
123
127
private class MongoDbValues {
124
128
@ Getter
@@ -133,7 +137,7 @@ private class MongoDbValues {
133
137
@ Value ("${spring.data.mongodb.database}" )
134
138
private String database ;
135
139
}
136
-
140
+
137
141
@ Component
138
142
private class LdapValues {
139
143
@ Getter
@@ -147,18 +151,16 @@ private class LdapValues {
147
151
@ Getter
148
152
@ Value ("${ldap.base.dn}" )
149
153
private String baseDn ;
150
-
154
+
151
155
@ Getter
152
156
@ Value ("${ldap.user.filter}" )
153
157
private String filter ;
154
-
158
+
155
159
@ Getter
156
160
@ Value ("${ldap.username}" )
157
161
private String username ;
158
162
}
159
163
160
-
161
-
162
164
@ Component
163
165
private class ThreadsValue {
164
166
@ Getter
0 commit comments