Skip to main content
Skip table of contents

Configuration in Cloud Gateway

Introduction

The Cloud Gateway is used to route the incoming requests from the web browser. The requests are directed to:

  • Keycloak server for authentication
  • Static Resource Server to serve the static parts of the user interface
  • censhare Server to serve requested data
  • Xeditor integration if you are using the Xeditor

For more information on the Cloud Gateway, see Installation packages.

Configuration for Xeditor in the Cloud Gateway

The Cloud Gateway uses a configuration file that defines the routes for the various requests. Normally, the name of the configuration file is application.yaml. The location of it depends on your system setup.

When the Cloud Gateway receives a requests, it looks into the routes to decide to which URL route this requests. If you start using the Xeditor, censhare IT also adds the following route for the Xeditor integration:

YML
### ETS xeditor-proxy calls
- id: ets_xeditor_proxy
  uri: http://XEDITOR_PROXY_SERVICE
  predicates:
    - Path=/editors/xeditor/**
  filters:
    - RewritePath=/editors/xeditor/(?<segment>.*), /$\{segment}
    - CustomTokenRelay

XEDITOR_PROXY_SERVICE is the name of the service that links to the Xeditor integration. This depends on your system setup.

You must not change this route! Otherwise, Xeditor integration stops working.



JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.