Revision 37166
Added by Nikon Gasparis over 9 years ago
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/pom.xml | ||
---|---|---|
1 |
<?xml version="1.0" ?> |
|
2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
|
3 |
<parent> |
|
4 |
<groupId>eu.dnetlib</groupId> |
|
5 |
<artifactId>dnet-container-parent</artifactId> |
|
6 |
<version>1.0.0</version> |
|
7 |
</parent> |
|
8 |
<modelVersion>4.0.0</modelVersion> |
|
9 |
<groupId>eu.dnetlib</groupId> |
|
10 |
<artifactId>uoa-validator-web</artifactId> |
|
11 |
<packaging>war</packaging> |
|
12 |
<version>2.0.3</version> |
|
13 |
<scm> |
|
14 |
<developerConnection>scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-validator-web/tags/uoa-validator-web-2.0.3</developerConnection> |
|
15 |
</scm> |
|
16 |
|
|
17 |
<properties> |
|
18 |
<struts2.version>2.3.16.3</struts2.version> |
|
19 |
</properties> |
|
20 |
|
|
21 |
<dependencies> |
|
22 |
<dependency> |
|
23 |
<groupId>org.apache.struts</groupId> |
|
24 |
<artifactId>struts2-core</artifactId> |
|
25 |
<version>${struts2.version}</version> |
|
26 |
<exclusions> |
|
27 |
<exclusion> <!-- declare the exclusion here --> |
|
28 |
<groupId>javax.servlet.jsp</groupId> |
|
29 |
<artifactId>jsp-api</artifactId> |
|
30 |
</exclusion> |
|
31 |
</exclusions> |
|
32 |
</dependency> |
|
33 |
<dependency> |
|
34 |
<groupId>org.apache.struts</groupId> |
|
35 |
<artifactId>struts2-spring-plugin</artifactId> |
|
36 |
<version>${struts2.version}</version> |
|
37 |
<exclusions> |
|
38 |
<exclusion> |
|
39 |
<groupId>org.springframework</groupId> |
|
40 |
<artifactId>spring-beans</artifactId> |
|
41 |
</exclusion> |
|
42 |
<exclusion> |
|
43 |
<groupId>org.springframework</groupId> |
|
44 |
<artifactId>spring-core</artifactId> |
|
45 |
</exclusion> |
|
46 |
<exclusion> |
|
47 |
<groupId>org.springframework</groupId> |
|
48 |
<artifactId>spring-context</artifactId> |
|
49 |
</exclusion> |
|
50 |
<exclusion> |
|
51 |
<groupId>org.springframework</groupId> |
|
52 |
<artifactId>spring-web</artifactId> |
|
53 |
</exclusion> |
|
54 |
</exclusions> |
|
55 |
</dependency> |
|
56 |
<dependency> |
|
57 |
<groupId>org.apache.struts</groupId> |
|
58 |
<artifactId>struts2-dojo-plugin</artifactId> |
|
59 |
<version>${struts2.version}</version> |
|
60 |
</dependency> |
|
61 |
<dependency> |
|
62 |
<groupId>se.kb</groupId> |
|
63 |
<artifactId>oai4j</artifactId> |
|
64 |
<version>[0.6b1,)</version> |
|
65 |
</dependency> |
|
66 |
<dependency> |
|
67 |
<groupId>eu.dnetlib</groupId> |
|
68 |
<artifactId>uoa-hcm</artifactId> |
|
69 |
<version>[1.1.0, 1.2.0-SNAPSHOT)</version> |
|
70 |
</dependency> |
|
71 |
<dependency> |
|
72 |
<groupId>eu.dnetlib</groupId> |
|
73 |
<artifactId>uoa-api</artifactId> |
|
74 |
<version>[1.1.0, 1.2.0-SNAPSHOT)</version> |
|
75 |
</dependency> |
|
76 |
<dependency> |
|
77 |
<groupId>eu.dnetlib</groupId> |
|
78 |
<artifactId>uoa-utils</artifactId> |
|
79 |
<version>[1.1.0, 1.2.0-SNAPSHOT)</version> |
|
80 |
</dependency> |
|
81 |
<dependency> |
|
82 |
<groupId>eu.dnetlib</groupId> |
|
83 |
<artifactId>uoa-commons</artifactId> |
|
84 |
<version>[1.1.0, 1.2.0-SNAPSHOT)</version> |
|
85 |
<exclusions> |
|
86 |
<exclusion> |
|
87 |
<artifactId>cglib</artifactId> |
|
88 |
<groupId>cglib</groupId> |
|
89 |
</exclusion> |
|
90 |
</exclusions> |
|
91 |
</dependency> |
|
92 |
<dependency> |
|
93 |
<groupId>eu.dnetlib</groupId> |
|
94 |
<artifactId>uoa-clients</artifactId> |
|
95 |
<version>[1.1.0, 1.2.0-SNAPSHOT)</version> |
|
96 |
</dependency> |
|
97 |
<dependency> |
|
98 |
<groupId>eu.dnetlib</groupId> |
|
99 |
<artifactId>dnet-runtime</artifactId> |
|
100 |
<version>[1.0.0]</version> |
|
101 |
<exclusions> |
|
102 |
<exclusion> <!-- declare the exclusion here --> |
|
103 |
<groupId>org.apache.geronimo.specs</groupId> |
|
104 |
<artifactId>geronimo-javamail_1.4_spec</artifactId> |
|
105 |
</exclusion> |
|
106 |
</exclusions> |
|
107 |
</dependency> |
|
108 |
<dependency> |
|
109 |
<groupId>org.apache.poi</groupId> |
|
110 |
<artifactId>poi</artifactId> |
|
111 |
<version>3.9</version> |
|
112 |
</dependency> |
|
113 |
<dependency> |
|
114 |
<groupId>org.apache.poi</groupId> |
|
115 |
<artifactId>poi-ooxml</artifactId> |
|
116 |
<version>3.9</version> |
|
117 |
</dependency> |
|
118 |
<dependency> |
|
119 |
<groupId>net.sf.ehcache</groupId> |
|
120 |
<artifactId>ehcache</artifactId> |
|
121 |
<version>2.8.0</version> |
|
122 |
</dependency> |
|
123 |
<dependency> |
|
124 |
<groupId>com.unboundid</groupId> |
|
125 |
<artifactId>unboundid-ldapsdk</artifactId> |
|
126 |
<version>1.1.3</version> |
|
127 |
</dependency> |
|
128 |
<dependency> |
|
129 |
<groupId>javax.mail</groupId> |
|
130 |
<artifactId>mail</artifactId> |
|
131 |
<version>1.4.7</version> |
|
132 |
<exclusions> |
|
133 |
<exclusion> |
|
134 |
<groupId>javax.activation</groupId> |
|
135 |
<artifactId>activation</artifactId> |
|
136 |
</exclusion> |
|
137 |
</exclusions> |
|
138 |
</dependency> |
|
139 |
<!-- TEMPORARY --> |
|
140 |
<dependency> |
|
141 |
<groupId>eu.dnetlib</groupId> |
|
142 |
<artifactId>uoa-validator-commons</artifactId> |
|
143 |
<version>[2.0.0, 2.1.0-SNAPSHOT)</version> |
|
144 |
</dependency> |
|
145 |
</dependencies> |
|
146 |
</project> |
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/deploy.info | ||
---|---|---|
1 |
{ |
|
2 |
"type_source": "SVN", |
|
3 |
"goal": "package -U -T 4C source:jar", |
|
4 |
"url": "http://svn-public.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-validator-web/trunk", |
|
5 |
"deploy_repository": "dnet4-snapshots", |
|
6 |
"version": "4", |
|
7 |
"mail": "nikonas@di.uoa.gr", |
|
8 |
"deploy_repository_url": "http://maven.research-infrastructures.eu/nexus/content/repositories/dnet4-snapshots", |
|
9 |
"name": "uoa-validator-web" |
|
10 |
} |
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/src/main/resources/struts.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<!DOCTYPE struts PUBLIC |
|
3 |
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN" |
|
4 |
"http://struts.apache.org/dtds/struts-2.3.dtd"> |
|
5 |
|
|
6 |
<struts> |
|
7 |
<constant name="struts.action.excludePattern" value=".*services.*"/> |
|
8 |
<package name="noAuthorization" namespace="/" extends="struts-default"> |
|
9 |
<default-action-ref name="welcome" /> |
|
10 |
|
|
11 |
<global-results> |
|
12 |
<result name="input">/jsps/info.jsp</result> |
|
13 |
<result name="exception">/jsps/info.jsp</result> |
|
14 |
</global-results> |
|
15 |
|
|
16 |
<action name="bugreporter" class="springManagedBugReporter"> |
|
17 |
<result>/jsps/info.jsp</result> |
|
18 |
</action> |
|
19 |
|
|
20 |
<action name="welcome" class="springManagedDummy"> |
|
21 |
<result>/jsps/homepage.jsp</result> |
|
22 |
</action> |
|
23 |
|
|
24 |
<action name="go2login" class="springManagedLoginPage"> |
|
25 |
<result>/jsps/login.jsp</result> |
|
26 |
<result name="input" type="redirect">welcome</result> |
|
27 |
</action> |
|
28 |
|
|
29 |
<action name="go2registration" class="springManagedDummy"> |
|
30 |
<result>/jsps/login.jsp</result> |
|
31 |
</action> |
|
32 |
|
|
33 |
<action name="Register" class="springManagedRegister"> |
|
34 |
<result>/jsps/info.jsp</result> |
|
35 |
<result name="input">/jsps/login.jsp</result> |
|
36 |
</action> |
|
37 |
|
|
38 |
<action name="activateAccount" class="springManagedactivateAccount"> |
|
39 |
<result>/jsps/info.jsp</result> |
|
40 |
<result name="input">/jsps/info.jsp</result> |
|
41 |
</action> |
|
42 |
|
|
43 |
<action name="activateRepo" class="springManagedactivateRepo"> |
|
44 |
<result>/jsps/info.jsp</result> |
|
45 |
<result name="input">/jsps/info.jsp</result> |
|
46 |
</action> |
|
47 |
|
|
48 |
<action name="Login" class="springManagedLogin"> |
|
49 |
<result type="redirect">${url}?${params}</result> |
|
50 |
<result name="input">/jsps/login.jsp</result> |
|
51 |
<result name="login" type="redirect">go2login</result> |
|
52 |
<result name="welcome" type="redirect">welcome</result> |
|
53 |
</action> |
|
54 |
|
|
55 |
<action name="portalLogin" class="springManagedPortalLogin"> |
|
56 |
<result>/jsps/homepage.jsp</result> |
|
57 |
<result name="input">/jsps/login.jsp</result> |
|
58 |
</action> |
|
59 |
|
|
60 |
<action name="refreshCompTestsTab" class="springManagedprepareJobBrowsing"> |
|
61 |
<result>/jsps/browseJobsCompTestsTab.jsp</result> |
|
62 |
</action> |
|
63 |
<action name="viewNext" class="springManagedprepareJobBrowsing"> |
|
64 |
<result>/jsps/browseJobsCompTestsTab.jsp</result> |
|
65 |
</action> |
|
66 |
|
|
67 |
<action name="refreshRegistrationsTab" class="springManagedprepareJobBrowsing"> |
|
68 |
<result>/jsps/browseJobsRegistrationsTab.jsp</result> |
|
69 |
</action> |
|
70 |
<action name="refreshWorkflowsTab" class="springManagedprepareJobBrowsing"> |
|
71 |
<result>/jsps/browseJobsWorkflowsTab.jsp</result> |
|
72 |
</action> |
|
73 |
|
|
74 |
<action name="sendPassword" class="springManagedsendPassword"> |
|
75 |
<result>/jsps/info.jsp</result> |
|
76 |
<result name="input">/jsps/forgotPassword.jsp</result> |
|
77 |
</action> |
|
78 |
|
|
79 |
<action name="resetPassword" class="springManagedresetPassword"> |
|
80 |
<result>/jsps/info.jsp</result> |
|
81 |
<result name="input">/jsps/resetPassword.jsp</result> |
|
82 |
</action> |
|
83 |
|
|
84 |
<action name="logout" class="springManagedlogout"> |
|
85 |
<result>/jsps/homepage.jsp</result> |
|
86 |
</action> |
|
87 |
|
|
88 |
<action name="score" class="springManagedScore"> |
|
89 |
<result>/jsps/score.jsp</result> |
|
90 |
</action> |
|
91 |
|
|
92 |
<action name="help" class="springManagedHelp"> |
|
93 |
<result>/jsps/help.jsp</result> |
|
94 |
</action> |
|
95 |
|
|
96 |
<action name="forgotPassword" class="springManagedForgotPassword"> |
|
97 |
<result>/jsps/forgotPassword.jsp</result> |
|
98 |
</action> |
|
99 |
|
|
100 |
<action name="identifyRepo" class="springManagedIdentifyRepo"> |
|
101 |
<result name="success" type="httpheader"> |
|
102 |
<param name="status">200</param> |
|
103 |
</result> |
|
104 |
<result name="error" type="httpheader"> |
|
105 |
<param name="status">404</param> |
|
106 |
</result> |
|
107 |
</action> |
|
108 |
|
|
109 |
|
|
110 |
|
|
111 |
</package> |
|
112 |
|
|
113 |
<package name="needsAuthorization" namespace="/" extends="struts-default"> |
|
114 |
|
|
115 |
<interceptors> |
|
116 |
<interceptor name="authenticationInterceptor" class="eu.dnetlib.validator.web.actions.login.AuthenticationInterceptor" /> |
|
117 |
<interceptor-stack name="secureStack"> |
|
118 |
<interceptor-ref name="authenticationInterceptor" /> |
|
119 |
<interceptor-ref name="defaultStack" /> |
|
120 |
</interceptor-stack> |
|
121 |
</interceptors> |
|
122 |
|
|
123 |
<default-interceptor-ref name="secureStack" /> |
|
124 |
|
|
125 |
<global-results> |
|
126 |
<result name="login">/jsps/login.jsp</result> |
|
127 |
<result name="input-problem">/jsps/corneeded.jsp</result> |
|
128 |
<result name="input">/jsps/info.jsp</result> |
|
129 |
<result name="exception">/jsps/info.jsp</result> |
|
130 |
</global-results> |
|
131 |
|
|
132 |
<action name="fetchRuleDescriptions" class="springManagedfetchRuleDescriptions"> |
|
133 |
<result>/jsps/ruleSetInfo.jsp</result> |
|
134 |
</action> |
|
135 |
|
|
136 |
<action name="showValErrs" class="springManagedshowValErrs"> |
|
137 |
<result>/jsps/valErr.jsp</result> |
|
138 |
</action> |
|
139 |
|
|
140 |
<action name="prepareJobBrowsing" class="springManagedprepareJobBrowsing"> |
|
141 |
<result>/jsps/browseJobs.jsp</result> |
|
142 |
</action> |
|
143 |
|
|
144 |
<action name="curateDB" class="springManagedDatabaseCurator"> |
|
145 |
<result type="redirectAction">prepareJobBrowsing</result> |
|
146 |
</action> |
|
147 |
|
|
148 |
<action name="prepareJobDetails" class="springManagedprepareJobDetails"> |
|
149 |
<result>/jsps/jobDetails.jsp</result> |
|
150 |
</action> |
|
151 |
|
|
152 |
<action name="prepareSummary" class="springManagedprepareSummary"> |
|
153 |
<result>/jsps/jobSummary.jsp</result> |
|
154 |
</action> |
|
155 |
|
|
156 |
<action name="registerRepoLocal" class="springManagedregisterRepoLocal"> |
|
157 |
<result>/jsps/info.jsp</result> |
|
158 |
<result name="input">/jsps/repoRegistrationLocal.jsp</result> |
|
159 |
</action> |
|
160 |
|
|
161 |
<action name="repoRegistrationLocal" class="springManagedprepareRepoRegistrationLocal"> |
|
162 |
<result>/jsps/repoRegistrationLocal.jsp</result> |
|
163 |
</action> |
|
164 |
|
|
165 |
<action name="getRulesForSet" class="springManagedgetRulesForSet"> |
|
166 |
<result>/jsps/createRuleSet.jsp</result> |
|
167 |
<result name="deleted">/jsps/info.jsp</result> |
|
168 |
</action> |
|
169 |
|
|
170 |
<action name="getRuleSets" class="springManagedgetRuleSets"> |
|
171 |
<result>/jsps/chooseRuleSet.jsp</result> |
|
172 |
</action> |
|
173 |
|
|
174 |
<action name="populateRuleListForEdit" class="springManagedpopulateRuleList"> |
|
175 |
<result>/jsps/chooseRuleForEdit.jsp</result> |
|
176 |
</action> |
|
177 |
|
|
178 |
<action name="prepareEditRule" class="springManagedprepareEditRule"> |
|
179 |
<result>/jsps/editRule.jsp</result> |
|
180 |
</action> |
|
181 |
|
|
182 |
<action name="editUser" class="springManagededitUser" method="edit"> |
|
183 |
<result>/jsps/info.jsp</result> |
|
184 |
</action> |
|
185 |
|
|
186 |
<action name="userDetails" class="springManagededitUser"> |
|
187 |
<result>/jsps/editUser.jsp</result> |
|
188 |
</action> |
|
189 |
|
|
190 |
<!-- <action name="editRepoDnet" class="springManagededitRepoDnet"> --> |
|
191 |
<!-- <result>/jsps/info.jsp</result> --> |
|
192 |
<!-- <result name="input">/jsps/corneeded.jsp</result> --> |
|
193 |
<!-- </action> --> |
|
194 |
|
|
195 |
<action name="prepareRepoRegistration" class="springManagedprepareRepoRegistration"> |
|
196 |
<result>/jsps/registerRepository.jsp</result> |
|
197 |
<result name="input">/jsps/registerRepository.jsp</result> |
|
198 |
<result name="not-allowed">/jsps/info.jsp</result> |
|
199 |
</action> |
|
200 |
|
|
201 |
<action name="registerRepo" class="springManagedRepoRegistration"> |
|
202 |
<result>/jsps/info.jsp</result> |
|
203 |
<result name="input" type="chain">prepareRepoRegistration</result> |
|
204 |
</action> |
|
205 |
|
|
206 |
<action name="editRepo" class="springManagedRepoEditing"> |
|
207 |
<result>/jsps/info.jsp</result> |
|
208 |
<result name="input" type="chain">prepareRepoEditing</result> |
|
209 |
</action> |
|
210 |
|
|
211 |
<action name="prepareRepoEditing" class="springManagedprepareRepoEditing"> |
|
212 |
<result>/jsps/editRepository.jsp</result> |
|
213 |
<result name="input">/jsps/editRepository.jsp</result> |
|
214 |
<result name="not-allowed">/jsps/info.jsp</result> |
|
215 |
</action> |
|
216 |
|
|
217 |
<action name="populateRepoList" class="springManagedpopulateRepoList"> |
|
218 |
<result>/jsps/chooseRepoForEdit.jsp</result> |
|
219 |
</action> |
|
220 |
|
|
221 |
<action name="populateRepoSets" class="springManagedPopulateRepoSets"> |
|
222 |
<result>/jsps/populateRepositorySets.jsp</result> |
|
223 |
</action> |
|
224 |
|
|
225 |
<action name="populateDoarList" class="springManagedpopulateDoarList"> |
|
226 |
<result>/jsps/chooseDoarRepo.jsp</result> |
|
227 |
</action> |
|
228 |
|
|
229 |
<action name="populateList" class="springManagedPopulateList" method="populate"> |
|
230 |
<result>/jsps/rules.jsp</result> |
|
231 |
</action> |
|
232 |
|
|
233 |
<action name="populateRules" class="springManagedPopulateList"> |
|
234 |
<result>/jsps/compatibilityTest.jsp</result> |
|
235 |
</action> |
|
236 |
|
|
237 |
<action name="reSubmitJob" class="springManagedReSubmitJob"> |
|
238 |
<result type="redirectAction">prepareJobBrowsing</result> |
|
239 |
</action> |
|
240 |
|
|
241 |
<action name="sendFeedback" class="springManagedsendFeedback"> |
|
242 |
<result>/jsps/info.jsp</result> |
|
243 |
</action> |
|
244 |
|
|
245 |
<action name="validateRules" class="springManagedValidateRules"> |
|
246 |
<result type="redirectAction">prepareJobBrowsing</result> |
|
247 |
</action> |
|
248 |
|
|
249 |
<action name="feedback" class="springManagedFeedback"> |
|
250 |
<result>/jsps/feedback.jsp</result> |
|
251 |
</action> |
|
252 |
|
|
253 |
</package> |
|
254 |
|
|
255 |
<package name="needsAdminAuthorization" namespace="/" |
|
256 |
extends="struts-default"> |
|
257 |
|
|
258 |
<interceptors> |
|
259 |
<interceptor name="adminInterceptor" class="springManagedAdminInterceptor" /> |
|
260 |
<interceptor-stack name="secureStackA"> |
|
261 |
<interceptor-ref name="adminInterceptor" /> |
|
262 |
<interceptor-ref name="defaultStack" /> |
|
263 |
</interceptor-stack> |
|
264 |
</interceptors> |
|
265 |
|
|
266 |
<default-interceptor-ref name="secureStackA" /> |
|
267 |
|
|
268 |
<global-results> |
|
269 |
<result name="login">/jsps/login.jsp</result> |
|
270 |
<result name="input-problem">/jsps/corneeded.jsp</result> |
|
271 |
<result name="input">/jsps/info.jsp</result> |
|
272 |
<result name="exception">/jsps/info.jsp</result> |
|
273 |
</global-results> |
|
274 |
|
|
275 |
<action name="populateRuleCategories" class="springManagedpopulateRuleCategories"> |
|
276 |
<result>/jsps/chooseRuleCategory.jsp</result> |
|
277 |
</action> |
|
278 |
|
|
279 |
<action name="prepareAddRule" class="springManagedprepareAddRule"> |
|
280 |
<result>/jsps/addRule.jsp</result> |
|
281 |
</action> |
|
282 |
|
|
283 |
<action name="addRule" class="springManagedaddRule"> |
|
284 |
<result>/jsps/info.jsp</result> |
|
285 |
</action> |
|
286 |
|
|
287 |
<action name="populateRuleList" class="springManagedpopulateRuleList"> |
|
288 |
<result>/jsps/deleteRule.jsp</result> |
|
289 |
</action> |
|
290 |
|
|
291 |
<action name="deleteRule" class="springManageddeleteRule"> |
|
292 |
<result>/jsps/info.jsp</result> |
|
293 |
</action> |
|
294 |
|
|
295 |
<action name="renewRule" class="springManagedrenewRule"> |
|
296 |
<result>/jsps/info.jsp</result> |
|
297 |
</action> |
|
298 |
|
|
299 |
<action name="createRuleSet" class="springManagedcreateRuleSet"> |
|
300 |
<result>/jsps/info.jsp</result> |
|
301 |
<result name="input">/jsps/corneeded.jsp</result> |
|
302 |
</action> |
|
303 |
|
|
304 |
<action name="getRuleSetsForDeletion" class="springManagedgetRuleSetsForDeletion"> |
|
305 |
<result>/jsps/chooseRuleSetForDeletion.jsp</result> |
|
306 |
</action> |
|
307 |
|
|
308 |
<action name="deleteRuleSet" class="springManageddeleteRuleSet"> |
|
309 |
<result>/jsps/info.jsp</result> |
|
310 |
</action> |
|
311 |
|
|
312 |
</package> |
|
313 |
</struts> |
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/src/main/resources/web-error-texts.properties | ||
---|---|---|
1 |
compulsoryField = This field must have a value |
|
2 |
identicalPasswords = Passwords must be identical |
|
3 |
notValidEmail = Invalid email adress |
|
4 |
userAlreadyExists = This user already exists |
|
5 |
noActivationId = The activation id was not specified |
|
6 |
numericalValue = This field must have a numerical value |
|
7 |
recordsLessThan1 = At least 1 record must be used |
|
8 |
invalidBaseUrl = Invalid base Url |
|
9 |
alreadyRepo = Repository already exists. You may need to activate it. |
|
10 |
noAdminEmail = This repository does not provide an administrator email. Registration cannot continue. |
|
11 |
notBelongsToYou = This job doesn't belong to you or doesn't exist |
|
12 |
uknownError = Unknown Error |
|
13 |
requiredFieldNoValue = A required field(*) has no value |
|
14 |
wrongFieldValue = This field has an invalid value |
|
15 |
jobError = Your repository failed to validate. An automatic error report has been sent to the system administrator. You will soon be contacted with the reason for the error and any further actions that might be needed. |
|
16 |
generic.error = An unexpected error has occurred and the administrator was automatically notified. Please try again later. |
|
17 |
login.manual = Please login manually using your account from the OpenAIRE portal |
|
18 |
registration.notOpenDoar = The registration of repositories not in OpenDoar is disabled |
|
19 |
job.noTasks = It appears that this test is empty. Likely causes are the following: <br><br>1. The test is still running <br>2. The chosen set didn't contain any records (e.g., the ec_fundedresources set is empty) <br>3. The test contained no rules <br>4. An unexpected error occurred and might be resolved if you try again later <br><br>If you think that none of the above reasons applies, please report this issue using <a href="http://www.openaire.eu/en/support/helpdesk?view=detail&cid[0]=-1">this form</a>. |
|
20 |
registration.modeNotSelected = It appears that you haven\'t chosen the correct type of repository. Please choose 'JOIN OPENAIRE' from main menu and choose the right one. |
|
21 |
registration.noAggregated = It appears that you repository is part of an aggregator. Your repository will be automatically registered when the aggregator registers in OpenAIRE. Aggregator Name |
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/src/main/resources/validation.properties | ||
---|---|---|
1 |
# The ESAPI validator does many security checks on input, such as canonicalization |
|
2 |
# and whitelist validation. Note that all of these validation rules are applied *after* |
|
3 |
# canonicalization. Double-encoded characters (even with different encodings involved, |
|
4 |
# are never allowed. |
|
5 |
# |
|
6 |
# To use: |
|
7 |
# |
|
8 |
# First set up a pattern below. You can choose any name you want, prefixed by the word |
|
9 |
# "Validation." For example: |
|
10 |
# Validation.Email=^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\\.[a-zA-Z]{2,4}$ |
|
11 |
# |
|
12 |
# Then you can validate in your code against the pattern like this: |
|
13 |
# ESAPI.validator().isValidInput("User Email", input, "Email", maxLength, allowNull); |
|
14 |
# Where maxLength and allowNull are set for you needs, respectively. |
|
15 |
# |
|
16 |
# But note, when you use boolean variants of validation functions, you lose critical |
|
17 |
# canonicalization. It is preferable to use the "get" methods (which throw exceptions) and |
|
18 |
# and use the returned user input which is in canonical form. Consider the following: |
|
19 |
# |
|
20 |
# try { |
|
21 |
# someObject.setEmail(ESAPI.validator().getValidInput("User Email", input, "Email", maxLength, allowNull)); |
|
22 |
# |
|
23 |
Validator.SafeString=^[.\\p{Alnum}\\p{Space}]{0,1024}$ |
|
24 |
Validator.Email=^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\\.[a-zA-Z]{2,4}$ |
|
25 |
Validator.IPAddress=^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$ |
|
26 |
Validator.URL=^(ht|f)tp(s?)\\:\\/\\/[0-9a-zA-Z]([-.\\w]*[0-9a-zA-Z])*(:(0-9)*)*(\\/?)([a-zA-Z0-9\\-\\.\\?\\,\\:\\'\\/\\\\\\+=&%\\$#_]*)?$ |
|
27 |
Validator.CreditCard=^(\\d{4}[- ]?){3}\\d{4}$ |
|
28 |
Validator.SSN=^(?!000)([0-6]\\d{2}|7([0-6]\\d|7[012]))([ -]?)(?!00)\\d\\d\\3(?!0000)\\d{4}$ |
|
29 |
|
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/src/main/resources/eu/dnetlib/validator/web/actions/springContext-validator-emailer.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<beans xmlns="http://www.springframework.org/schema/beans" |
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
4 |
xmlns:context="http://www.springframework.org/schema/context" |
|
5 |
xmlns:cxf="http://cxf.apache.org/core" |
|
6 |
xmlns:jaxws="http://cxf.apache.org/jaxws" |
|
7 |
xmlns:p="http://http://www.springframework.org/schema/p" |
|
8 |
xmlns:template="http://dnetlib.eu/springbeans/template" |
|
9 |
xmlns:t="http://dnetlib.eu/springbeans/t" |
|
10 |
xmlns:tx="http://www.springframework.org/schema/tx" |
|
11 |
|
|
12 |
xsi:schemaLocation=" |
|
13 |
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd |
|
14 |
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd |
|
15 |
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd |
|
16 |
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd |
|
17 |
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd |
|
18 |
http://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd" |
|
19 |
default-autowire="no"> |
|
20 |
|
|
21 |
<bean id="emailer" class="eu.dnetlib.validator.web.actions.Emailer"> |
|
22 |
<property name="override" value="${services.validator.mail.override}" /> |
|
23 |
<property name="overrideEmail" value="${services.validator.mail.overrideEmail}" /> |
|
24 |
<property name="logonly" value="${services.validator.mail.logonly}" /> |
|
25 |
<property name="specialRecipients" value="${services.validator.mail.specialRecipients}" /> |
|
26 |
<property name="from" value="${services.validator.mail.fromAddress}" /> |
|
27 |
<property name="mailer" ref="maillib" /> |
|
28 |
</bean> |
|
29 |
|
|
30 |
<bean id="maillib" class="eu.dnetlib.utils.MailLibrary" init-method="init"> |
|
31 |
<property name="mailhost" value="${services.validator.mail.host}" /> |
|
32 |
<property name="smtpPort" value="${services.validator.mail.port}" /> |
|
33 |
<property name="authenticate" value="${services.validator.mail.authenticate}" /> |
|
34 |
<property name="username" value="${services.validator.mail.username}" /> |
|
35 |
<property name="password" value="${services.validator.mail.password}" /> |
|
36 |
<property name="from" value="${services.validator.mail.fromAddress}" /> |
|
37 |
<property name="replyTo" value="${services.validator.mail.replyToAddress}" /> |
|
38 |
<property name="mode" value="${services.validator.mail.mode}" /> |
|
39 |
<property name="debug" value="${services.validator.mail.debug}" /> |
|
40 |
</bean> |
|
41 |
|
|
42 |
</beans> |
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/src/main/resources/eu/dnetlib/validator/web/actions/configs/countries.txt | ||
---|---|---|
1 |
Afghanistan |
|
2 |
Albania |
|
3 |
Algeria |
|
4 |
Andorra |
|
5 |
Angola |
|
6 |
Antigua & Deps |
|
7 |
Argentina |
|
8 |
Armenia |
|
9 |
Australia |
|
10 |
Austria |
|
11 |
Azerbaijan |
|
12 |
Bahamas |
|
13 |
Bahrain |
|
14 |
Bangladesh |
|
15 |
Barbados |
|
16 |
Belarus |
|
17 |
Belgium |
|
18 |
Belize |
|
19 |
Benin |
|
20 |
Bhutan |
|
21 |
Bolivia |
|
22 |
Bosnia Herzegovina |
|
23 |
Botswana |
|
24 |
Brazil |
|
25 |
Brunei |
|
26 |
Bulgaria |
|
27 |
Burkina |
|
28 |
Burundi |
|
29 |
Cambodia |
|
30 |
Cameroon |
|
31 |
Canada |
|
32 |
Cape Verde |
|
33 |
Central African Rep |
|
34 |
Chad |
|
35 |
Chile |
|
36 |
China |
|
37 |
Colombia |
|
38 |
Comoros |
|
39 |
Congo |
|
40 |
Congo {Democratic Rep} |
|
41 |
Costa Rica |
|
42 |
Croatia |
|
43 |
Cuba |
|
44 |
Cyprus |
|
45 |
Czech Republic |
|
46 |
Denmark |
|
47 |
Djibouti |
|
48 |
Dominica |
|
49 |
Dominican Republic |
|
50 |
East Timor |
|
51 |
Ecuador |
|
52 |
Egypt |
|
53 |
El Salvador |
|
54 |
Equatorial Guinea |
|
55 |
Eritrea |
|
56 |
Estonia |
|
57 |
Ethiopia |
|
58 |
Fiji |
|
59 |
Finland |
|
60 |
France |
|
61 |
Gabon |
|
62 |
Gambia |
|
63 |
Georgia |
|
64 |
Germany |
|
65 |
Ghana |
|
66 |
Greece |
|
67 |
Grenada |
|
68 |
Guatemala |
|
69 |
Guinea |
|
70 |
Guinea-Bissau |
|
71 |
Guyana |
|
72 |
Haiti |
|
73 |
Honduras |
|
74 |
Hungary |
|
75 |
Iceland |
|
76 |
India |
|
77 |
Indonesia |
|
78 |
Iran |
|
79 |
Iraq |
|
80 |
Ireland {Republic} |
|
81 |
Israel |
|
82 |
Italy |
|
83 |
Ivory Coast |
|
84 |
Jamaica |
|
85 |
Japan |
|
86 |
Jordan |
|
87 |
Kazakhstan |
|
88 |
Kenya |
|
89 |
Kiribati |
|
90 |
Korea North |
|
91 |
Korea South |
|
92 |
Kosovo |
|
93 |
Kuwait |
|
94 |
Kyrgyzstan |
|
95 |
Laos |
|
96 |
Latvia |
|
97 |
Lebanon |
|
98 |
Lesotho |
|
99 |
Liberia |
|
100 |
Libya |
|
101 |
Liechtenstein |
|
102 |
Lithuania |
|
103 |
Luxembourg |
|
104 |
Macedonia |
|
105 |
Madagascar |
|
106 |
Malawi |
|
107 |
Malaysia |
|
108 |
Maldives |
|
109 |
Mali |
|
110 |
Malta |
|
111 |
Marshall Islands |
|
112 |
Mauritania |
|
113 |
Mauritius |
|
114 |
Mexico |
|
115 |
Micronesia |
|
116 |
Moldova |
|
117 |
Monaco |
|
118 |
Mongolia |
|
119 |
Montenegro |
|
120 |
Morocco |
|
121 |
Mozambique |
|
122 |
Myanmar, {Burma} |
|
123 |
Namibia |
|
124 |
Nauru |
|
125 |
Nepal |
|
126 |
Netherlands |
|
127 |
New Zealand |
|
128 |
Nicaragua |
|
129 |
Niger |
|
130 |
Nigeria |
|
131 |
Norway |
|
132 |
Oman |
|
133 |
Pakistan |
|
134 |
Palau |
|
135 |
Panama |
|
136 |
Papua New Guinea |
|
137 |
Paraguay |
|
138 |
Peru |
|
139 |
Philippines |
|
140 |
Poland |
|
141 |
Portugal |
|
142 |
Qatar |
|
143 |
Romania |
|
144 |
Russian Federation |
|
145 |
Rwanda |
|
146 |
St Kitts & Nevis |
|
147 |
St Lucia |
|
148 |
Saint Vincent & the Grenadines |
|
149 |
Samoa |
|
150 |
San Marino |
|
151 |
Sao Tome & Principe |
|
152 |
Saudi Arabia |
|
153 |
Senegal |
|
154 |
Serbia |
|
155 |
Seychelles |
|
156 |
Sierra Leone |
|
157 |
Singapore |
|
158 |
Slovakia |
|
159 |
Slovenia |
|
160 |
Solomon Islands |
|
161 |
Somalia |
|
162 |
South Africa |
|
163 |
Spain |
|
164 |
Sri Lanka |
|
165 |
Sudan |
|
166 |
Suriname |
|
167 |
Swaziland |
|
168 |
Sweden |
|
169 |
Switzerland |
|
170 |
Syria |
|
171 |
Taiwan |
|
172 |
Tajikistan |
|
173 |
Tanzania |
|
174 |
Thailand |
|
175 |
Togo |
|
176 |
Tonga |
|
177 |
Trinidad & Tobago |
|
178 |
Tunisia |
|
179 |
Turkey |
|
180 |
Turkmenistan |
|
181 |
Tuvalu |
|
182 |
Uganda |
|
183 |
Ukraine |
|
184 |
United Arab Emirates |
|
185 |
United Kingdom |
|
186 |
United States |
|
187 |
Uruguay |
|
188 |
Uzbekistan |
|
189 |
Vanuatu |
|
190 |
Vatican City |
|
191 |
Venezuela |
|
192 |
Vietnam |
|
193 |
Yemen |
|
194 |
Zambia |
|
195 |
Zimbabwe |
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/src/main/resources/eu/dnetlib/validator/web/actions/configs/timezones.txt | ||
---|---|---|
1 |
-2.0 [GMT - 2] Fernando de Noronha Time, South Georg... |
|
2 |
-1.0 [GMT - 1] Azores Standard Time, Cape Verde Time... |
|
3 |
0.0 [GMT] Western European Time, Greenwich Mean Time |
|
4 |
1.0 [GMT + 1] Central European Time, West African Time |
|
5 |
2.0 [GMT + 2] Eastern European Time, Central Africa... |
|
6 |
3.0 [GMT + 3] Moscow Standard Time, Eastern African... |
|
7 |
3.5 [GMT + 3:30] Iran Standard Time |
|
8 |
4.0 [GMT + 4] Gulf Standard Time, Samara Standard Time |
|
9 |
4.5 [GMT + 4:30] Afghanistan Time |
|
10 |
5.0 [GMT + 5] Pakistan Standard Time, Yekaterinburg... |
|
11 |
8.0 [GMT + 8] Beijing, Hong Kong, Irkutsk, Kuala Lumpur, Manila, Perth |
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/src/main/resources/eu/dnetlib/validator/web/actions/configs/typologies.txt | ||
---|---|---|
1 |
DIVA |
|
2 |
Doks |
|
3 |
DSpace |
|
4 |
Eprints |
|
5 |
ETD |
|
6 |
Fedora |
|
7 |
Invenio |
|
8 |
MyCore |
|
9 |
OPUS |
|
10 |
Pica-Verbundkatalog |
|
11 |
Proprietary Software |
|
12 |
PUMA |
|
13 |
SFIX |
|
14 |
VTOAI |
|
15 |
------------------------ |
|
16 |
OJS |
|
17 |
HyperJournal |
|
18 |
ePubTk |
|
19 |
GAPworks |
|
20 |
DPubS |
|
21 |
E-Journal |
|
22 |
------------------------ |
|
23 |
Other (enter name below) |
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/src/main/resources/eu/dnetlib/validator/web/actions/springContext-validator-struts.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<beans xmlns="http://www.springframework.org/schema/beans" |
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
4 |
xmlns:context="http://www.springframework.org/schema/context" |
|
5 |
xmlns:cxf="http://cxf.apache.org/core" |
|
6 |
xmlns:jaxws="http://cxf.apache.org/jaxws" |
|
7 |
xmlns:p="http://http://www.springframework.org/schema/p" |
|
8 |
xmlns:template="http://dnetlib.eu/springbeans/template" |
|
9 |
xmlns:t="http://dnetlib.eu/springbeans/t" |
|
10 |
xsi:schemaLocation=" |
|
11 |
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd |
|
12 |
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd |
|
13 |
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd |
|
14 |
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd |
|
15 |
http://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd" |
|
16 |
default-autowire="no"> |
|
17 |
|
|
18 |
<!-- BASE --> |
|
19 |
<bean id="baseAction" class="eu.dnetlib.validator.web.actions.BaseValidatorAction" abstract="true" scope="prototype"> |
|
20 |
<property name="valAdminEmail" value="${services.validator.adminEmail}" /> |
|
21 |
<property name="valBaseUrl" value="${services.validator.baseUrl}" /> |
|
22 |
<property name="validatorAdminBaseUrl" value="${services.validator.adminBaseUrl}" /> |
|
23 |
<property name="emailer" ref="emailer" /> |
|
24 |
<property name="repoAPI" ref="repoAPI" /> |
|
25 |
<property name="userAPI" ref="userAPI" /> |
|
26 |
<property name="repoMode" value="${services.validator.mode.repo}" /> |
|
27 |
<property name="userMode" value="${services.validator.mode.user}" /> |
|
28 |
<property name="deployEnvironment" value="${services.validator.deploy.environment}" /> |
|
29 |
<property name="registrationFilesDownload" value="${services.validator.registration.files.download}" /> |
|
30 |
<property name="dnetWorkflow" value="${services.validator.dnetWorkflow}" /> |
|
31 |
<property name="validatorWebAPI" ref="validatorWeb" /> |
|
32 |
</bean> |
|
33 |
|
|
34 |
<bean id="springManagedDummy" class="eu.dnetlib.validator.web.actions.DummyAction" parent="baseAction" scope="prototype"/> |
|
35 |
<bean id="go2registration" class="eu.dnetlib.validator.web.actions.DummyAction" parent="baseAction" scope="prototype"/> |
|
36 |
<bean id="springManagedIdentifyRepo" class="eu.dnetlib.validator.web.actions.IdentifyRepository" parent="baseAction" scope="prototype"/> |
|
37 |
|
|
38 |
<!-- LOGIN --> |
|
39 |
<bean id="springManagedLoginPage" class="eu.dnetlib.validator.web.actions.login.LoginPage" parent="baseAction" scope="prototype"/> |
|
40 |
<bean id="springManagedLogin" class="eu.dnetlib.validator.web.actions.login.Login" parent="baseAction" scope="prototype"/> |
|
41 |
<bean id="springManagedsendPassword" class="eu.dnetlib.validator.web.actions.login.SendPassword" parent="baseAction" scope="prototype"/> |
|
42 |
<bean id="springManagedresetPassword" class="eu.dnetlib.validator.web.actions.login.ResetPassword" parent="baseAction" scope="prototype"/> |
|
43 |
<bean id="springManagedlogout" class="eu.dnetlib.validator.web.actions.login.Logout" parent="baseAction" scope="prototype"/> |
|
44 |
<bean id="springManagedPortalLogin" class="eu.dnetlib.validator.web.actions.login.PortalLogin" parent="baseAction" scope="prototype"> |
|
45 |
<property name="key" value="${services.validator.portallogin.key}" /> |
|
46 |
</bean> |
|
47 |
<bean id="springManagedForgotPassword" class="eu.dnetlib.validator.web.actions.login.ForgotPasswordPage" parent="baseAction" scope="prototype"/> |
|
48 |
<bean id="springManagedAdminInterceptor" class="eu.dnetlib.validator.web.actions.login.AdminInterceptor"> |
|
49 |
<property name="userAPI" ref="userAPI"/> |
|
50 |
</bean> |
|
51 |
|
|
52 |
<!-- BROWSE JOBS --> |
|
53 |
<bean id="springManagedprepareSummary" class="eu.dnetlib.validator.web.actions.browsejobs.PrepareSummary" parent="baseAction" scope="prototype"/> |
|
54 |
<bean id="springManagedshowValErrs" class="eu.dnetlib.validator.web.actions.browsejobs.FetchValidationErrors" parent="baseAction" scope="prototype"/> |
|
55 |
<bean id="springManagedprepareJobBrowsing" class="eu.dnetlib.validator.web.actions.browsejobs.PrepareJobBrowsing" parent="baseAction" scope="prototype"/> |
|
56 |
<bean id="springManagedDatabaseCurator" class="eu.dnetlib.validator.web.actions.browsejobs.DatabaseCurator" parent="baseAction" scope="prototype"/> |
|
57 |
|
|
58 |
<!-- USERS --> |
|
59 |
<bean id="springManagedRegister" class="eu.dnetlib.validator.web.actions.users.Register" parent="baseAction" scope="prototype"/> |
|
60 |
<bean id="springManagedactivateAccount" class="eu.dnetlib.validator.web.actions.users.ActivateAccount" parent="baseAction" scope="prototype"/> |
|
61 |
<bean id="springManagededitUser" class="eu.dnetlib.validator.web.actions.users.EditUser" parent="baseAction" scope="prototype"/> |
|
62 |
|
|
63 |
<!-- ADMIN RULESETS --> |
|
64 |
<bean id="springManagedfetchRuleDescriptions" class="eu.dnetlib.validator.web.actions.rulesets.FetchRuleDescriptions" parent="baseAction" scope="prototype"/> |
|
65 |
|
|
66 |
<!-- COMP TESTS --> |
|
67 |
<bean id="springManagedPopulateRepoSets" class="eu.dnetlib.validator.web.actions.compTest.PopulateRepositorySets" parent="baseAction" scope="prototype"></bean> |
|
68 |
<bean id="springManagedPopulateList" class="eu.dnetlib.validator.web.actions.compTest.PrepareCompatibilityTest" parent="baseAction" scope="prototype"/> |
|
69 |
<bean id="springManagedValidateRules" class="eu.dnetlib.validator.web.actions.compTest.CompatibilityTest" parent="baseAction" scope="prototype"/> |
|
70 |
<bean id="springManagedScore" class="eu.dnetlib.validator.web.actions.compTest.ScorePage" parent="baseAction" scope="prototype"/> |
|
71 |
<bean id="springManagedReSubmitJob" class="eu.dnetlib.validator.web.actions.compTest.ReSubmitCompatibilityTest" parent="baseAction" scope="prototype"/> |
|
72 |
|
|
73 |
<!-- REGISTRATION DNET --> |
|
74 |
<bean id="springManagedpopulateRepoList" class="eu.dnetlib.validator.web.actions.registration.dnet.PopulateRepoList" parent="baseAction" scope="prototype"/> |
|
75 |
<bean id="springManagedpopulateDoarList" class="eu.dnetlib.validator.web.actions.registration.dnet.PopulateDoarList" parent="baseAction" scope="prototype"/> |
|
76 |
<bean id="springManagedactivateRepo" class="eu.dnetlib.validator.web.actions.registration.dnet.ActivateRepo" parent="baseAction" scope="prototype"/> |
|
77 |
<bean id="springManagedprepareRepoRegistration" class="eu.dnetlib.validator.web.actions.registration.dnet.PrepareRepoRegistration" parent="baseAction" scope="prototype"> |
|
78 |
<property name="vocabularyLoader" ref="vocabularyLoader" /> |
|
79 |
</bean> |
|
80 |
<bean id="springManagedprepareRepoEditing" class="eu.dnetlib.validator.web.actions.registration.dnet.PrepareRepoEditing" parent="baseAction" scope="prototype"> |
|
81 |
<property name="vocabularyLoader" ref="vocabularyLoader" /> |
|
82 |
</bean> |
|
83 |
<bean id="springManagedRepoRegistration" class="eu.dnetlib.validator.web.actions.registration.dnet.RepoRegistration" parent="baseAction" scope="prototype"> |
|
84 |
<property name="aggregatorName" value="${services.validator.aggregator.name}" /> |
|
85 |
<property name="vocabularyLoader" ref="vocabularyLoader"></property> |
|
86 |
</bean> |
|
87 |
<bean id="springManagedRepoEditing" class="eu.dnetlib.validator.web.actions.registration.dnet.RepoEditing" parent="baseAction" scope="prototype"> |
|
88 |
<property name="aggregatorName" value="${services.validator.aggregator.name}" /> |
|
89 |
<property name="vocabularyLoader" ref="vocabularyLoader"></property> |
|
90 |
</bean> |
|
91 |
|
|
92 |
<!-- REGISTRATION LOCAL --> |
|
93 |
<!-- <bean id="springManagedregisterRepoLocal" class="eu.dnetlib.validator.web.actions.registration.local.RepoRegisterLocal" parent="baseAction" scope="prototype"/> --> |
|
94 |
<!-- <bean id="springManagedprepareRepoRegistrationLocal" class="eu.dnetlib.validator.web.actions.registration.local.PrepareRepoRegisterLocal" parent="baseAction" scope="prototype"/> --> |
|
95 |
|
|
96 |
<!-- FEEDBACK/HELP --> |
|
97 |
<bean id="springManagedsendFeedback" class="eu.dnetlib.validator.web.actions.feedback.SendFeedback" parent="baseAction" scope="prototype"/> |
|
98 |
<bean id="springManagedFeedback" class="eu.dnetlib.validator.web.actions.feedback.FeedBackPage" parent="baseAction" scope="prototype" /> |
|
99 |
<bean id="springManagedHelp" class="eu.dnetlib.validator.web.actions.help.HelpPage" parent="baseAction" scope="prototype" /> |
|
100 |
|
|
101 |
|
|
102 |
</beans> |
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/src/main/resources/eu/dnetlib/validator/web/ehcacher/springContext-validator-ehcacher.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<beans xmlns="http://www.springframework.org/schema/beans" |
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" |
|
4 |
xmlns:cxf="http://cxf.apache.org/core" xmlns:jaxws="http://cxf.apache.org/jaxws" |
|
5 |
xmlns:p="http://http://www.springframework.org/schema/p" |
|
6 |
xmlns:template="http://dnetlib.eu/springbeans/template" xmlns:t="http://dnetlib.eu/springbeans/t" |
|
7 |
xmlns:tx="http://www.springframework.org/schema/tx" |
|
8 |
|
|
9 |
xsi:schemaLocation=" |
|
10 |
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd |
|
11 |
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd |
|
12 |
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd |
|
13 |
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd |
|
14 |
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd |
|
15 |
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd |
|
16 |
http://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd" |
|
17 |
default-autowire="no"> |
|
18 |
|
|
19 |
|
|
20 |
<bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean"> |
|
21 |
<property name="configLocation" value="/WEB-INF/classes/ehcache.xml"/> |
|
22 |
</bean> |
|
23 |
<!-- <bean id="cacheEntryFactory" class="eu.dnetlib.validator.web.ehcacher.CacheEntryFactoryImpl"> --> |
|
24 |
<!-- <property name="repoAPI" ref="repoAPI" /> --> |
|
25 |
<!-- </bean> --> |
|
26 |
|
|
27 |
<!-- <bean id="cacheProvider" class="eu.dnetlib.validator.web.ehcacher.CacheProvider" scope="singleton" init-method="start"> --> |
|
28 |
<!-- <property name="cacheManager" ref="cacheManager" /> --> |
|
29 |
<!-- <property name="updatingFactory" ref="cacheEntryFactory" /> --> |
|
30 |
<!-- </bean> --> |
|
31 |
|
|
32 |
<!-- <bean id="cacheWrapper" class="eu.dnetlib.validator.web.echacher.EhcacheWrapper"> --> |
|
33 |
<!-- <constructor-arg index="0" value="doar" /> --> |
|
34 |
<!-- <constructor-arg index="1" ref="cacheManager" /> --> |
|
35 |
<!-- </bean> --> |
|
36 |
|
|
37 |
</beans> |
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/src/main/resources/eu/dnetlib/validator/web/config/springContext-validator.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<beans xmlns="http://www.springframework.org/schema/beans" |
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
4 |
xmlns:context="http://www.springframework.org/schema/context" |
|
5 |
xmlns:cxf="http://cxf.apache.org/core" |
|
6 |
xmlns:jaxws="http://cxf.apache.org/jaxws" |
|
7 |
xmlns:p="http://http://www.springframework.org/schema/p" |
|
8 |
xmlns:template="http://dnetlib.eu/springbeans/template" |
|
9 |
xmlns:t="http://dnetlib.eu/springbeans/t" |
|
10 |
xmlns:tx="http://www.springframework.org/schema/tx" |
|
11 |
|
|
12 |
xsi:schemaLocation=" |
|
13 |
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd |
|
14 |
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd |
|
15 |
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd |
|
16 |
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd |
|
17 |
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd |
|
18 |
http://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd" |
|
19 |
default-autowire="no"> |
|
20 |
|
|
21 |
<bean id="validatorWeb" class="eu.dnetlib.validator.web.api.impls.ValidatorWebApiImpl" scope="singleton" init-method="start"> |
|
22 |
<property name="validatorService" ref="validatorServiceLocator" /> |
|
23 |
<property name="masterAdmins" value="${services.validator.admins.master}" /> |
|
24 |
<property name="secondaryAdmins" value="${services.validator.admins.secondary}" /> |
|
25 |
</bean> |
|
26 |
|
|
27 |
<!-- <bean id="cxfEndpointReferenceBuilder" class="gr.uoa.di.validator.api.config.EPRBuilder"> --> |
|
28 |
<!-- <property name="baseAddress" value="${transport.soap.baseAddress}" /> --> |
|
29 |
<!-- <property name="forceLocalAddress" value="false"/> --> |
|
30 |
<!-- </bean> --> |
|
31 |
</beans> |
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/src/main/resources/eu/dnetlib/validator/web/config/springContext-validator-config.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<beans xmlns="http://www.springframework.org/schema/beans" |
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
4 |
xmlns:context="http://www.springframework.org/schema/context" |
|
5 |
xmlns:cxf="http://cxf.apache.org/core" |
|
6 |
xmlns:jaxws="http://cxf.apache.org/jaxws" |
|
7 |
xmlns:p="http://http://www.springframework.org/schema/p" |
|
8 |
xmlns:template="http://dnetlib.eu/springbeans/template" |
|
9 |
xmlns:t="http://dnetlib.eu/springbeans/t" |
|
10 |
xmlns:tx="http://www.springframework.org/schema/tx" |
|
11 |
|
|
12 |
xsi:schemaLocation=" |
|
13 |
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd |
|
14 |
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd |
|
15 |
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd |
|
16 |
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd |
|
17 |
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd |
|
18 |
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd |
|
19 |
http://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd" |
|
20 |
default-autowire="no"> |
|
21 |
|
|
22 |
<bean class="eu.dnetlib.validator.web.config.CascadingPropertyLoader" id="propertyLoader"> |
|
23 |
<property name="order" value="2" /> |
|
24 |
<property name="properties"> |
|
25 |
<bean class="eu.dnetlib.conf.WebappContextProperyFactory"> |
|
26 |
<property name="propertyFetcher"> |
|
27 |
<bean class="eu.dnetlib.conf.PropertyFetcher" /> |
|
28 |
</property> |
|
29 |
</bean> |
|
30 |
</property> |
|
31 |
<property name="ignoreUnresolvablePlaceholders" value="true" /> |
|
32 |
<property name="locations"> |
|
33 |
<list> |
|
34 |
<value>classpath*:/gr/**/springContext-*.properties</value> |
|
35 |
<value>classpath*:/eu/**/springContext-*.properties</value> |
|
36 |
|
|
37 |
<value>classpath*:dnet-site-wizard.properties</value> |
|
38 |
<value>classpath*:dnet-site-override.properties</value> |
|
39 |
<value>classpath*:dnet-wizard.properties</value> |
|
40 |
<value>classpath*:dnet-override.properties</value> |
|
41 |
<value>classpath*:dnet-validator-wizard.properties</value> |
|
42 |
<value>classpath*:dnet-validator-override.properties</value> |
|
43 |
<value>classpath*:dnet-site-force-override.properties</value> |
|
44 |
<value>classpath*:dnet-force-override.properties</value> |
|
45 |
</list> |
|
46 |
</property> |
|
47 |
</bean> |
|
48 |
</beans> |
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/src/main/resources/eu/dnetlib/validator/web/config/error_messages.txt | ||
---|---|---|
1 |
error.parametersMissing.ruleId=Rule id must be specified in the parameters given |
|
2 |
error.parametersMissing.jobId=Job id must be specified in the parameters given |
|
3 |
error.badParameter.idNotNumerical=The id was not numerical |
|
4 |
error.badParameter.unknownType=The type specified is incorrect |
|
5 |
rules.name.error.message1=A value must be defined for the field name |
|
6 |
rules.description.error.message1=A value must be defined for the field description |
|
7 |
rules.type.error.message1=A value must be defined for the field type |
|
8 |
rules.mandatory.error.message1=A value must be defined for the field mandatory |
|
9 |
rules.success.error.message1=A value must be defined for the field success |
|
10 |
rules.success.error.message2=First character for success must be one of =, > or < |
|
11 |
rules.success.error.message3=Field success must contain only numerical characters after the first character |
|
12 |
rules.weight.error.message1=Value of field weight must be numerical |
|
13 |
rules.provider_information.error.message1=A value must be specified for the provider information field |
|
14 |
rules.job_type.error.message1=Job type must be one of the available types |
|
15 |
rules.job_type.error.message2=A job type must be specified for this rule |
|
16 |
cardinality_rule.greater_than.error.message1=Value of field 'greater than' must be numerical |
|
17 |
cardinality_rule.less_than.error.message2=Less and Greater cannot be both without value |
|
18 |
cardinality_rule.less_than.error.message1=Value of field 'less than' must be numerical |
|
19 |
NotConfusedFields_Rule.field1.error.message1=Fields 'field1' and 'field2' must both have a value |
|
20 |
NotConfusedFields_Rule.field1.error.message2=Fields 'field1' and 'field2' must have a different value |
|
21 |
RegularExpression_Rule.regular_expression.error.message1=Field 'regular expression' must have a value |
|
22 |
RetrievableResource_Rule.max_depth.error.message1=Field 'max_depth' must have a numerical value |
|
23 |
Vocabulary_Rule.words.error.message1=A value must be defined for the 'words' field |
|
24 |
OAI_Content_Job.records.error.message1=Field 'records' cannot be empty |
|
25 |
OAI_Content_Job.records.error.message2=At least one record must be used for the validation |
|
26 |
OAI_Content_Job.records.error.message3=Value of field 'records' must be numerical |
|
27 |
OAI_Content_Job.random.error.message1=Value of field 'random' must be boolean (true or false) |
|
28 |
OAI_Content_Job.base_url.error.message1=Value of field 'base url' doesn't seem to be a valid url adress |
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/src/main/resources/eu/dnetlib/validator/web/config/springContext-validator-standalone-service-locator.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
|
|
3 |
<beans xmlns="http://www.springframework.org/schema/beans" |
|
4 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
5 |
xmlns:context="http://www.springframework.org/schema/context" |
|
6 |
xmlns:cxf="http://cxf.apache.org/core" |
|
7 |
xmlns:jaxws="http://cxf.apache.org/jaxws" |
|
8 |
xmlns:p="http://http://www.springframework.org/schema/p" |
|
9 |
|
|
10 |
xsi:schemaLocation=" |
|
11 |
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd |
|
12 |
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd |
|
13 |
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd |
|
14 |
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd" |
|
15 |
default-autowire="byName"> |
|
16 |
|
|
17 |
<bean id="cnr.lookUpLocator" class="eu.dnetlib.enabling.tools.StaticServiceLocator"> |
|
18 |
</bean> |
|
19 |
|
|
20 |
<alias name="cnr.lookUpLocator" alias="lookupLocator" /> |
|
21 |
|
|
22 |
<bean id="validatorServiceLocator" |
|
23 |
factory-bean="serviceLocatorFactory" |
|
24 |
factory-method="newServiceLocator"> |
|
25 |
<constructor-arg value="eu.dnetlib.api.functionality.ValidatorService" /> |
|
26 |
<constructor-arg value="${ValidatorService.url}" /> |
|
27 |
</bean> |
|
28 |
|
|
29 |
</beans> |
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/src/main/resources/eu/dnetlib/validator/web/config/springContext-validator.properties | ||
---|---|---|
1 |
# the address where validator is running and is accessible from the rest of the web |
|
2 |
services.validator.baseUrl = http://${container.hostname}:${container.port}/${container.context} |
|
3 |
|
|
4 |
# base address for soap web services |
|
5 |
transport.soap.baseAddress = http://${container.hostname}:${container.port}/${container.context} |
|
6 |
|
|
7 |
transport.soap.force.local.address = false |
|
8 |
|
|
9 |
# the email of the administrator |
|
10 |
# he will receive all the automatic bug reports and feedback created |
|
11 |
services.validator.adminEmail = nikonas@di.uoa.gr |
|
12 |
|
|
13 |
# the name of the aggregator used for harvesting the repo IS profiles |
|
14 |
services.validator.aggregator.name = OPENAIRE |
|
15 |
|
|
16 |
# the private key used for signing the direct login links from the OpenAIRE portal |
|
17 |
services.validator.portallogin.key = 568345 |
|
18 |
|
|
19 |
|
|
20 |
# If set to true then, when the server is stopped and restarted, all jobs that haven't finished for any reason will restart |
|
21 |
# If set to false then only jobs that stopped gracefully due to a previous server restart will be restarted |
|
22 |
# Unless the server has stopped unexpectedly and you are now restarting it, this setting must be left to false |
|
23 |
services.validator.jobs.totalRestart = false |
|
24 |
|
|
25 |
# the mailhost for the mail service |
|
26 |
services.validator.mail.host = smtp.gmail.com |
|
27 |
# the port where the mail service is running |
|
28 |
services.validator.mail.port = 465 |
|
29 |
# the address that appears in the from field in the mails send by the validator |
|
30 |
services.validator.mail.fromAddress = no-reply@openaire.eu |
|
31 |
# the reply-to field value in the mails send by the validator |
|
32 |
services.validator.mail.replyToAddress = no-reply@openaire.eu |
|
33 |
# the username of the account used to login in the mail server |
|
34 |
services.validator.mail.username = test.openaire@gmail.com |
|
35 |
# the password of the account used to login in the mail server |
|
36 |
services.validator.mail.password = ^($*@$)*!$ |
|
37 |
# if authentication should take place |
|
38 |
# if set to false username and password is not needed |
|
39 |
services.validator.mail.authenticate = true |
|
40 |
# is set to yes then all mails will not be sent to their targets but to the address specified in services.validator.mail.overrideEmail |
|
41 |
services.validator.mail.override = false |
|
42 |
# if set to true then no mails are send, they are only logged as a debug message |
|
43 |
services.validator.mail.logonly = false |
|
44 |
# the mode used for the mails send by the validator |
|
45 |
services.validator.mail.mode = ssl |
|
46 |
# used by eu.dnetlib.utils.MailLibrary to control debuggin messages |
|
47 |
services.validator.mail.debug = false |
|
48 |
# if services.validator.mail.override is true then all mails will be send only to this address |
|
49 |
services.validator.mail.overrideEmail = nikonas@di.uoa.gr |
|
50 |
# a comma-seperated list of address that will receive all mails about validations and repo registrations |
|
51 |
services.validator.mail.specialRecipients = nikonas@di.uoa.gr |
|
52 |
|
|
53 |
# a comma-seperated list of addresses that have the ability to register repos without the need for validation and registration |
|
54 |
services.validator.repoRegistration.override = nikonas@di.uoa.gr |
|
55 |
# if set to false then only repositories in the opendoar list can be registered |
|
56 |
services.validator.repoRegistration.allowNotOpenDoar = true |
|
57 |
|
|
58 |
# do not change |
|
59 |
services.validator.registration.validationSet = OpenAIRE For Literature Repositories |
|
60 |
|
|
61 |
# how many validation jobs can run concurrently |
|
62 |
services.validator.concurrentValidations = 5 |
|
63 |
# set to local for local execution of jobs |
|
64 |
# set to jppf for execution over JPPF infrastructure |
|
65 |
services.validator.executionMethod = local |
|
66 |
# how many tasks each validation job can have at most |
|
67 |
# if a job has more, they will be split to separate jppf jobs containing at most this number of tasks |
|
68 |
services.validator.task.bundleSize = 5 |
|
69 |
|
|
70 |
# the jppf management port used to monitor the behavior of the jppf driver |
|
71 |
services.validator.jppf.management.host = localhost |
|
72 |
# the jppf manager port |
|
73 |
services.validator.jppf.management.port = 11098 |
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/src/main/resources/eu/dnetlib/validator/web/api/impls/repos/springContext-validator-repo-dms.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<beans xmlns="http://www.springframework.org/schema/beans" |
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" |
|
4 |
xmlns:cxf="http://cxf.apache.org/core" xmlns:jaxws="http://cxf.apache.org/jaxws" |
|
5 |
xmlns:p="http://http://www.springframework.org/schema/p" |
|
6 |
xmlns:template="http://dnetlib.eu/springbeans/template" xmlns:t="http://dnetlib.eu/springbeans/t" |
|
7 |
xmlns:tx="http://www.springframework.org/schema/tx" |
|
8 |
|
|
9 |
xsi:schemaLocation=" |
|
10 |
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd |
|
11 |
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd |
|
12 |
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd |
|
13 |
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd |
|
14 |
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd |
|
15 |
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd |
|
16 |
http://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd" |
|
17 |
default-autowire="no"> |
|
18 |
|
|
19 |
<bean id="repoAPI" class="eu.dnetlib.validator.web.api.impls.repos.RepoApiDmsImpl"> |
|
20 |
<property name="dmService" ref="datasourceManagerServiceLocator" /> |
|
21 |
<property name="cacheProvider" ref="cacheProvider" /> |
|
22 |
</bean> |
|
23 |
|
|
24 |
<bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean"> |
|
25 |
<property name="configLocation" value="/WEB-INF/classes/ehcache.xml"/> |
|
26 |
</bean> |
|
27 |
<bean id="cacheEntryFactory" class="eu.dnetlib.validator.web.ehcacher.CacheEntryFactoryImpl"> |
|
28 |
<property name="repoAPI" ref="repoAPI" /> |
|
29 |
</bean> |
|
30 |
|
|
31 |
<bean id="cacheProvider" class="eu.dnetlib.validator.web.ehcacher.CacheProvider" scope="singleton" init-method="start"> |
|
32 |
<property name="cacheManager" ref="cacheManager" /> |
|
33 |
<property name="updatingFactory" ref="cacheEntryFactory" /> |
|
34 |
</bean> |
|
35 |
|
|
36 |
</beans> |
|
37 |
<!-- <bean id="joomla.dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> --> |
|
38 |
<!-- <property name="driverClassName" value="${services.validator.joomla.driverClassName}" /> --> |
|
39 |
<!-- <property name="url" value="${services.validator.joomla.url}" /> --> |
|
40 |
<!-- <property name="username" value="${services.validator.joomla.username}" /> --> |
|
41 |
<!-- <property name="password" value="${services.validator.joomla.password}" /> --> |
|
42 |
|
|
43 |
<!-- <property name="maxIdle" value="10"/> --> |
|
44 |
<!-- <property name="maxActive" value="100"/> --> |
|
45 |
<!-- <property name="maxWait" value="10000"/> --> |
|
46 |
<!-- <property name="validationQuery" value="select 1"/> --> |
|
47 |
<!-- <property name="testOnBorrow" value="true"/> --> |
|
48 |
<!-- <property name="testWhileIdle" value="true"/> --> |
|
49 |
<!-- <property name="timeBetweenEvictionRunsMillis" value="1200000"/> --> |
|
50 |
<!-- <property name="minEvictableIdleTimeMillis" value="1800000"/> --> |
|
51 |
<!-- <property name="numTestsPerEvictionRun" value="5"/> --> |
|
52 |
<!-- <property name="defaultAutoCommit" value="false"/> --> |
|
53 |
<!-- </bean> --> |
|
54 |
|
|
55 |
|
|
56 |
<!-- <bean id="joomla2ldap" class="gr.uoa.di.validator.api.ldap.Joomla2Ldap"> --> |
|
57 |
<!-- <property name="joomlaDatasource" ref="joomla.dataSource" /> --> |
|
58 |
<!-- <property name="ldapAddress" value="${services.validator.ldap.address}" /> --> |
|
59 |
<!-- <property name="ldapPort" value="${services.validator.ldap.port}" /> --> |
|
60 |
<!-- <property name="ldapUsername" value="${services.validator.ldap.username}" /> --> |
|
61 |
<!-- <property name="ldapPassword" value="${services.validator.ldap.password}" /> --> |
|
62 |
<!-- <property name="ldapUsersDN" value="${services.validator.ldap.usersDN}" /> --> |
|
63 |
<!-- </bean> --> |
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/src/main/resources/eu/dnetlib/validator/web/api/impls/repos/springContext-validator-repo-simple.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<beans xmlns="http://www.springframework.org/schema/beans" |
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" |
|
4 |
xmlns:cxf="http://cxf.apache.org/core" xmlns:jaxws="http://cxf.apache.org/jaxws" |
|
5 |
xmlns:p="http://http://www.springframework.org/schema/p" |
|
6 |
xmlns:template="http://dnetlib.eu/springbeans/template" xmlns:t="http://dnetlib.eu/springbeans/t" |
|
7 |
xmlns:tx="http://www.springframework.org/schema/tx" |
|
8 |
|
|
9 |
xsi:schemaLocation=" |
|
10 |
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd |
|
11 |
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd |
|
12 |
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd |
|
13 |
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd |
|
14 |
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd |
|
15 |
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd |
|
16 |
http://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd" |
|
17 |
default-autowire="no"> |
|
18 |
|
|
19 |
<bean id="repoAPI" class="eu.dnetlib.validator.web.api.impls.repos.RepoApiDirectImpl"> |
|
20 |
<!-- <property name="openAireDataSource" ref="simple.dataSource" /> --> |
|
21 |
</bean> |
|
22 |
|
|
23 |
</beans> |
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/src/main/resources/eu/dnetlib/validator/web/api/impls/repos/springContext-validator-repo-direct.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<beans xmlns="http://www.springframework.org/schema/beans" |
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" |
|
4 |
xmlns:cxf="http://cxf.apache.org/core" xmlns:jaxws="http://cxf.apache.org/jaxws" |
|
5 |
xmlns:p="http://http://www.springframework.org/schema/p" |
|
6 |
xmlns:template="http://dnetlib.eu/springbeans/template" xmlns:t="http://dnetlib.eu/springbeans/t" |
|
7 |
xmlns:tx="http://www.springframework.org/schema/tx" |
|
8 |
|
|
9 |
xsi:schemaLocation=" |
|
10 |
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd |
|
11 |
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd |
|
12 |
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd |
|
13 |
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd |
|
14 |
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd |
|
15 |
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd |
|
16 |
http://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd" |
|
17 |
default-autowire="no"> |
|
18 |
|
|
19 |
<bean id="openaire.dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> |
|
20 |
<property name="driverClassName" value="${services.validator.openaire.driverClassName}" /> |
|
21 |
<property name="url" value="${services.validator.openaire.url}" /> |
|
22 |
<property name="username" value="${services.validator.openaire.username}" /> |
|
23 |
<property name="password" value="${services.validator.openaire.password}" /> |
|
24 |
|
|
25 |
<property name="maxIdle" value="10"/> |
|
26 |
<property name="maxActive" value="100"/> |
|
27 |
<property name="maxWait" value="10000"/> |
|
28 |
<property name="validationQuery" value="select 1"/> |
|
29 |
<property name="testOnBorrow" value="true"/> |
|
30 |
<property name="testWhileIdle" value="true"/> |
|
31 |
<property name="timeBetweenEvictionRunsMillis" value="1200000"/> |
|
32 |
<property name="minEvictableIdleTimeMillis" value="1800000"/> |
|
33 |
<property name="numTestsPerEvictionRun" value="5"/> |
|
34 |
<property name="defaultAutoCommit" value="false"/> |
|
35 |
</bean> |
|
36 |
|
|
37 |
<bean id="openaire.repositoryFactory" class="eu.dnetlib.validator.web.api.impls.repos.RepoApiDirectImpl"> |
|
38 |
<property name="repoAPI" ref="openaire.dataSource" /> |
|
39 |
</bean> |
|
40 |
|
|
41 |
</beans> |
|
42 |
<!-- <bean id="joomla.dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> --> |
|
43 |
<!-- <property name="driverClassName" value="${services.validator.joomla.driverClassName}" /> --> |
|
44 |
<!-- <property name="url" value="${services.validator.joomla.url}" /> --> |
|
45 |
<!-- <property name="username" value="${services.validator.joomla.username}" /> --> |
|
46 |
<!-- <property name="password" value="${services.validator.joomla.password}" /> --> |
|
47 |
|
|
48 |
<!-- <property name="maxIdle" value="10"/> --> |
|
49 |
<!-- <property name="maxActive" value="100"/> --> |
|
50 |
<!-- <property name="maxWait" value="10000"/> --> |
|
51 |
<!-- <property name="validationQuery" value="select 1"/> --> |
|
52 |
<!-- <property name="testOnBorrow" value="true"/> --> |
|
53 |
<!-- <property name="testWhileIdle" value="true"/> --> |
|
54 |
<!-- <property name="timeBetweenEvictionRunsMillis" value="1200000"/> --> |
|
55 |
<!-- <property name="minEvictableIdleTimeMillis" value="1800000"/> --> |
|
56 |
<!-- <property name="numTestsPerEvictionRun" value="5"/> --> |
|
57 |
<!-- <property name="defaultAutoCommit" value="false"/> --> |
|
58 |
<!-- </bean> --> |
|
59 |
|
|
60 |
|
|
61 |
<!-- <bean id="joomla2ldap" class="gr.uoa.di.validator.api.ldap.Joomla2Ldap"> --> |
|
62 |
<!-- <property name="joomlaDatasource" ref="joomla.dataSource" /> --> |
|
63 |
<!-- <property name="ldapAddress" value="${services.validator.ldap.address}" /> --> |
|
64 |
<!-- <property name="ldapPort" value="${services.validator.ldap.port}" /> --> |
|
65 |
<!-- <property name="ldapUsername" value="${services.validator.ldap.username}" /> --> |
|
66 |
<!-- <property name="ldapPassword" value="${services.validator.ldap.password}" /> --> |
|
67 |
<!-- <property name="ldapUsersDN" value="${services.validator.ldap.usersDN}" /> --> |
|
68 |
<!-- </bean> --> |
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/src/main/resources/eu/dnetlib/validator/web/api/impls/repos/springContext-validator-repo.properties | ||
---|---|---|
1 |
services.validator.openaire.driverClassName = org.postgresql.Driver |
|
2 |
services.validator.openaire.url = jdbc:postgresql://194.177.192.223:5432/dnet_openaireplus |
|
3 |
#services.validator.openaire.url = jdbc:postgresql://194.177.192.223:5432/dnet_openaire |
|
4 |
services.validator.openaire.username = nickonas |
|
5 |
services.validator.openaire.password = 123456 |
|
6 |
|
|
7 |
#services.validator.joomla.driverClassName = org.postgresql.Driver |
|
8 |
#services.validator.joomla.url = jdbc:mysql://mpagasas.di.uoa.gr:3306/joomla |
|
9 |
#services.validator.joomla.username = joomla |
|
10 |
#services.validator.joomla.password = joomla |
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/src/main/resources/eu/dnetlib/validator/web/api/impls/users/springContext-validator-user-dnet.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<beans xmlns="http://www.springframework.org/schema/beans" |
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
4 |
xmlns:context="http://www.springframework.org/schema/context" |
|
5 |
xmlns:cxf="http://cxf.apache.org/core" |
|
6 |
xmlns:jaxws="http://cxf.apache.org/jaxws" |
|
7 |
xmlns:p="http://http://www.springframework.org/schema/p" |
|
8 |
xmlns:template="http://dnetlib.eu/springbeans/template" |
|
9 |
xmlns:t="http://dnetlib.eu/springbeans/t" |
|
10 |
xsi:schemaLocation=" |
|
11 |
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd |
|
12 |
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd |
|
13 |
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd |
|
14 |
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd |
|
15 |
http://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd" |
|
16 |
default-autowire="no"> |
|
17 |
|
|
18 |
<!-- <bean id="userAPI" class="gr.uoa.di.validator.api.is.UserActionsIS" lazy-init="true"> --> |
|
19 |
<!-- <property name="profileServiceLocator" ref="userProfileServiceLocator" /> --> |
|
20 |
<!-- </bean> --> |
|
21 |
|
|
22 |
<!-- <import resource="classpath*:/gr/uoa/di/validator/api/is/springContext-validator-is.xml" /> --> |
|
23 |
</beans> |
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/src/main/resources/eu/dnetlib/validator/web/api/impls/users/springContext-validator-user-local.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<beans xmlns="http://www.springframework.org/schema/beans" |
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
4 |
xmlns:context="http://www.springframework.org/schema/context" |
|
5 |
xmlns:cxf="http://cxf.apache.org/core" |
|
6 |
xmlns:jaxws="http://cxf.apache.org/jaxws" |
|
7 |
xmlns:p="http://http://www.springframework.org/schema/p" |
|
8 |
xmlns:template="http://dnetlib.eu/springbeans/template" |
|
9 |
xmlns:t="http://dnetlib.eu/springbeans/t" |
|
10 |
xmlns:tx="http://www.springframework.org/schema/tx" |
|
11 |
|
|
12 |
xsi:schemaLocation=" |
|
13 |
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd |
|
14 |
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd |
|
15 |
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd |
|
16 |
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd |
|
17 |
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd |
|
18 |
http://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd" |
|
19 |
default-autowire="no"> |
|
20 |
|
|
21 |
<bean id="userAPI" class="eu.dnetlib.validator.web.api.impls.users.UserApiLocal" lazy-init="true"> |
|
22 |
<property name="usersDao" ref="usersDao" /> |
|
23 |
</bean> |
|
24 |
|
|
25 |
<tx:annotation-driven transaction-manager="txManager" /> |
|
26 |
|
|
27 |
</beans> |
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/src/main/resources/eu/dnetlib/validator/web/api/impls/users/springContext-validator-user-ldap.properties | ||
---|---|---|
1 |
services.validator.ldap.address = 88.197.53.113 |
|
2 |
services.validator.ldap.port = 389 |
|
3 |
services.validator.ldap.username = cn=admin,dc=openaire,dc=eu |
|
4 |
services.validator.ldap.password = serenata |
|
5 |
services.validator.ldap.usersDN = ou=users,dc=openaire,dc=eu |
modules/uoa-validator-web/tags/uoa-validator-web-2.0.3/uoa-validator-web-2.0/src/main/resources/eu/dnetlib/validator/web/api/impls/users/springContext-validator-user-ldap.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<beans xmlns="http://www.springframework.org/schema/beans" |
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
4 |
xmlns:context="http://www.springframework.org/schema/context" |
|
5 |
xmlns:cxf="http://cxf.apache.org/core" |
|
6 |
xmlns:jaxws="http://cxf.apache.org/jaxws" |
|
7 |
xmlns:p="http://http://www.springframework.org/schema/p" |
|
8 |
xmlns:template="http://dnetlib.eu/springbeans/template" |
|
9 |
xmlns:t="http://dnetlib.eu/springbeans/t" |
|
10 |
xmlns:tx="http://www.springframework.org/schema/tx" |
|
11 |
|
|
12 |
xsi:schemaLocation=" |
Also available in: Unified diff
deleted tag 2.0.3