Skip to main content

14 docs tagged with "configuration"

View all tags

Configuring Genesis Start

This page covers how to add Genesis Start to a project and how to change the way it runs your application. Everything here applies both to the desktop window and to headless mode.

Entity Manager

The entity-management micro front-end provides a seamless way to interact with back-end resources, enabling users to manage entities directly from the front-end.

Genesis Router

Genesis Router is responsible for all communication between the front end and back end.

Native HTTP on the process port

By default, Genesis processes exchange messages with each other over raw TCP, and only GENESIS_ROUTER answers HTTP requests. If you switch a process to the WebSocket messaging channel, it keeps serving Genesis messaging and also answers plain HTTP on the same port, the process's port from its service definition (*-service-definitions.xml). Under Genesis Start with a port offset, the port is shifted; the Application view shows the port each process was given. Each of its request servers, event handlers and custom endpoints gets an HTTP route. You can call those routes directly from inside your cluster, or let the Genesis Router forward HTTP requests to them as a proxy.

Process cache

Database caching on local microservices is supported out of the box. You can configure a caching layer for any Genesis module. The cache can reduce the database workload for tables that contain static data.

Processes

Your application must have a *-processes.xml file. This contains the configuration of each module in the application (Data Server, Request Server, Event Handler, etc).

Service definition

Every application must have a *-service-definitions.xml file. This is where you specify the ports of the various processes. These are used to communicate internally between processes.

Site specific

Site specific is an area of the run directory, on a deployed application instance, where you can override the standard definitions found elsewhere in your application.

System definition

The system-definition file genesis-system-definition.kts is the main configuration file for your application, controlling how the application behaves at runtime.