LogoLogo
Home
Core Platform
Core Platform
  • Introduction
    • Overview
    • Use Cases
    • Architecture
    • Built with ML & AI
    • Quick Start
  • Examples
    • Training Examples
      • API Flow Examples
      • Microservice Examples
      • UI Example
      • Exercise: Hello World API
      • Exercise: Test State
      • Exercise: Test UI
    • Exercise: To-do List
      • To-do List Runner
      • To-do List Gateway
      • To-do List UI
      • To-do List Query
  • Troubleshooting
    • Rierino Packages
    • Release Notes
    • Useful Checks
    • Error Codes
  • Devops
    • Overview
    • API Flows
      • Using the Saga Screen
      • Defining a Saga
      • Configuring Saga Steps
        • Event Step
        • Transform Step
          • Transform Classes
        • Condition Step
          • Condition Classes
        • Step Link
      • Injecting Variables
    • Microservices
      • Runners
        • Using the Runner Screen
        • Defining a Runner
        • Managing Runner Settings
        • Adding Runner Elements
        • Deploying Runners
          • Spring Runners
          • Samza Runners
          • Camel Runners
      • Elements
        • Systems
        • State Managers
          • Typical Use Cases
          • State Data Structure
          • Local States
            • In-Memory Map
            • Caffeine Cache
            • Samza Based
            • Lucene Based
            • Single File
            • Multiple Files
            • Selected IDs Map
            • Indexed Map
          • Shared States
            • MongoDB Collection
            • Jooq (SQL) Table
            • Redis Map
            • Couchbase Collection
            • Elasticsearch Index
            • Elasticsearch Joined
            • Etcd Namespace
          • Specialized States
            • CRUD Service
            • Odata Service
          • State Coordinators
            • Lazy Cache Coordinator
            • Event Store Coordinator
            • Write thru Coordinator
          • Loading Strategies
          • ID Generators
        • Listeners
        • Query Managers
          • MongoDB
          • Elasticsearch
          • Lucene
          • SQL Based
          • Odata Service
        • Handlers
          • Core Handlers
            • Write Data
            • Read Data
            • Query Data
            • Apply Rules
            • Call Rest API
            • Generate Text/Html
            • Parse Html
            • Generate Secrets
            • Orchestrate User Task
            • Perform File Operation
            • Run Shell Command
            • Send/Receive Emails
          • Custom Code Handlers
            • Run Scripts
            • Run Java Code
            • Run Java Package
          • Flow Handlers
            • Orchestrate Saga
            • Loop Each Entry
            • Run Multiple Steps
            • Buffer Payloads
            • Merge Parallel Steps
            • Log Event
            • Send Event
            • Validate Event
            • Transform Event
            • Perform DB Transaction
            • Trigger Runner Command
            • Do Nothing
            • Modify Role Data
            • Enrich Role Data
            • Convert Pulse to Journal
          • Gateway Handlers
            • Authenticate
              • No Authentication
              • State Based
              • Keycloak Based
            • Sessionize
          • Specialized Handlers
            • Apply Advanced Rules
            • Calculate Real-time Metrics
            • Score ML Models
            • Score LangChain Models
            • Service MCP Requests
            • Service A2A Requests
            • Consume Web of Things
            • Perform Text Embedding
            • Run Python Procedure
            • Generate Excel
            • Generate PDF
            • Call SOAP API
            • Integrate with Camel
        • Actions
        • Streams
          • Kafka Topic
          • CDC Feed
          • Camel Component
        • Roles
        • Generic Settings
        • Global Settings
      • Deployments
        • Defining a Deployment
        • Alternative Loaders
    • Gateway & Security
      • Gateway Servers
        • Gateway Systems
        • Gateway Channels
        • Gateway Services
        • Gateway Tokens
      • APIs
        • OpenAPI Specification
        • Response Formats
    • Administration
      • Managing Deployments
      • Sending Commands
      • Streaming Messages
      • Migrating Assets
    • Batch Tasks
      • Python Processes
      • Python Iterators
      • Python Processors
    • Pro-Code
      • Custom Handlers
      • Custom State Managers
      • Custom Query Managers
      • Custom CDC Managers
  • Design
    • Overview
    • User Interface
      • Apps
      • UIs
        • Listers
        • Widgets
          • Value Widgets
          • Array Widgets
          • Object Widgets
          • Indirect Widgets
          • Atom Widgets
        • Menus
          • Lister Menu Actions
          • Selection Menu Actions
          • Editor Menu Actions
          • Widget Menu Actions
          • Custom Menu Actions
          • RAI Menu Actions
        • Extended Scope
          • Conditional Display
          • Data Context
          • Extra Data
          • Default Item
          • Extra Events
      • Options
      • Translations
      • Icons
      • Styles
      • Components
    • API Mapping
    • Data Schema
      • Common Data
  • Configuration
    • Overview
    • Queries
      • Query Types
      • Query Platforms
        • MongoDB Queries
        • Odata Queries
        • SQL Queries
        • Elasticsearch Queries
        • Lucene Queries
        • Siddhi Queries
    • Business Rules
      • Drools Rules
    • Dynamic Handlers
  • Data Science
    • Overview
    • ML Models
      • Scheduler Platforms
        • Airflow Scheduler
    • GenAI Models
    • MCP Servers
    • Complex Event Processing
      • Siddhi Data Flows
    • Data Visualizations
    • Customizations
  • EXTENSIONS
    • JMESPath
    • Handlebars
Powered by GitBook

© Rierino Software Inc. 2025. All rights reserved.

On this page
  • Rierino Gateway Server
  • Configuration Loader Properties
  • Security Properties
  1. Devops
  2. Gateway & Security

Gateway Servers

A gateway server acts as the gatekeeper and controller of flow between front-end requests and back-end runners.

Gateway servers also coordinate with session and authentication servers to sessionize requests and manage authorization. It is possible to implement new session servers using different technologies, as long as the API endpoints are implemented and requests can be forwarded to the right runners.

Rierino Gateway Server

The gateway server provided within Rierino platform provides all required endpoints and is based on Spring Webflux that can be configured using application.properties file with the typical Spring settings.

Following Rierino specific properties are also applicable to these gateways, which are configured in gateway server application properties files during its installation:

Property
Definition
Example
Default

rierino.gateway.id

Id of the gateway (used for selecting gateway components)

admin

-

rierino.gateway.refreshMs

Milliseconds to automatically reload gateway components (never reloads if set to -1)

-1

15000

rierino.request.controller.enabled

Whether the gateway should have Request APIs

false

true

rierino.auth.controller.enabled

Whether the gateway should have Auth APIs

false

true

rierino.control.controller.enabled

Whether the gateway should have Control APIs

false

true

rierino.tracker.controller.enabled

Whether the gateway should have Tracker APIs

false

true

rierino.command.controller.enabled

Whether the gateway should have Command APIs

false

true

rierino.file.controller.enabled

Whether the gateway should have File APIs

false

true

rierino.command.kafka.enabled

Whether the gateway should be able to send commands thru Kafka

true

false

rierino.command.kafka.default.service

Default Kafka service to send commands

kafka_command

-

rierino.command.kafka.default.topic

Default Kafka topic to send commands

command

-

rierino.id.prefix

Prefix for all request ids from the gateway

admin_request

gateway id value

rierino.id.instanceNum.class

Fully qualified class name for gateway instance number (used in request id generation)

com.rierino.handler.util.generator.ConstantNumberGenerator

com.rierino.handler.util.generator.EpochNumberGenerator

rierino.id.instanceNum.*

Parameters for gateway instance number class

value=0

-

rierino.telemetry.trace.input.enabled

Whether gateway should accept trace & span ids from requestor client for correlations

true

false

Gateway creates request ids using rierino.id settings, which produce ids in the following form:

[prefix]-[instance number]-[local increment][partition suffix]

such as:

"admin_prod-123-50001" for an "admin_prod" gateway with "123" constant instance number and "1" as its assigned partition on its 5th request.

Typically, Spring Consul and Vault properties are also set in these files, in case client side load balancing and authentication token features are used.

Configuration Loader Properties

In addition to the properties file, these gateway servers load their component definitions (i.e. system, channel, service, token) dynamically, which can be refreshed during runtime.

Property
Definition
Example
Default

rierino.config.loader.*

Configuration REST server parameters

baseUrl=http://localhost/crud

-

rierino.config.loader.[component].path

Path for gateway component (e.g. system, channel) configurations

admin_gateway_system

gateway_[component]

Security Properties

All gateway servers also share the following origin related security settings:

Property
Definition
Example
Default

rierino.security.cors.enabled

Whether CORS policy is enabled or not

true

false

rierino.security.cors.maxAge

Max seconds for caching preflight response (when CORS is enabled)

3600

-

rierino.security.cors.credentials

Whether credentials are allowed or not (when CORS is enabled)

false

true

rierino.security.cors.allowed.headers

List of allowed headers (when CORS is enabled)

header1, header2

-

rierino.security.cors.allowed.originPatterns

List of allowed origin patterns (when CORS is enabled)

https://*.example.com

-

rierino.security.cors.allowed.origins

List of allowed origins (when CORS is enabled)

https://www.example.com

-

rierino.security.cors.allowed.methods

List of allowed methods (when CORS is enabled)

GET, POST

-

rierino.security.csrf.enabled

Whether CSRF protection is enabled

true

false

rierino.security.csrf.cookie

Whether CSRF token is sent as cookie

true

false

rierino.security.actuator.allowed.ips

List of whitelisted IPs for actuator access

127.0.0.1

-

PreviousGateway & SecurityNextGateway Systems

Last updated 2 months ago