'gateway-ng' Service

enaio® 11.10 »

You will find information about the latest service releases of the 'gateway-ng' service here.

Installation

Services are installedand updated via the os_service-manager_setup.exe file in the \Backend\Service-Manager directory.

Services are patched via enaio_services_versionfix.exe in the \Backend\Service-Manager-Update directory.

'gateway-ng' 1.4 Service

The service release contains the following changes, in addition to bug fixes.

Connection to Services

The connection data for enaio® appconnector, enaio® documentviewer, and enaio® rendition, which had to be entered for the configuration, must be deleted from the gateway-ng-prod.yml configuration file.

The microservice automatically receives connection data via enaio® server.

All pre-entered routes must also be deleted:

#       Don't change these two routes
        - id: api_dms_route
          uri: lb://DMS
          predicates:
            - Path=/api/dms/**
          filters:
            - RewritePath=/api/dms/?(?<segment>.*), /$\{segment}
        - id: resources_route
          uri: lb://DMS
          predicates:
            - Path=/resources/**

#       Routes for redirecting old bookmarks to the applet service
        - id: detailsviewer_route
          uri: no://op
          predicates:
            - Path=/detailsviewer/index.html
          filters:
            - RedirectTo=308, /applet/detailsviewer/index.html, true
        - id: pdfview_route
          uri: no://op
          predicates:
            - Path=/dashlets/pdfview/viewer.html
          filters:
            - RedirectTo=308, /applet/pdfview/web/viewer.html, true
        - id: oscontentviewer_forceIndexDataFalse_route
          uri: no://op
          predicates:
            - Path=/oscontentviewer/viewer/{id}/
            - Query=pagecount, 1
          filters:
            - RemoveRequestParameter=pagecount
            - AddRequestParameter=osid, {id}
            - AddRequestParameter=forceIndexData, false
            - RedirectTo=308, /applet/contentviewer/index.html, true
        - id: oscontentviewer_forceIndexDataTrue_route
          uri: no://op
          predicates:
            - Path=/oscontentviewer/viewer/{id}/
          filters:
            - RemoveRequestParameter=pagecount
            - AddRequestParameter=osid, {id}
            - AddRequestParameter=forceIndexData, true
            - RedirectTo=308, /applet/contentviewer/index.html, true

Spring-Boot 3.5

The following extension in the gateway-ng-prod.yml configuration file is necessary due to the update to Spring-Boot 3.5.

version 11.10       

spring:
  cloud:
    gateway:
      routes: 

Service Release 1.4

spring:
  cloud:
    gateway:
      server:
        webflux:
          routes:

Project-Specific Routes

If project-specific routes have been specified in the gateway-ng-prod.yml configuration file, a 'blacklist' entry must also be created for these services:

endpoints:
  blacklist: 'service1,service2'

 

'gateway-ng' 1.2 Service

The service release contains the following changes, in addition to bug fixes.

Profile Assignment

An additional profile – the blue profile – must be assigned to the 'gateway-ng' service in the servicewatcher-sw.yml configuration file located in the \services\service-manager\config\ directory.

 profiles: prod,cloud,blue 

enaio® service-manager must be restarted afterwards.

enaio® User Names

The following keys of the gateway-ng-prod.yml configuration file have been replaced by the more general key gateway.oauth2.user-name-attribute: security.oauth2.resourceserver.jwt.user-name-attribute and security.oauth2.client.provider.<provider name>.user-name-attribute.

If the previous keys have been adjusted, these keys must be deleted and the new key must be adjusted. Otherwise, no adjustments are necessary. The standard behavior has not changed.