Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  • Before you start:

    1. Make sure you have updated your yuuvis® RAD system to version 8.16 LTS before updating to version 9.x.
    2. Stop the 8.16 core-service.
    3. Stop the 8.16 service-manager. 

    4. Stop Elasticsearch 7.16.2

...

    • After the update of the service-manager, JDK 17 is installed instead of JDK 11. The services are compiled with JDK 11 or 17 but all of them are running with JDK 17.
    • Addition of the viewer-microservice
      The viewer microservice was added to display different types of content files in yuuvis® RAD client.
      • Open the <service-manager>\config\gateway-prod.yml file (and all other gateway-*.yml files if setup on your own and containing endpoints), and add the following endpoint to the end of the list:

          - name: 'viewer'
            url: 'http://viewer'

        The gateway-prod.yml file should now look like this:
  •  
    • If (one of) the systems gateway(s) uses a self-signed certificate (SSL/HTTPS) the viewer-service must be configured to accept this certificate. To do this, follow the below steps:
      • Extract the public certificate in .crt / .cer file format (PEM, Base64 encoded DER with BEGIN and END markers) from the existing .p12 certificate (or the root certificate if there is a certificate chain) - either by using OpenSSL on the command line or by using the Keystore Explorer (with GUI) 
        • Command line:

          Code Block
          languagebash
          openssl pkcs12 -in yuuvis.p12 -clcerts -nokeys -out yuuvis.cer

          (replace yuuvis with the name of your certificate)

        • Keystore Explorer:
          • Open the .p12 certificate in the Keystore Explorer
          • Double click on the certificate entry to open the details of the certifcate
          • Click on the Export button at the bottom left.
          • Change the path of the export file to "<service-manager>\certificates" (create the directory if it doesn't exist)
          • Click ok to export the .cer file

      • Open the file <service-manager>\config\servicewatcher-sw.yml
      • Navigate to the viewer-service section and add the following parameter at the bottom

        Code Block
        languagejava
        env:
            NODE_EXTRA_CA_CERTS: ${appBase}/../certificates/yuuvis.cer

        (replace yuuvis with the name or your certificate)

      • It should now look like this:

        Code Block
        languagexml
        - name: viewerservice
          type: executable
          profiles: prod,red
          instances: 1
          port: 7471-7479
          path: ${appBase}/viewerservice/viewer-service.exe
          env:
            NODE_EXTRA_CA_CERTS: ${appBase}/../certificates/yuuvis.cer



    • [optional]: With the new viewer-service the viewing and handling of e-mails and their attachments has been changed. Until version 10.0, it is possible to configure the old viewing and handling. If this is desired, proceed as follows

      • Open or create the <service-manager-data>\webresource\resources\client\assets\_default\config\extend.json file and insert the below preview section.
        (The content of the file must be a json object. So if no other content is in the file add "{" as the first line and "}" as the last line.)

        Code Block
          "preview": {     
             "viewers": [
                 {
                     "mimeType": ["message/rfc822", "application/vnd.ms-outlook"],
                     "viewer": "() => parameters.defaultViewer + '#'"
                 }
             ]
           }


    • Only for custom gateway login pages:
      • The version numbers of the referenced libraries in the login.html and loggedout.html files need to be removed, so that the available version is used at all times.
      • The files should now look like this:
      • login.html
        <script>...'/webjars/angularjs/angular.min.js'"></script>
        <script>...'/webjars/jquery/jquery.min.js'"></script>
        <script>....'/webjars/i18next/i18next.min.js'"></script>

      • loggedout.html
        <script>....'/webjars/jquery/jquery.min.js'"></script>


    • Context-Path settings
  •  
    • The service-manager 9.x is shipped with Java JDK 17 and therefore all custom microservices need to be compiled with JDK 17 or at least compatible to this version. If a custom microservice uses the (now) forbidden reflections, it can be configured to allow this again:
      • Open the <service-manager>\config\servicewatcher-sw.yml file
      • Navigate to the section defining the custom microservice and add the following lines to define java options passed to the JVM at startup:
          options:
            --add-opens=java.base/java.lang=ALL-UNNAMED
      • It should now look like this:

...