NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Users already working with 6.4.1 Remote Java API will need to update to 6.5.0 compatible client jars including: 
Manual Dependency Management
Updates:

You will also need to update your application-config-client.xml file. 

 

Warning

Moving your own code base to Java 8 will likely be necessary.  Upgrading to Java 8 can be affected by issues with bean construction and collection order.  These are not compile time issues and will manifest as run time exceptions.  We recommend you prepare accordingly by testing your code base by compiling in and running tests against Java 8.


Maven Dependency Management

A LexEVS remote client project provides pom file based access to all supported client jars.   Users of the pom in this project: https://github.com/lexevs/LexEVS_Distributed_Client.git can update versions of LexEVS and LexEVS remote client jar sets to 6.5.0.FINAL and 6.5.0 respectively.  We are moving our support model to providing client jars to the end user via maven style repositories based in this Nexus system:  https://ncimvn.nci.nih.gov/nexus/#welcome

Pom File Updates (Available on release of 6.5.0 in the distributed client repository) and working pom file example.

Code Block
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.5.1</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>


Code Block
    <properties>
        <forkMode>never</forkMode>
        <lexevs.version>6.5.0.FINAL</lexevs.version>
        <cagrid.version>1.3</cagrid.version>
        <lexevs.remote.version>6.5.0</lexevs.remote.version>
    </properties>


Code Block
        <dependency>
            <groupId>lexevs</groupId>
            <artifactId>lexevs-remote-client</artifactId>
            <version>6.5.0</version>
        </dependency>
Code Block
        <dependency>
            <groupId>lexevs</groupId>
            <artifactId>lexevsapi-beans</artifactId>
            <version>6.5.0</version>            
        </dependency>
Code Block
        <dependency>
            <groupId>lexevs</groupId>
            <artifactId>LexEVSSecurity</artifactId>
            <version>6.5.0</version>            
        </dependency> 
Code Block
         <dependency>
            <groupId>sdk</groupId>
            <artifactId>sdk-client-framework</artifactId>
            <version>6.5.0</version>
        </dependency>
        <dependency>
            <groupId>sdk</groupId>
            <artifactId>sdk-grid-remoting</artifactId>
            <version>6.5.0</version>           
        </dependency>
        <dependency>
            <groupId>sdk</groupId>
            <artifactId>sdk-security</artifactId>
            <version>6.5.0</version>         
        </dependency>


End User REST / Data Service Migration

...