Project

General

Profile

« Previous | Next » 

Revision 47514

Copy for java8/dnet45 migration

View differences:

modules/dnet-claims-service/trunk/dnet-openaire-connector-service.iml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3
  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7">
4
    <output url="file://$MODULE_DIR$/target/classes" />
5
    <output-test url="file://$MODULE_DIR$/target/test-classes" />
6
    <content url="file://$MODULE_DIR$">
7
      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
8
      <excludeFolder url="file://$MODULE_DIR$/target" />
9
    </content>
10
    <orderEntry type="inheritedJdk" />
11
    <orderEntry type="sourceFolder" forTests="false" />
12
    <orderEntry type="module" module-name="uoa-openaire-connector" />
13
    <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.5" level="project" />
14
    <orderEntry type="library" name="Maven: commons-dbcp:commons-dbcp:1.2.2" level="project" />
15
    <orderEntry type="library" name="Maven: commons-pool:commons-pool:1.3" level="project" />
16
    <orderEntry type="module" module-name="uoa-claims-demo" />
17
    <orderEntry type="library" name="Maven: junit:junit:4.8.2" level="project" />
18
    <orderEntry type="library" name="Maven: eu.dnetlib:uoa-utils:1.2.3-SNAPSHOT" level="project" />
19
    <orderEntry type="library" name="Maven: javax.servlet:javax.servlet-api:3.0.1" level="project" />
20
    <orderEntry type="library" name="Maven: org.antlr:antlr-runtime:3.0.1" level="project" />
21
    <orderEntry type="library" name="Maven: org.apache.ant:ant:1.8.2" level="project" />
22
    <orderEntry type="library" name="Maven: org.apache.ant:ant-launcher:1.8.2" level="project" />
23
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-blackboard-common:1.0.1-SNAPSHOT" level="project" />
24
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-notifications-common:1.1.1-SNAPSHOT" level="project" />
25
    <orderEntry type="library" name="Maven: postgresql:postgresql:9.1-901.jdbc4" level="project" />
26
    <orderEntry type="library" name="Maven: com.google.code.gson:gson:2.4" level="project" />
27
    <orderEntry type="library" name="Maven: javax.mail:mail:1.4" level="project" />
28
    <orderEntry type="library" name="Maven: javax.activation:activation:1.1" level="project" />
29
    <orderEntry type="library" name="Maven: org.springframework:spring-test:4.0.0.RELEASE" level="project" />
30
    <orderEntry type="library" name="Maven: com.googlecode.json-simple:json-simple:1.1" level="project" />
31
    <orderEntry type="library" name="Maven: org.apache.thrift:libthrift:0.8.0" level="project" />
32
    <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.1.2" level="project" />
33
    <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.1.3" level="project" />
34
    <orderEntry type="library" name="Maven: org.postgresql:jdbc4driver:9.1" level="project" />
35
    <orderEntry type="library" name="Maven: org.apache.velocity:velocity:1.7" level="project" />
36
    <orderEntry type="library" name="Maven: commons-collections:commons-collections:3.2.1" level="project" />
37
    <orderEntry type="library" name="Maven: org.springframework:spring-tx:4.0.0.RELEASE" level="project" />
38
    <orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
39
    <orderEntry type="library" name="Maven: org.springframework:spring-beans:4.0.0.RELEASE" level="project" />
40
    <orderEntry type="library" name="Maven: org.springframework:spring-core:4.0.0.RELEASE" level="project" />
41
    <orderEntry type="library" name="Maven: org.springframework:spring-jdbc:4.0.0.RELEASE" level="project" />
42
    <orderEntry type="library" name="Maven: asm:asm:3.3.1" level="project" />
43
    <orderEntry type="library" name="Maven: com.sun.jersey:jersey-bundle:1.19" level="project" />
44
    <orderEntry type="library" name="Maven: javax.ws.rs:jsr311-api:1.1.1" level="project" />
45
    <orderEntry type="library" name="Maven: org.json:json:20140107" level="project" />
46
    <orderEntry type="library" name="Maven: com.sun.jersey:jersey-server:1.19" level="project" />
47
    <orderEntry type="library" name="Maven: com.sun.jersey:jersey-core:1.19" level="project" />
48
    <orderEntry type="library" name="Maven: commons-validator:commons-validator:1.3.1" level="project" />
49
    <orderEntry type="library" name="Maven: commons-beanutils:commons-beanutils:1.7.0" level="project" />
50
    <orderEntry type="library" name="Maven: commons-digester:commons-digester:1.6" level="project" />
51
    <orderEntry type="library" name="Maven: xml-apis:xml-apis:1.0.b2" level="project" />
52
    <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.0.4" level="project" />
53
    <orderEntry type="library" name="Maven: com.sun.jersey.contribs:jersey-spring:1.8" level="project" />
54
    <orderEntry type="library" name="Maven: io.jsonwebtoken:jjwt:0.7.0" level="project" />
55
    <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.8.2" level="project" />
56
    <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.8.0" level="project" />
57
    <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.8.2" level="project" />
58
    <orderEntry type="library" name="Maven: eu.dnetlib:uoa-clients:1.2.2-SNAPSHOT" level="project" />
59
    <orderEntry type="library" name="Maven: eu.dnetlib:uoa-domain:1.3.2-SNAPSHOT" level="project" />
60
    <orderEntry type="library" name="Maven: org.hibernate:hibernate-entitymanager:3.5.6-Final" level="project" />
61
    <orderEntry type="library" name="Maven: org.hibernate:hibernate-core:3.5.6-Final" level="project" />
62
    <orderEntry type="library" name="Maven: antlr:antlr:2.7.6" level="project" />
63
    <orderEntry type="library" name="Maven: javax.transaction:jta:1.1" level="project" />
64
    <orderEntry type="library" name="Maven: cglib:cglib:2.2" level="project" />
65
    <orderEntry type="library" name="Maven: javassist:javassist:3.9.0.GA" level="project" />
66
    <orderEntry type="library" name="Maven: org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.0.Final" level="project" />
67
    <orderEntry type="library" name="Maven: org.hibernate:hibernate-annotations:3.5.6-Final" level="project" />
68
    <orderEntry type="library" name="Maven: org.hibernate:hibernate-commons-annotations:3.2.0.Final" level="project" />
69
    <orderEntry type="library" name="Maven: com.google.gwt:gwt-user:2.7.0" level="project" />
70
    <orderEntry type="library" name="Maven: javax.validation:validation-api:1.0.0.GA" level="project" />
71
    <orderEntry type="library" name="Maven: javax.validation:validation-api:sources:1.0.0.GA" level="project" />
72
    <orderEntry type="library" scope="RUNTIME" name="Maven: com.google.gwt:gwt-servlet:2.7.0" level="project" />
73
    <orderEntry type="library" name="Maven: eu.dnetlib:uoa-api:1.2.2-SNAPSHOT" level="project" />
74
    <orderEntry type="library" name="Maven: eu.dnetlib:dnet-actionmanager-api:3.1.2-SNAPSHOT" level="project" />
75
    <orderEntry type="library" name="Maven: eu.dnetlib:uoa-commons:1.2.3-SNAPSHOT" level="project" />
76
    <orderEntry type="library" name="Maven: com.sun.xml.bind:jaxb-core:2.2.7" level="project" />
77
    <orderEntry type="library" name="Maven: javax.xml.bind:jaxb-api:2.2.7" level="project" />
78
    <orderEntry type="library" name="Maven: com.sun.istack:istack-commons-runtime:2.16" level="project" />
79
    <orderEntry type="library" name="Maven: com.sun.xml.bind:jaxb-impl:2.2.7" level="project" />
80
    <orderEntry type="library" name="Maven: com.sun.xml.fastinfoset:FastInfoset:1.2.12" level="project" />
81
    <orderEntry type="library" name="Maven: javax.xml.bind:jsr173_api:1.0" level="project" />
82
    <orderEntry type="library" name="Maven: com.unboundid:unboundid-ldapsdk:1.1.3" level="project" />
83
    <orderEntry type="library" name="Maven: apache:commons-logging:1.1.1" level="project" />
84
    <orderEntry type="library" name="Maven: org.springframework:spring-context-support:4.0.0.RELEASE" level="project" />
85
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-misc-utils:1.0.4-SNAPSHOT" level="project" />
86
    <orderEntry type="library" name="Maven: commons-codec:commons-codec:1.8" level="project" />
87
    <orderEntry type="library" name="Maven: dom4j:dom4j:1.6.1" level="project" />
88
    <orderEntry type="library" name="Maven: jaxen:jaxen:1.1.6" level="project" />
89
    <orderEntry type="library" name="Maven: saxonica:saxon:9.1.0.8" level="project" />
90
    <orderEntry type="library" name="Maven: saxonica:saxon-dom:9.1.0.8" level="project" />
91
    <orderEntry type="library" name="Maven: jgrapht:jgrapht:0.7.2" level="project" />
92
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-rmi-api:2.3.0" level="project" />
93
    <orderEntry type="library" name="Maven: eu.dnetlib:dnet-datasource-manager-rmi:4.0.0" level="project" />
94
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-enabling-database-api:1.0.0" level="project" />
95
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-service-common:1.0.0" level="project" />
96
    <orderEntry type="library" name="Maven: org.antlr:stringtemplate:3.2" level="project" />
97
    <orderEntry type="library" name="Maven: org.antlr:antlr:2.7.7" level="project" />
98
    <orderEntry type="library" name="Maven: opensymphony:quartz:1.6.6" level="project" />
99
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-service-utils:1.0.2-SNAPSHOT" level="project" />
100
    <orderEntry type="library" name="Maven: apache:oro:2.0.8" level="project" />
101
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-spring-utils:1.0.0" level="project" />
102
    <orderEntry type="library" name="Maven: commons-io:commons-io:2.4" level="project" />
103
    <orderEntry type="library" name="Maven: com.google.guava:guava:18.0" level="project" />
104
    <orderEntry type="library" name="Maven: org.springframework:spring-aop:4.0.0.RELEASE" level="project" />
105
    <orderEntry type="library" name="Maven: org.springframework:spring-webmvc:4.0.0.RELEASE" level="project" />
106
    <orderEntry type="library" name="Maven: org.springframework:spring-expression:4.0.0.RELEASE" level="project" />
107
    <orderEntry type="library" name="Maven: jparsec:jparsec:2.0" level="project" />
108
    <orderEntry type="library" name="Maven: net.sf.ehcache:ehcache:2.8.0" level="project" />
109
    <orderEntry type="library" name="Maven: runcc:runcc:0.7" level="project" />
110
    <orderEntry type="library" name="Maven: eu.dnetlib:dnet-index-client:1.1.0" level="project" />
111
    <orderEntry type="library" name="Maven: com.mycila:xmltool:3.3" level="project" />
112
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-cql-utils:1.0.2-SNAPSHOT" level="project" />
113
    <orderEntry type="library" name="Maven: org.apache.lucene:lucene-queryparser:4.9.0" level="project" />
114
    <orderEntry type="library" name="Maven: org.apache.lucene:lucene-core:4.9.0" level="project" />
115
    <orderEntry type="library" name="Maven: org.apache.lucene:lucene-queries:4.9.0" level="project" />
116
    <orderEntry type="library" name="Maven: org.apache.lucene:lucene-sandbox:4.9.0" level="project" />
117
    <orderEntry type="library" name="Maven: org.z3950.zing:cql-java:1.7" level="project" />
118
    <orderEntry type="library" name="Maven: eu.dnetlib:dnet-data-provision-rmi:1.0.1-SNAPSHOT" level="project" />
119
    <orderEntry type="library" name="Maven: eu.dnetlib:uoa-hcm:1.2.1-SNAPSHOT" level="project" />
120
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-transports-http:2.7.8" level="project" />
121
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-api:2.7.8" level="project" />
122
    <orderEntry type="library" name="Maven: org.codehaus.woodstox:woodstox-core-asl:4.2.0" level="project" />
123
    <orderEntry type="library" name="Maven: org.codehaus.woodstox:stax2-api:3.1.1" level="project" />
124
    <orderEntry type="library" name="Maven: org.apache.ws.xmlschema:xmlschema-core:2.0.3" level="project" />
125
    <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-javamail_1.4_spec:1.7.1" level="project" />
126
    <orderEntry type="library" name="Maven: wsdl4j:wsdl4j:1.6.3" level="project" />
127
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-core:2.7.8" level="project" />
128
    <orderEntry type="library" name="Maven: eu.dnetlib:dnet-runtime:1.0.1-SNAPSHOT" level="project" />
129
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-bindings-soap:2.7.8" level="project" />
130
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-databinding-jaxb:2.7.8" level="project" />
131
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-frontend-jaxws:2.7.8" level="project" />
132
    <orderEntry type="library" name="Maven: xml-resolver:xml-resolver:1.2" level="project" />
133
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-bindings-xml:2.7.8" level="project" />
134
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-frontend-simple:2.7.8" level="project" />
135
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-ws-addr:2.7.8" level="project" />
136
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-ws-policy:2.7.8" level="project" />
137
    <orderEntry type="library" name="Maven: org.apache.neethi:neethi:3.0.2" level="project" />
138
    <orderEntry type="library" name="Maven: commons-lang:commons-lang:2.6" level="project" />
139
    <orderEntry type="library" name="Maven: org.springframework:spring-web:4.0.0.RELEASE" level="project" />
140
    <orderEntry type="library" name="Maven: org.springframework:spring-context:4.0.0.RELEASE" level="project" />
141
    <orderEntry type="library" name="Maven: log4j:log4j:1.2.17" level="project" />
142
  </component>
143
</module>
modules/dnet-claims-service/trunk/deploy.info
1
<module>
2
   <name>dnet-openaire-connector-service</name>
3
   <source type="SVN">http://svn-public.driver.research-infrastructures.eu/driver/dnet11/modules/dnet-openaire-connector-service/trunk</source>
4
   <goal>package -U source:jar</goal>
5
   <mail>antleb@di.uoa.gr, kiatrop@di.uoa.gr, thanos@di.uoa.gr</mail>
6
   <sonar>no</sonar>
7
   <deploy>
8
       <RepositoryId>dnet-snapshot</RepositoryId>
9
       <RepositoryURL>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet-snapshots</RepositoryURL>
10
   </deploy>
11
   <nigthly>no</nigthly>
12
</module>
modules/dnet-claims-service/trunk/src/main/resources/META-INF/cxf/org.apache.cxf.Logger
1
org.apache.cxf.common.logging.Log4jLogger
modules/dnet-claims-service/trunk/src/main/resources/eu/dnetlib/openaire/applicationContext-openaire.properties
1
container.hostname = localhost
2

  
3
ISLookUpService.url= http://node1.t.openaire.research-infrastructures.eu:8280/is/services/isLookUp
4
ISRegistryService.url=http://node1.t.openaire.research-infrastructures.eu:8280/is/services/isRegistry
5
ISSNService.url= http://node1.t.openaire.research-infrastructures.eu:8280/is/services/isSN
6
A2Service.url= http://node3.integration.driver.research-infrastructures.eu:8180/a2service-ws/A2Service
modules/dnet-claims-service/trunk/src/main/webapp/WEB-INF/cxf.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:cxf="http://cxf.apache.org/core"
4
	xmlns:http="http://cxf.apache.org/transports/http/configuration"
5
	xmlns:wsa="http://cxf.apache.org/ws/addressing" xmlns:p="http://www.springframework.org/schema/p"
6
	xmlns:pol="http://cxf.apache.org/policy" xmlns:condbean="http://dnetlib.eu/springbeans/condbean"
7
	xsi:schemaLocation="
8
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
9
http://cxf.apache.org/ws/addressing http://cxf.apache.org/schemas/ws-addr-conf.xsd
10
http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd
11
http://cxf.apache.org/policy http://cxf.apache.org/schemas/policy.xsd
12
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
13
http://dnetlib.eu/springbeans/condbean http://dnetlib.eu/springbeans/condbean.xsd">
14

  
15
<!-- CXF bus with logging. Please set the log level of org.apache.cxf.interceptor to FATAL to hide the logging of EVERY incoming and outgoing messages. -->
16
	<cxf:bus>
17
		<cxf:outInterceptors>
18
<!--
19
	 		<ref bean="outCxfLoggingInterceptor" />
20
-->
21
		</cxf:outInterceptors>
22
		<cxf:inInterceptors>
23
<!--
24
			<ref bean="inCxfLoggingInterceptor" />
25
-->
26
		</cxf:inInterceptors>
27
	</cxf:bus>
28

  
29
	<bean id="outCxfLoggingInterceptor" class="org.apache.cxf.interceptor.LoggingOutInterceptor" />
30
	<bean id="inCxfLoggingInterceptor" class="org.apache.cxf.interceptor.LoggingInInterceptor" />
31

  
32

  
33
	<!-- <cxf:bus> -->
34
		<!--		<cxf:inInterceptors>-->
35
		<!--
36
			<bean id="logInbound"
37
			class="org.apache.cxf.interceptor.LoggingInInterceptor" />
38
		-->
39
		<!--
40
			<bean id="logOutbound"
41
			class="org.apache.cxf.interceptor.LoggingOutInterceptor" />
42
		-->
43
		<!--			</condbean:cond>-->
44
		<!--		</cxf:inInterceptors>-->
45

  
46
<!-- 		<cxf:features> -->
47
<!--			 <wsa:addressing />-->
48

  
49
<!--			<cxf:logging />-->
50

  
51
			<!--  <pol:policies ignoreUnknownAssertions="true"/> -->
52
<!-- 		</cxf:features> -->
53
<!-- 	</cxf:bus> -->
54

  
55

  
56
	<http:conduit name="*.http-conduit">
57
		<http:client AllowChunking="true" Connection="Keep-Alive" />
58
	</http:conduit>
59
</beans>
modules/dnet-claims-service/trunk/src/main/webapp/WEB-INF/applicationContext.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" xmlns:p="http://www.springframework.org/schema/p"
5
	xmlns:context="http://www.springframework.org/schema/context"
6
	xmlns:cxf="http://cxf.apache.org/core"
7
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
8
	http://www.springframework.org/schema/context
9
           http://www.springframework.org/schema/context/spring-context-2.5.xsd
10
           http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd">
11

  
12
	<import resource="classpath:META-INF/cxf/cxf.xml" />
13
<!-- 	<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" /> -->
14
<!-- 	<import resource="classpath:META-INF/cxf/cxf-extension-jaxws.xml" /> -->
15
<!-- 	<import resource="classpath:META-INF/cxf/cxf-servlet.xml" /> -->
16

  
17
	<import resource="classpath*:/gr/uoa/di/driver/app/springContext-commons.xml" />
18
	<import resource="classpath*:/gr/uoa/di/driver/util/springContext-locators.xml" />
19
	<import resource="classpath*:/gr/uoa/di/driver/app/springContext-registrator.xml" />
20
	<import resource="classpath*:/eu/dnetlib/clients/ws/springContext-locatorFactory.xml" />
21
	<import resource="classpath*:/eu/dnetlib/soap/cxf/applicationContext-eprbuilders.xml"/>
22
	<import resource="classpath*:/gr/uoa/di/driver/app/springContext-lookupFactory.xml" />
23
	<import resource="classpath*:/gr/uoa/di/driver/app/springContext-lookupClients.xml" />
24
	<import resource="classpath*:/eu/dnetlib/enabling/hcm/springContext-hcmService.xml" />
25
	<import resource="classpath*:/eu/dnetlib/data/claims/migration/springContext-claimsDemo.xml"/>
26
	<!--
27
	<import resource="classpath*:/eu/dnetlib/openaire/thrift/springContext-openaire-thrift.xml" /> -->
28

  
29
	<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
30
                <property name="order" value="2" />
31
                <property name="ignoreUnresolvablePlaceholders" value="true" />
32
                <property name="locations">
33
                        <bean class="eu.dnetlib.conf.WebappContextPropertyLocationFactory">
34
                		<property name="locations">
35
                        		<list>
36
                      				<value>classpath*:/eu/**/applicationContext*.properties</value>
37
                      				<value>classpath*:/eu/dnetlib/applicationContext-defaultProperties.properties</value>
38
                      				<value>classpath*:/gr/**/springContext-commons.properties</value>
39
                        	        	<value>classpath*:/gr/**/springContext-registrator.properties</value>
40
                        	        	<value>classpath*:/gr/**/springContext-locators.properties</value>
41

  
42
										<value>classpath*:/eu/dnetlib/data/claims/migration/springContext-claimsDemo.properties</value>
43
                        	        	<value>classpath*:/gr/uoa/di/driver/app/springContext-lookupFactory.properties</value>
44
                        	        	<value>classpath*:/eu/dnetlib/enabling/hcm/springContext-hcmService.properties</value>
45

  
46
                          				<value>classpath*:/eu/dnetlib/openaire/applicationContext-openaire.properties</value>
47
        	                	        <value>classpath*:/eu/dnetlib/openaire/thrift/springContext-openaire-thrift.properties</value>
48

  
49

  
50
                                        <value>classpath*:dnet-site-override.properties</value>
51
                                        <value>classpath*:dnet-dnet-openaire-connector-wizard.properties</value>
52
                                        <value>classpath*:dnet-dnet-openaire-connector-override.properties</value>
53

  
54
                                        <value>classpath*:/uoa-override.properties</value>
55
                                        <value>classpath*:/dnet-override.properties</value>
56

  
57
                                        <value>classpath*:dnet-force-override.properties</value>
58

  
59
	                        	</list>
60
	             		</property>
61
			</bean>
62
		</property>
63
		<property name="properties">
64
			<bean class="eu.dnetlib.conf.WebappContextProperyFactory">
65
				<property name="propertyFetcher">
66
					<bean class="eu.dnetlib.conf.PropertyFetcher" />
67
				</property>
68
			</bean>
69
                </property>
70
        </bean>
71

  
72
	<context:annotation-config />
73
	<context:component-scan base-package="eu.dnetlib.openaire.rest"/>
74
<!--
75
	<context:component-scan base-package="eu.dnetlib.api.enabling"/>
76
-->
77

  
78
	<!-- if the following import is not the last one, something overrides bus
79
		configuration disabling logging and any other customized feature. -->
80
	<import resource="./cxf.xml" />
81

  
82
</beans>
modules/dnet-claims-service/trunk/src/main/webapp/WEB-INF/log4j.properties
1
log4j.rootLogger = WARN, R
2

  
3
log4j.logger.eu.dnetlib = DEBUG
4
log4j.logger.org.springframework = INFO, S
5
log4j.logger.org.apache.thrift= WARN, R
6
log4j.logger.eu.dnetlib.openaire.thrift.Timer = WARN, R
7

  
8
log4j.additivity.org.springframework = false
9
log4j.additivity.org.apache.thrift = false
10
log4j.additivity.eu.dnetlib.openaire.thrift.Timer = false
11

  
12
log4j.appender.R=org.apache.log4j.RollingFileAppender
13
log4j.appender.R.File=/var/log/dnet/connector/connector.log
14
log4j.appender.R.MaxFileSize=10MB
15
log4j.appender.R.MaxBackupIndex=10
16
log4j.appender.R.layout=org.apache.log4j.PatternLayout
17
log4j.appender.R.layout.ConversionPattern= %d %p %t [%c] - %m%n
18

  
19
log4j.appender.S=org.apache.log4j.RollingFileAppender
20
log4j.appender.S.File=/var/log/dnet/connector/connector-spring.log
21
log4j.appender.S.MaxFileSize=10MB
22
log4j.appender.S.MaxBackupIndex=10
23
log4j.appender.S.layout=org.apache.log4j.PatternLayout
24
log4j.appender.S.layout.ConversionPattern= %d %p %t [%c] - %m%n
modules/dnet-claims-service/trunk/src/main/webapp/WEB-INF/web.xml
1
<!DOCTYPE web-app PUBLIC
2
 "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
3
 "http://java.sun.com/dtd/web-app_2_3.dtd" >
4
<web-app>
5
	<display-name>DNet-2.0 container web app</display-name>
6
	<context-param>
7
		<param-name>contextConfigLocation</param-name>
8
		<param-value>/WEB-INF/applicationContext.xml</param-value>
9
	</context-param>
10
    <context-param>
11
        <param-name>log4jConfigLocation</param-name>
12
        <param-value>/WEB-INF/log4j.properties</param-value>
13
    </context-param>
14
    <listener>
15
        <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
16
    </listener>
17
	<listener>
18
		<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
19
	</listener>
20
	<listener>
21
		<listener-class>eu.dnetlib.data.emailSender.EmailScheduler</listener-class>
22
	</listener>
23

  
24

  
25

  
26
	<servlet>
27
		<servlet-name>jersey-serlvet</servlet-name>
28
		<!--<servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>-->
29
		<servlet-class>com.sun.jersey.spi.spring.container.servlet.SpringServlet</servlet-class>
30
		<init-param>
31
			<!--<param-name>com.sun.jersey.config.property.packages</param-name>-->
32
			<param-name>com.sun.jersey.config.property.packages</param-name>
33
			<param-value>eu.dnetlib.openaire.rest</param-value>
34
		</init-param>
35
		<load-on-startup>1</load-on-startup>
36
	</servlet>
37

  
38
	<servlet-mapping>
39
		<servlet-name>jersey-serlvet</servlet-name>
40
		<url-pattern>/rest/*</url-pattern>
41
	</servlet-mapping>
42

  
43
	<filter>
44
		<filter-name>CorsFilter</filter-name>
45
		<filter-class>org.apache.catalina.filters.CorsFilter</filter-class>
46
		<init-param>
47
			<param-name>cors.allowed.origins</param-name>
48
			<param-value>*</param-value>
49
		</init-param>
50
		<init-param>
51
			<param-name>cors.allowed.methods</param-name>
52
			<param-value>GET,POST,HEAD,OPTIONS,DELETE</param-value>
53
		</init-param>
54
		<init-param>
55
			<param-name>cors.exposed.headers</param-name>
56
			<param-value>Access-Control-Allow-Origin,Access-Control-Allow-Credentials,Access-Control-Allow-Methods</param-value>
57
		</init-param>
58
		<init-param>
59
			<param-name>cors.support.credentials</param-name>
60
			<param-value>true</param-value>
61
		</init-param>
62

  
63
	</filter>
64
	<filter-mapping>
65
		<filter-name>CorsFilter</filter-name>
66
		<url-pattern>/*</url-pattern>
67
	</filter-mapping>
68

  
69
</web-app>
modules/dnet-claims-service/trunk/src/main/webapp/index.html
1
if this container runs the IS, you can access the web interface <a href="mvc/inspector">here</a>
modules/dnet-claims-service/trunk/pom.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4
	<parent>
5
		<groupId>eu.dnetlib</groupId>
6
		<artifactId>dnet-parent</artifactId>
7
		<version>1.0.0-SNAPSHOT</version>
8
	</parent>
9
	<modelVersion>4.0.0</modelVersion>
10
	<groupId>eu.dnetlib</groupId>
11
	<artifactId>dnet-openaire-connector-service</artifactId>
12
	<packaging>war</packaging>
13
	<version>2.0.0-SNAPSHOT</version>
14
	<build>
15
		<plugins>
16
			<plugin>
17
				<groupId>eu.dnetlib</groupId>
18
				<artifactId>dnet-jetty-maven-plugin</artifactId>
19
				<version>6.1.11-SNAPSHOT</version>
20
				<configuration>
21
					<contextPath>/app</contextPath>
22
					<connectors>
23
						<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
24
							<port>8080</port>
25
							<maxIdleTime>60000</maxIdleTime>
26
						</connector>
27
					</connectors>
28
				</configuration>
29
			</plugin>
30
		</plugins>
31
	</build>
32
	<dependencies>
33
		<dependency>
34
			<groupId>eu.dnetlib</groupId>
35
			<artifactId>uoa-openaire-connector</artifactId>
36
			<version>[1.0.0,)</version>
37
		</dependency>
38
		<dependency>
39
			<groupId>eu.dnetlib</groupId>
40
			<artifactId>uoa-clients</artifactId>
41
			<version>[1.0.0-SNAPSHOT,)</version>
42
		</dependency>
43
		<dependency>
44
			<groupId>eu.dnetlib</groupId>
45
			<artifactId>uoa-hcm</artifactId>
46
			<version>[1.0.0-SNAPSHOT,)</version>
47
		</dependency>
48
		<dependency>
49
			<groupId>org.apache.cxf</groupId>
50
			<artifactId>cxf-rt-transports-http</artifactId>
51
			<version>${cxf.version}</version>
52
		</dependency>
53
		<dependency>
54
			<groupId>eu.dnetlib</groupId>
55
			<artifactId>dnet-runtime</artifactId>
56
			<version>[1.0.0-SNAPSHOT,)</version>
57
		</dependency>
58
	</dependencies>
59
</project>

Also available in: Unified diff