1. 17 Jul, 2019 1 commit
  2. 08 Jul, 2019 1 commit
  3. 13 Jun, 2019 1 commit
  4. 07 Jun, 2019 2 commits
    • Tigran Mkrtchyan's avatar
      libs: use hamcrest 2.1 · 13656bd8
      Tigran Mkrtchyan authored
      Motivation:
      latest version of hamcrest test suite to write more sophisticated test
      cases.
      
      Modification:
      Update dependency in the pom file. Update test to avoid usage of
      deprecated API.
      
      Result:
      up-to-date test infrastructure to enhance tests.
      
      Acked-by: Paul Millar
      Target: master
      13656bd8
    • Tigran Mkrtchyan's avatar
      libs: use mockito-core 2.28 · 59edb797
      Tigran Mkrtchyan authored
      up-to-date version with java11 support
      
      Acked-by: Paul Millar
      Target: master
      59edb797
  5. 08 Mar, 2019 1 commit
    • Tigran Mkrtchyan's avatar
      nlm: add throughput test for lock manager · 0a436290
      Tigran Mkrtchyan authored
      Motivation:
      
       - performance benchmarking
       - getting in touch with JMH
      
      Modification:
      Add throughput test for lock manager. Introduce a dedicated profile to
      run benchmark tests.
      
      ```
      $ mvn clean verify -Pbenchmark
      
      ....
      
      Result "org.dcache.nfs.benchmarks.ConcurrentLockManagerBenchmark.benchmarkConcurrentLocking":
        1574556.068 ±(99.9%) 98632.233 ops/s [Average]
        (min, avg, max) = (1078256.296, 1574556.068, 1735655.142), stdev = 131671.209
        CI (99.9%): [1475923.835, 1673188.301] (assumes normal distribution)
      
      $
      ```
      
      Result:
      automated performance monitoring can be integrated into CI.
      
      Acked-by: Albert Rossi
      Target: master
      0a436290
  6. 07 Feb, 2019 2 commits
  7. 14 Nov, 2018 1 commit
  8. 13 Nov, 2018 1 commit
    • Tigran Mkrtchyan's avatar
      nfs41: add BerkeleyDB-based client record store · aaf7d2fd
      Tigran Mkrtchyan authored
      Motivation:
      To allow clients to reclaim opens/locks lost due-to server reboot nfs
      server should store client records on a stable storage. Such client
      record store can be as simple as text file and as complicated as a
      distributed DB.
      
      Modification:
      Introduce BerkeleyDB-based client record store, which keeps track of
      clients in key-value db. On start client store will use db from previous
      start for a recovery. New clients will be stored in a new DB. After
      recovery is complete the old db will be removed and new one will be used
      and primary.
      
      Result:
      nfs server can be configured to use persistent store to keep track of
      nfs clients.
      
      Acked-by: Paul Millar
      Target: master
      aaf7d2fd
  9. 02 Nov, 2018 1 commit
    • Tigran Mkrtchyan's avatar
      libs: use oncrpc4j-3.0.3 · 7fc7a590
      Tigran Mkrtchyan authored
      minor bugfix version that handles DoS situation
      
      Changelog for oncrpc4j-3.0.2..oncrpc4j-3.0.3
          * [c27c72c] [maven-release-plugin] prepare for next development iteration
          * [fc33a7e] libs: use mockito-2.22.0 with java11 support
          * [a72cda7] src: fix typo in method name
          * [cf123fb] oncrpcsvc: do not use FixedThreadPool from grizzly
          * [c582609] [maven-release-plugin] prepare release oncrpc4j-3.0.3
      
      Acked-by: Albert Rossi
      Target: master, 0.17
      7fc7a590
  10. 21 Sep, 2018 1 commit
    • Tigran Mkrtchyan's avatar
      libs: update to oncrpc-3.0.2 · 0af699f4
      Tigran Mkrtchyan authored
      minor bugfix release:
      
      Changelog for oncrpc4j-3.0.1..oncrpc4j-3.0.2
          * [5ae3bf6] [maven-release-plugin] prepare for next development iteration
          * [14f3c9a] portmap: fix xdr encoding of mapping object
          * [cad6d5b] [maven-release-plugin] prepare release oncrpc4j-3.0.2
      
      Acked-by: Paul Millar
      Target: master, 0.17
      0af699f4
  11. 14 May, 2018 3 commits
  12. 08 May, 2018 1 commit
    • Tigran Mkrtchyan's avatar
      pom: update to use oncrpc4j-3.0.x · 24f3a832
      Tigran Mkrtchyan authored
      Motivation:
      migrate to the next major version of oncrpc4j-3.0.x. The highlights:
      
        - java9 ready
        - package name changes
        - update of external dependencies
      
      Full changelog for oncrpc4j-2.7.0..oncrpc4j-3.0.1
          * [5f174e5] [maven-release-plugin] prepare for next development iteration
          * [09f1858] fixed stack overflow for recursive constant definitions
          * [d14a7df] Added input for service name while creating OncRpcClients. This makes it easy to identify threads created on behalf of a client.
          * [48a98be] src: make code base JDK9 ready
          * [64213d2] svc: explicitly specify which address to bind during tests
          * [2ffe42a] svc: use java8 stream to filer local end-point address
          * [d91499e] svc: add OncRpcSvc#toString()
          * [ca0539a] pom: update external libs and maven plugins
          * [b2d8247] src: more java8 clenups
          * [3e2dd59] Test case for issue #56 https://github.com/dCache/oncrpc4j/issues/56
          * [39f51cc] Bad maven module for issue test file
          * [6915c33] Add the missing owner parameter to mapping and rpcb operations
          * [b7b1691] Corrct an NPE when dumping an empty rpcbind registry
          * [b1ba74f] Add version properties for plugin/dependencies
          * [e452d65] Describe maven-jar-plugin in top level pom.xml
          * [f17cbd2] Remove unnecessary null check in generated code
          * [b185da2] pom: fix typo in plugin version property
          * [7aaca8e] utils: drop Bytes#to/fromHexString methods
          * [e0282c6] xdr: rename org.dcache.utils.Opaque into org.dcache.xdr.XdrOpaque
          * [68aa383] pom: bump project major number
          * [aac35af] src: split org.dcache.xdr into org.dcache.oncrpc4j.{xdr,net,rpc,util}
          * [766e70b] docs: update readme to describe new changes
          * [691ec88] pom: remove outdated java.net maven repos
          * [2680903] pom: update guava version to 24
          * [3c7f0bb] xdr: drop XdrBuffer
          * [7cb1fa0] xdr: introduce Xdr#getBytes method
          * [182521d] xdr: implement AutoCloseable interface
          * [fc41b2b] pom: add stable automatic module name into jar
          * [c30b87b] gss: use try-with-resource when Xdr is used
          * [b7eb9b6] rpc: rename GrizzlyXdrTransport to GrizzlyRpcTransport
          * [80c1b52] src: update copyright years
          * [b848ea0] libs: update to grizzly-2.4.3
          * [0ea08fe] [maven-release-plugin] prepare branch 3.0
          * [50f9543] [maven-release-plugin] prepare release oncrpc4j-3.0.0
          * [49bbec1] [maven-release-plugin] prepare for next development iteration
          * [24c87f2] xdr: do not flip byte buffer in Xdr#xdrEncodeByteBuffer
          * [085756e] [maven-release-plugin] prepare release oncrpc4j-3.0.1
      
      Modification:
      update pom file. Adjust to new package names:
      
      org.dcache.xdr =>  org.dcache.oncrpc4j.rpc and org.dcache.oncrpc4j.xdr
      
      Result:
      up-to-date oncrpc4j
      
      Acked-by: Paul Millar
      Target: master
      24f3a832
  13. 24 Jan, 2018 2 commits
  14. 10 Jan, 2018 1 commit
    • Tigran Mkrtchyan's avatar
      nfs: add Hazelcast-based distributed lock manager · 5fc372b7
      Tigran Mkrtchyan authored
      Motivation:
      lock management across multiple nfs servers.
      
      Modification:
      add Hazelcaset-based subclass of AbstractLockManager. Classes which are
      used in lock implementations are updated to implement java.io.Serializible.
      
      NOTICE, that we do not include any (except of hazelcast's own default
      config) configuration. Thus end-application can itself decide how
      Hazelcast is instantiated and configured.
      
      Result:
      locks are honored across set of nfs servers, if configured.
      
      Acked-by: Paul Millar
      Target: master
      5fc372b7
  15. 01 Nov, 2017 1 commit
    • Tigran Mkrtchyan's avatar
      src: add Spring integration module · fdc56bad
      Tigran Mkrtchyan authored
      Motivation:
      To use NFSServerV41 with spring a constructor argument injection is
      required. This makes spring configuration more complicated, as some
      arguments are optional and **null** values have to be injected.
      
      Modification:
      Add NfsServerFactory, which implements Spring's FactoryBean and enables
      simpler integration, for instance where device manager must null:
      
      ```
          <bean id="nfs-v41" class="org.dcache.nfs.v4.NFSServerV41Factory">
              <description>NFSv4.1 MDS server</description>
              <property name="operationFactory" ref="mds-factory"/>
              <property name="vfs" ref="vfs"/>
              <property name="exportFile" ref="export"/>
           </bean>
      ```
      
      instead of:
      
      ```
          <bean id="nfs-v41" class="org.dcache.nfs.v4.NFSServerV41">
              <description>NFSv4.1 MDS server</description>
              <constructor-arg ref="mds-factory"/>
              <constructor-arg index="1"><null/></constructor-arg>
              <constructor-arg ref="vfs" />
              <constructor-arg ref="export"/>
           </bean>
      ```
      
      Result:
      Simpler integration with Spring.
      
      Acked-by: Paul Millar
      Target: master
      fdc56bad
  16. 28 Sep, 2017 2 commits
  17. 04 Aug, 2017 2 commits
  18. 15 Feb, 2017 2 commits
  19. 27 Jan, 2017 1 commit
    • Tigran Mkrtchyan's avatar
      libs: switch to oncrpc4j-2.7.x · 02d6c9b3
      Tigran Mkrtchyan authored
      update to new major release with enhancements and fixes. The main highlight is
      fixes in bidirectional RPC, required for NFSv4.1 call-backs.
      
      Changelog for oncrpc4j-2.6.0..oncrpc4j-2.7.0
          * [cbdca7a] [maven-release-plugin] prepare for next development iteration
          * [042ab50] src: replace doggy code from stachoverflow with alternative from guava
          * [0bb8da0] xdr: replace SIZE_OF_LONG and SIZE_OF_INT with analogs from java8
          * [38eeb1e] xdr: add equals, hashCode and toString to XdrString class
          * [f463f0b] rpc: use 'expect' annotation for unit test
          * [c6eed52] Used a concurrent hashmap for reply queue for improved performance
          * [afaf5a9] pom: use junit-4.11
          * [23a964b] pom: use guava-20,  enable deprecation detection
          * [3e93a21] rpc: introduce XdrTransport#isOpen() method to check connection status
          * [3e30847] rpc: replace guava's SettableFuture with CompletableFuture from java8
          * [df4c058] xdr: add missing Override annotation and throws tag in javadoc
          * [4abca37] rpc: fix server to client callback handling
          * [2600db3] rpc: use java.nio.file.Files instead of com.google.common.io.Files
          * [15e22fc] rpc: remove dead code
          * [efdc82e] rpc: update XdrTransport#send to accept completion handler
          * [5af3efe] rpc: use random into to initialize first xid
          * [7e5999c] correct typo
          * [0545efe] rpc: add a possibility to register message send listeners
          * [3a8ba87] Modify Xdr to encode/decode strings as UTF-8
          * [340d476] [maven-release-plugin] prepare branch 2.7
          * [8c96a87] [maven-release-plugin] prepare release oncrpc4j-2.7.0
      
      Acked-by: Paul Millar
      Target: master
      02d6c9b3
  20. 28 Nov, 2016 1 commit
    • Tigran Mkrtchyan's avatar
      libs: use guava-20 · a9cb53a3
      Tigran Mkrtchyan authored
      Motivation:
      modernize code, synch with other dCache projects
      
      Acked-by: Paul Millar
      Target: master
      a9cb53a3
  21. 04 Oct, 2016 2 commits
  22. 05 Jul, 2016 1 commit
    • Tigran Mkrtchyan's avatar
      libs: use oncrpc4j-2.6.0 · a023ccc2
      Tigran Mkrtchyan authored
      release of oncrpc4j with new functionality and bug-fixes:
      
      highlights:
      
        - dependency on java8
        - added a possibility to define number of selector/worker threads
        - inject Subject into processing thread security context
      
      Changelog for oncrpc4j-2.5.0..oncrpc4j-2.6.0
          * [4e3b8f9] pom: preparing for next major release: updated version in master
          * [aa8a91a] README: point to the latest release
          * [a8c9723] oncrpc4j-spring: make it possible to set service name
          * [0432a8e] src: do not use StringBuffer
          * [4aa0a0a] pom: update to grizzly-2.3.24
          * [36ebf9c] oncrpc: provide a mechanism to define size of selector/worker thread pools
          * [0d8470a] oncrpc: fix from OncRpcClient constructor initialization
          * [2ceac2f] rpc: remove redundant ClientTransport
          * [186bd69] clean up some unit tests for the BlobStore demo. disable LeakTest on windows as its just too slow there
          * [69f2b5d] support generating large constsnts - longs and BigIntegers
          * [4f2c029] fix bug when handling consts of value zero (misinterpreted as octal)
          * [9b45cf9] allow expressing unsigned consts in hex and octal
          * [48b343d] pom: require java8
          * [8720934] pom: use ssh url for developerConnection
          * [410e87c] oncrpc4j-portmapdaemon - an executable jar wrapper for oncrpc's portmap server
          * [426d3b1] pom: update animal-sniffer to check java8
          * [4ef9bcf] rpcsvc: fix grizzly selector pool size
          * [8a4d5ca] oncrpcsvc: inject request subject into processing thread
          * [f605d29] pom: update slf4j library
          * [cc24188] oncrpcsvc: do not send request to execution if service not registered
          * [d7aee5e] PMAPPROC_DUMP to only add valid v2 netid's to list
          * [5b12f16] rpcbind: skip IPv6 netids when using protocol version 2
          * [68131c0] Embedded port map testing and OncRpcEmbeddedPortmap method to check if embedded running
          * [d5d4047] [maven-release-plugin] prepare branch 2.6
          * [a482967] [maven-release-plugin] prepare release oncrpc4j-2.6.0
      
      Acked-by: Paul Millar
      Target: master
      a023ccc2
  23. 04 Mar, 2016 3 commits
  24. 29 Feb, 2016 1 commit
  25. 16 Jan, 2016 1 commit
    • Tigran Mkrtchyan's avatar
      libs: update to oncrpc4j-2.5.2 · 1976cbd0
      Tigran Mkrtchyan authored
      bugfix release:
      
      Changelog for oncrpc4j-2.5.0..oncrpc4j-2.5.2
          * [783370d] oncrpc4j-spring: make it possible to set service name
          * [e8388aa] pom: update to grizzly-2.3.24
      
      Acked-by: Gerd Behrmann
      Target: master
      Require-book: no
      Require-notes: no
      1976cbd0
  26. 04 Jan, 2016 1 commit
    • Tigran Mkrtchyan's avatar
      libs: switch to oncrpc4j-2.5.0 · 4184959c
      Tigran Mkrtchyan authored
      new feature release with small API changes
      
      Changelog for oncrpc4j-2.4.0..oncrpc4j-2.5.0
          * [a065943] preparing for next major release: updated version in master
          * [a5f3109] docs: point to latest stable release in README
          * [e6b3a82] support generation of async future-returning client methods
          * [09db498] fix bad Future code generated for java primitive return values
          * [6dbd4b0] put a sleep in the add server impl, as intended
          * [f4bd00a] make naven plugin versions deterministic
          * [38a9d62] implement generation of async calls that accept a callback handler
          * [f7c9a14] support for generating oneway client methods
          * [31b4175] make RpcClient AUtoclosable to allow usage in try-with-resources
          * [9f60650] add timeout support. fixes #14 along the way
          * [8fecc14] rpc: override toString when wrapping rpc request with runnable.
          * [57ed55e] make sure that oneway calls do not fail silently if connection was dropped
          * [bcbd0ef] rpcbind: fix regression introduced in f522af90
          * [e1cdba5] rpcbind: do not throw IOException if we fail to start embedded portmap
          * [afb4391] rpcbind: make use of try-with-resource
          * [de19c25] rpcbind: walk through rpcbind versions in reverse order
          * [cee374e] pom: add a runtime dependency on slf4j-simple
          * [8f032f6] rpc: log exceptions thrown by dispatchers
          * [501d22a] add blob store test case
          * [730aac6] upgrade guava to 18.0 to match jpnfs
          * [9915a0b] allow setting service name on OncRpcSvc (affects thread names)
          * [c6b954c] allow specifying rpc credentials per call (default to constructor provided _creds if null)
          * [606da93] add support for generating clients with per-call authentication. done via off-by-default jrpcgen flag
          * [688cae5] allow specifying local (outgoing) port for rpc clients, make clients implement Closeable
          * [310bbd8] allow rpc clients to set grizzly io strategy
          * [815f11a] add missing rpc call signature
          * [9fbf84e] libs: update grizzly to 2.3.23
          * [7b285e0] docs: point to latest stable release in README
          * [b5c0f6e] add test case to demonstrate file/pipe leak on connection refused
          * [5e56446] fix resource leak on connection refused (sort of ...)
          * [884fb01] get rid of getRootCause() in favor of guava
          * [19d2a3d] oncrpc: do not wrap IOException with IOException
          * [b30a57a] oncrpc: remove unnecessary casting
          * [c9755c3] fix test to not sporadically fail - try to connect to a port an outgoing socket will never be assigned
          * [52df6cf] readme: add hotto contribute
          * [489b3c7] rpcsvc: do not catch generic exception during shutdown
          * [8cb91f0] rpcsvc: merge rpc server and client code
          * [f736c16] oncrpcsvc: update builder to configure rpc programs
          * [9493a24] docs: remove example without builder
          * [eed6a68] small fixes to make code and build work on windows
          * [4e20ee0] portmap enhancements
          * [4d171f0] Update RpcLoginService to carry more information
          * [db94c0d] add a test case to demonstrate #31
          * [e14094e] start XDR objects with 1K of buffers initially. addresses #31
          * [a075ec7] [maven-release-plugin] prepare release oncrpc4j-2.5.0
      
      Acked-by: Pail Millar
      Target: master
      4184959c
  27. 16 Sep, 2015 1 commit
    • Tigran Mkrtchyan's avatar
      libs: update oncrpc4j-2.4.2 · e0d5e8b4
      Tigran Mkrtchyan authored
      bugfix release:
      
      Changelog for oncrpc4j-2.4.1..oncrpc4j-2.4.2
          * [5e6d5ce] [maven-release-plugin] prepare for next development iteration
          * [b28809b] libs: update grizzly to 2.3.23
          * [847f42c] [maven-release-plugin] prepare release oncrpc4j-2.4.2
      
      fixes file descriptor leak
      
      Acked-by: Gerd Behrmann
      Target: master, 0.11, 0.10
      e0d5e8b4
  28. 31 Aug, 2015 2 commits