Project

General

Profile

« Previous | Next » 

Revision 47839

[maven-release-plugin] copy for tag cnr-enabling-hnm-service-2.0.1

View differences:

modules/cnr-enabling-hnm-service/tags/cnr-enabling-hnm-service-2.0.1/deploy.info
1
{"type_source": "SVN", "goal": "package -U -T 4C source:jar", "url": "http://svn-public.driver.research-infrastructures.eu/driver/dnet40/modules/cnr-enabling-hnm-service/trunk/", "deploy_repository": "dnet4-snapshots", "version": "4", "mail": "sandro.labruzzo@isti.cnr.it,michele.artini@isti.cnr.it, claudio.atzori@isti.cnr.it, alessia.bardi@isti.cnr.it", "deploy_repository_url": "http://maven.research-infrastructures.eu/nexus/content/repositories/dnet4-snapshots", "name": "cnr-enabling-hnm-service"}
modules/cnr-enabling-hnm-service/tags/cnr-enabling-hnm-service-2.0.1/src/main/java/eu/dnetlib/enabling/hnm/HostingNodeManagerServiceImpl.java
1
package eu.dnetlib.enabling.hnm;
2

  
3
import eu.dnetlib.enabling.hnm.rmi.HostingNodeManagerService;
4
import eu.dnetlib.enabling.tools.AbstractBaseService;
5

  
6
/**
7
 * HNMService implementation.
8
 *
9
 * @author michele
10
 *
11
 */
12
public class HostingNodeManagerServiceImpl  extends AbstractBaseService implements HostingNodeManagerService {
13
	
14
	@Override
15
	public String echo(String s) {
16
		return s;
17
	}
18

  
19
}
modules/cnr-enabling-hnm-service/tags/cnr-enabling-hnm-service-2.0.1/src/main/resources/eu/dnetlib/enabling/hnm/applicationContext-hnm.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:jaxws="http://cxf.apache.org/jaxws"
4
	xmlns:sec="http://cxf.apache.org/configuration/security" xmlns:wsa="http://cxf.apache.org/ws/addressing"
5
	xmlns:p="http://www.springframework.org/schema/p" xmlns:http="http://cxf.apache.org/transports/http/configuration"
6
	xmlns:t="http://dnetlib.eu/springbeans/t" xmlns:template="http://dnetlib.eu/springbeans/template"
7
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
8
                                    http://cxf.apache.org/ws/addressing http://cxf.apache.org/schemas/ws-addr-conf.xsd
9
                                    http://cxf.apache.org/configuration/security http://cxf.apache.org/schemas/configuration/security.xsd
10
                                    http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd
11
                            http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
12
                            http://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd">
13

  
14
	<!--  beans -->
15
	<bean id="hnmService" class="eu.dnetlib.enabling.hnm.HostingNodeManagerServiceImpl" 
16
		init-method="start" destroy-method="stop"/>
17

  
18
	<!-- endpoints -->
19
	<jaxws:endpoint id="hnmServiceEndpoint"
20
		implementor="#hnmService" implementorClass="eu.dnetlib.enabling.hnm.rmi.HostingNodeManagerService"
21
		address="/hnm" />
22

  
23
	<template:instance name="serviceRegistrationManager"
24
		t:serviceRegistrationManagerClass="eu.dnetlib.enabling.tools.registration.ValidatingServiceRegistrationManagerImpl"
25
		t:name="hnmServiceRegistrationManager" t:service="hnmService" 
26
		t:endpoint="hnmServiceEndpoint" t:jobScheduler="jobScheduler"
27
		t:serviceRegistrator="hnmServiceRegistrator" />
28
	
29
		
30
	<bean id="hnmServiceRegistrator"
31
		class="eu.dnetlib.enabling.tools.registration.BlackboardServiceRegistrator"
32
		p:serviceLocator-ref="uniqueServiceLocator"
33
		p:serviceNameResolver-ref="defaultServiceNameResolver"
34
		p:eprBuilder-ref="jaxwsEndpointReferenceBuilder">
35
		<property name="serviceProperties">
36
			<map>
37
				<entry key="name" value="unknown" />
38
				<entry key="latitude" value="0" />
39
				<entry key="longitude" value="0" />
40
				<entry key="timezone" value="0" />
41
			</map>
42
		</property>
43
	</bean>
44
		
45
</beans>
modules/cnr-enabling-hnm-service/tags/cnr-enabling-hnm-service-2.0.1/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" 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-parent</artifactId>
6
		<version>1.0.0</version>
7
		<relativePath />
8
	</parent>
9
	<modelVersion>4.0.0</modelVersion>
10
	<groupId>eu.dnetlib</groupId>
11
	<artifactId>cnr-enabling-hnm-service</artifactId>
12
	<packaging>jar</packaging>
13
	<version>2.0.0</version>
14
	<scm>
15
	  <developerConnection>scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/cnr-enabling-hnm-service/tags/cnr-enabling-hnm-service-2.0.0</developerConnection>
16
	</scm>
17
	<dependencies>
18
		<dependency>
19
			<groupId>eu.dnetlib</groupId>
20
			<artifactId>cnr-service-common</artifactId>
21
			<version>[2.0.0,3.0.0)</version>
22
		</dependency>
23
	</dependencies>
24
</project>

Also available in: Unified diff