Commit 48011ed3 authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

pom: switch to oncrpc4j-2.1.0

the new version includes:

Changelog for oncrpc4j-2.0.0..oncrpc4j-2.1.0
    * [bdcd4ca] docs: update readme
    * [5a91c53] xdr: fix incorrect endEncoding in RcpReply
    * [930fdc2] pom: use pmd plugin 3.0.1
    * [9a95318] oncrpcsvc: OncRpcSvc accepts builder in the constructor
    * [6d7550e] orcrpcsvc: drop multiple constructors.
    * [2a783ca] orcrpcsvc: fix javadoc
    * [f08b519] spring: add factory bean to construct OncRpcSvcBuilder
    * [78140b8] oncrpcsvc: remove constructor with list of arguments
    * [56d6971] oncsvc: make it possible to bind the service to an interface
    * [2c184f5] portmap: throw RpcProgUnavailable if portmap service not availab
    * [dfcb33d] pom: use slf4j-1.7.5
    * [8ffeeef] core: remove logging from Xdr encoder/decode
    * [8448b36] core: simplify handling of zero legth arrays
    * [e47a3d1] libs: remove unused dependency on JNA
    * [5feadf2] libs: switch to grizzly 2.3.5

Acked-by: Gerd Behrmann
parent a61bdf32
......@@ -194,9 +194,18 @@
<!--
ONC RPC service
-->
<bean id="oncrpcsvc" class="org.dcache.xdr.OncRpcSvc" destroy-method="stop" depends-on="rpcbind,oncrpcsvc-ds">
<bean id="oncrpcsvc-builder" class="org.dcache.xdr.OncRpcSvcFactoryBean">
<description>Onc RPC service builder for MDS</description>
<property name="port" value="${mds.port}"/>
<property name="useTCP" value="true"/>
<property name="autoPublish" value="true"/>
<property name="enableJmx" value="true"/>
</bean>
<bean id="oncrpcsvc" class="org.dcache.xdr.OncRpcSvc" depends-on="rpcbind,oncrpcsvc-ds"
destroy-method="stop">
<description>Onc RPC service for MDS</description>
<constructor-arg type="int" value="${mds.port}"/>
<constructor-arg ref="oncrpcsvc-builder"/>
<property name="programs">
<map>
<entry key-ref="nfsv4-programm" value-ref="mds"/>
......@@ -209,10 +218,17 @@
<!--
ONC RPC service for DS
-->
<bean id="oncrpcsvc-ds" class="org.dcache.xdr.OncRpcSvc" init-method="start" destroy-method="stop">
<description>Onc RPC service FOR DS</description>
<constructor-arg type="int" value="${ds.port}"/>
<constructor-arg type="boolean" value="false"/>
<bean id="oncrpcsvc-ds-builder" class="org.dcache.xdr.OncRpcSvcFactoryBean">
<description>Onc RPC service builder for DS</description>
<property name="port" value="${ds.port}"/>
<property name="useTCP" value="true"/>
<property name="enableJmx" value="true"/>
</bean>
<bean id="oncrpcsvc-ds" class="org.dcache.xdr.OncRpcSvc"
init-method="start" destroy-method="stop">
<description>Onc RPC service for DS</description>
<constructor-arg ref="oncrpcsvc-ds-builder"/>
<property name="programs">
<map>
<entry key-ref="nfsv4-programm" value-ref="ds"/>
......
......@@ -211,12 +211,12 @@
<dependency>
<groupId>org.dcache</groupId>
<artifactId>oncrpc4j-spring</artifactId>
<version>2.0.0</version>
<version>2.1.0</version>
</dependency>
<dependency>
<groupId>org.dcache</groupId>
<artifactId>oncrpc4j-core</artifactId>
<version>2.0.0</version>
<version>2.1.0</version>
</dependency>
<dependency>
<groupId>com.sun.jna</groupId>
......@@ -231,6 +231,13 @@
<artifactId>chimera-core</artifactId>
<version>0.0.12-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.glassfish.gmbal</groupId>
<artifactId>gmbal</artifactId>
<version>3.2.0-b003</version>
</dependency>
</dependencies>
<!--
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment