Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

This section lists the prerequisites and steps for applying and verifying this patch.

Though every release of Adeptia comes with seamless upgrades and bug-free patches, for customer's complex use cases, we recommend applying the patch in a non-production environment first followed by testing. After the use cases run successfully without any errors or warnings, you can apply the patch in the production environment. 

Prerequisites

  • Read and Write permissions on all sub-folders and files of .../AdeptiaConnect-<Version>
  • Take backup of securityContext.xml file from …<ConnectPortalInstallFolder>\resources_config\saml location. This backup file will help you replicate the manual changes in case you have done earlier in the securityContext.xml file before applying this patch.  
  • Take backup of apps.properties file from …<ConnectPortalInstallFolder>\resources_config location. This backup file will help you replicate the manual changes in case you have done earlier in the apps.properties file before applying this patch.  
  • Connect Server services are running.
  • Connect Portal service is stopped.

Applying the patch

 For Windows
  1. Extract the Adeptia Connect zip file from the downloaded folder.
  2. Open the Command Prompt.
  3. Go to the folder where you have extracted the zip file.
  4. Run the following command to apply the patch:
    Apply-Patch.bat -portal “<Path where Connect Portal is installed till ConnectPortal folder>” 

    For example:

    Apply-Patch.bat -portal  "C:/Program Files/AdeptiaConnect-x.x/ConnectPortal"
     
    Once the patch is applied, a confirmation message will be displayed. 
 For Linux
  1. Open the Terminal.
  2. Extract the downloaded zip file in a directory.
  3. Go to the directory where you have extracted the zip file.
  4. Run the following command to apply the patch:

    ./Apply-Patch.sh -portal <Path where Connect Portal is installed till ConnectPortal folder> 

    For example:

    ./Apply-Patch.sh -portal /mnt/AdeptiaConnect-x.x/ConnectPortal

    Once the patch is applied, a confirmation message will be displayed.

After applying this patch, refer to post patch deployment section for manual changes.

Post patch deployment steps

In this release, some manual changes are required in Connect Portal.

Changes in securityContext.xml file

  1. Go to …<ConnectPortalInstallFolder>\resources_config\saml location.

  2. Open securityContext.xml file.
  3. Go to Security for the administration UI section and make the following change:

    1. Add the below property under the security headers tag:
      <security:hsts max-age-seconds="31536000"/>



  4. Go to Secured pages with SAML as entry point section and make the following change:
    1. Add the below property under the security headers tag:
      <security:hsts max-age-seconds="31536000"/>

  5. Save the file.
  6. Restart the Connect Portal.

Changes in apps.properties file

  1. Go to …<ConnectPortalInstallFolder>\resources_config location.

  2. Open apps.properties file.
  3. In case you are using QuickBooks and Xero applications in Adeptia Connect, do the following:

    1. Search for QuickBooks app section and replace the existing code block with the one given below:

      QuickBooks
      quickbooks.appKey=
      quickbooks.appKeySecret=
      quickbooks.oauthVersion=2.0
      quickbooks.oauth20.accessToken=https://oauth.platform.intuit.com/oauth2/v1/tokens/bearer
      quickbooks.oauth20.authorize=https://appcenter.intuit.com/connect/oauth2
      quickbooks.oauth10.requestToken=https://oauth.intuit.com/oauth/v1/get_request_token
      quickbooks.oauth10.authorize=https://appcenter.intuit.com/Connect/Begin
      quickbooks.oauth10.accessToken=https://oauth.intuit.com/oauth/v1/get_access_token
      quickbooks.openId.provider=https://openid.intuit.com/OpenId/Provider
      quickbooks.openId.identity=http://specs.openid.net/auth/2.0/identifier_select
      quickbooks.scope=com.intuit.quickbooks.accounting
      quickbooks.enableProduction=true
    2. Search for Xero app section and replace the existing code block with the one given below:

      Xero
      xero.appKey=
      xero.appKeySecret=
      xero.oauthVersion=2.0
      xero.oauth.signatureMethod=RSA-SHA1
      xero.oauth20.accessToken=https://identity.xero.com/connect/token
      xero.oauth20.authorize=https://login.xero.com/identity/connect/authorize
      xero.oauth10.requestToken=https://api.xero.com/oauth/RequestToken
      xero.oauth10.accessToken=https://api.xero.com/oauth/AccessToken
      xero.oauth10.authorize=https://api.xero.com/oauth/Authorize
      xero.refreshToken=https://api.xero.com/oauth/AccessToken
      xero.clientAuthentication=true
      xero.clientKeystore=xeroapps.p12
      xero.clientKeystoreType=PKCS12
      xero.clientKeystorePassword=
      xero.clientKeystorePrivateKeyPassword=
      xero.privateKey=
      xero.scope=offline_access accounting.transactions accounting.settings accounting.contacts payroll.employees
      xero.enableProduction=true
  4. Save the file.

Once the post installation steps are done, start the Connect Portal.

Verifying Connect Portal patch

Login to Adeptia Connect. If you log in successfully, indicates Connect Portal is updated successfully.

  • No labels