#How to update DICOM Pixelmed in EVSClient ?

1) Get pixelmed.jar and push it to Nexus
  • Get the latest version of pixelmed with this link : http://www.dclunie.com/pixelmed/software/20191218_current/index.html

  • Push pixelmed.jar to nexus : 3rd party > com > pixelmed > dicom

2) Retrieve, update and configure Pixelmed project
  • Retrieve the Pixelmed project from subversion :
svn checkout https://scm.gforge.inria.fr/svn/gazelle/validators/packaging/pixelmed-jar/trunk
  • In the pom.xml, update the version of pixelmed dependency :
	<dependency>
            <groupId>com.pixelmed</groupId>
            <artifactId>dicom</artifactId>
            <version>20191218</version>
            <exclusions>
                <exclusion>
                    <groupId>hsqldb</groupId>
                    <artifactId>hsqldb</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
  • Then compile the project, and copy the Pixelmed-jar-VERSION-script.zip from target directory to /opt/pixelmed/
  • Unzip the file in /opt/pixelmed/ and give jboss:jboss-admin rights.
cp target/Pixelmed-jar-VERSION-script.zip /opt/pixelmed/
unzip /opt/pixelmed/Pixelmed-jar-VERSION-script.zip
chown jboss:jboss-admin -R /opt/pixelmed
  • Add the property “JAVA_HOME=/usr/lib/jvm/zulu-7-amd64” at the begining of the script /opt/pixelmed/bin/pixelmedValidator.sh.
vim /opt/pixelmed/bin/pixelmedValidator.sh
3) Retrieve and update DICOMEVS-Api project
  • Retrieve the DICOMEVS-Api project from subversion repository :
    svn checkout https://scm.gforge.inria.fr/svn/gazelle/Maven/DICOMEVS-Api/trunk
    
  • In the pom.xml, update the version of pixelmed dependency :
	<dependency>
            <groupId>com.pixelmed</groupId>
            <artifactId>dicom</artifactId>
            <version>20191218</version>
            <exclusions>
                <exclusion>
                    <groupId>hsqldb</groupId>
                    <artifactId>hsqldb</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
4) Retrieve and update EVSClient project
  • Retrieve EVSClient project from GitLab :
    git clone https://gitlab.inria.fr/gazelle/applications/test-execution/validator/EVSClient.git
    
  • In the pom.xml, update the version of DICOMEVS-Api dependency :
 	<dependency>
            <groupId>net.ihe.gazelle</groupId>
            <artifactId>DICOMEVS-Api</artifactId>
            <version>3.0.12</version>
            <exclusions>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>slf4j-log4j12</artifactId>
                </exclusion>
                <exclusion>
                    <artifactId>log4j</artifactId>
                    <groupId>log4j</groupId>
                </exclusion>
            </exclusions>
        </dependency>