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
On this page
  • /train_ping
  • /train_hello
  • /train_redirect
  • /train_condition
  • /train_get
  • /train_set
  • /train_query
  • /train_rest
  • /train_pattern
  • /train_secret
  • /train_script
  • /train_template
  • /train_hft
  • /train_rule
  • /train_mock
  1. Examples
  2. Training Examples

API Flow Examples

These flows can be viewed from Saga screen in Devops app, grouped under training domain

PreviousTraining ExamplesNextMicroservice Examples

Last updated 3 months ago

© Rierino Software Inc. 2025. All rights reserved.

/train_ping

This is the simplest API flow, connecting start step to a success step, returning request contents back as a response.

/train_hello

Another simple example, returning "Hello World" as a message in output with a transform step.

/train_redirect

This is a API flow redirect example, using train_hello saga without providing any flow of its own.

/train_condition

This example includes conditional logic with step link configurations and both success & fail steps.

/train_get

Using a local read event handler, this example returns a record from the 'dummy' state manager by id.

/train_set

Using a local write event handler, this example writes a given record to the 'dummy' state manager.

/train_query

Using a local query event handler and a query named "Dummy Search", this example returns a list of records filtered by their name.

The query is accessible from Query screen of Configuration application.

/train_rest

Using a local rest event handler and a system definition, this example makes a GET request to a remote system.

/train_pattern

Similar to train_rest, this example makes a GET request to a remote system, but transforming input and output using patterns in event metadata parameters.

/train_secret

Example for encrypting a given value and decrypting it back with a pre-configured key.

/train_script

Executes a custom Groovy script which replicates the parameters provided in input as output.

The script itself is configured using the code editor accessible in Configuration application.

/train_template

Renders a Handlebars template for provided name, surname parameters.

The template itself is configured using the code editor accessible in Configuration application.

/train_hft

Allows real-time compilation and execution of Java event handlers for testing and development purposes.

The class itself is configured using the code editor accessible in Configuration application.

/train_rule

Allows evaluation of a set of rules for the given input and outputs the decided value.

The rule list for calculation is configured using the rule records accessible in Train application.

/train_mock

Returns an example response, mocking a currently unimplemented endpoint.

Ping Flow
Hello Flow
Redirect Mapping
Condition Flow
Get Flow
Set Flow
Query Flow
Dummy Search Query
Rest Flow
Pattern Parameters
Secret Flow
Script Flow
Executed Groovy Script
Template Flow
Rendered Handlebars Template
HFT Flow
Dynamic Java Class
Simple Rule Flow
Rule Configuration
Mocking Configuration