Versions Compared

Key

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

...

To be moved to github soon

VersionReleasedSuccessfully Tested
1.51/2018eTravel, Workflow, ePayment in Jan. 2018 for KFS6 upgrade


Clients

eTravel -  calls getAccountByPrimaryId and isActive

...

Use SoapUI to do generate the stubs.  Go to this wiki page for step by step instructions.

...

Warning
titleMarshalling error

See KFSUP-13 for more info and

Between KFS4 and KFS6, the uri changed for the AchWebService from http://util.java to http://businessobject.pdp.kfs.its.hawaii.edu so this library had to be rebuilt to account for that difference. 

...

Warning
titleFailed to Create Service

See SADMIN-5084 and SADMIN- 7236 for more info

We're constantly running into this problem during the quarterly upgrades for Java.  When this error occurs, it's almost guarantee that the root ca certs are not in the JDK's cacerts keystore.  The SAs have just been copying the cacerts from the old version to the new version instead of importing the certs directly into the cacerts keystore.

...

Warning
title301 Moved Permanently

See KFSUP-10 for more info

The issue was caused by incorrect registry url endpoints defined in KFS.  To resolve, KFS needs to be built with the correct endpoints.

...

Note
titleTesting Matrix for KFS6 upgrade

https://docs.google.com/document/d/1PdoJ4OZroUbDUzFEJWblchfwApeMAm2VN-0meFJkdc4/edit

 

...


Publish New Version to Nexus

Push locally

  • download project
  • execute "mvn clean deploy"
    • executing "mvn source:jar deploy" will attempt to push the source jar twice because the pom.xml is configured to generate the source so don't run this command
    • pom.xml is configured to push to our Nexus repo
    • <id> between <repository> in pom.xml and <server> in settings.xml must match

      Code Block
      <distributionManagement>
      	<repository>
      		<id>UH</id>
      		<name>releases</name>
      		<url>https://docprod.pvt.hawaii.edu/nexus/repository/maven-releases</url>
      		<layout>default</layout>
      	</repository>
      </distributionManagement>


    • ~home/.m2/settings.xml is configured use your username/password

      Code Block
      <servers>
      	<server>
      		<username>[nexus username]</username>
      		<password>[nexus password]</password>
      		<id>UH</id>
      	</server>
      </servers>
      
      


  • Troubleshooting
    • if the artifact already exists in Nexus, you'll receive the following error because you can't overwrite it if it already exists

      Code Block
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project kfs-webservice-client: Failed to deploy artifacts: Could not transfer artifact edu.hawaii.its.kfs:kfs-webservice-client:jar:sources:1.5 from/to UH (https://docprod.pvt.hawaii.edu/nexus/repository/maven-releases/): Failed to transfer file: https://docprod.pvt.hawaii.edu/nexus/repository/maven-releases/edu/hawaii/its/kfs/kfs-webservice-client/1.5/kfs-webservice-client-1.5-sources.jar. Return code is: 400, ReasonPhrase: Bad Request. -> [Help 1


    • If the username/password is incorrect or if the user doesn't have the necessary permissions in Nexus, you'll receive the following error

      Code Block
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project kfs-webservice-client: Failed to deploy artifacts: Could not transfer artifact edu.hawaii.its.kfs:kfs-webservice-client:jar:1.5 from/to central (https://docprod.pvt.hawaii.edu/artifactory/libs-release-local): Failed to transfer file: https://docprod.pvt.hawaii.edu/artifactory/libs-release-local/edu/hawaii/its/kfs/kfs-webservice-client/1.5/kfs-webservice-client-1.5.jar. Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]


Push via Jenkins

  • execute job ...