OneCX Local Environment

onecx-local-env is the local development environment for OneCX. It is based on Docker/Docker Compose, and enables developers to quickly run a local instance for development and testing purposes.

onecx-local-env can either be used as a standalone tool, or integrated into custom development environments via Git submodules. Custom development environments can interact with onecx-local-env via provided lifecycle-scripts and extend its functionality by wrapping the provided Docker Compose and script files with custom implementations.

Get and Run OneCX

Setting up

Details on how to get and install OneCX locally

Run OneCX

How to start and access OneCX

Scripts for more Ease

Since OneCX runs in a Docker Compose environment, most settings can be managed directly through Docker and Docker Compose. However, for a more convenient approach and taking into account specific OneCX features, various shell scripts are available.

Each script has the -h flag to explain how to use.

The following table gives an overview of the available scripts in onecx-local-env root directory.

Table 1. Available Scripts

start-onecx.sh

Start the local environment including import of inital neccessary data

stop-onecx.sh

Stop the local environment

import-onecx.sh

Import data into the local environment

toggle-mfes.sh

Integrate local running microfrontends directly into OneCX

check-images.sh

List local images with state and version

update-images.sh

Update local images to the latest available versions

list-containers.sh

List all running containers with details and filter options

setup-truststore.sh

Create or update Java Truststore with custom certificates

Additional Utilities

In addition to the OneCX Core products, further services will be launched.

Table 2. Available Utilities

Keycloak

The IAM service used by OneCX

Postgres

Storing the data. Each OneCX backend service has its own separate database. Access can be gained using pgAdmin.

pgAdmin

Manage the Postgres databases.

Traefik

Proxy service for routing requests between services within the Docker network and from/to outside.

OneCX Applications

The OneCX Platform is a modular system which provides a lot of standard services:

Core Applications
Application Description

Identity Access Management

Handles user authentication, authorization, and identity management within the OneCX platform.

Parameter Management

Used by some applications

Permission Management

Declared and used in applications.

Application Store

Application data (components, slots etc.)

Shell

The main user interface framework for OneCX applications.

Tenant Management

Represents a customer or organizational unit using OneCX

Theme Management

Customizing the look and feel of OneCX for a tenant

User Profile

Managing user-specific settings and preferences

Workspace Management

Customizing the working areas for users

Feature Applications
Application Description

Announcement Management

Manages announcements and notifications within the OneCX platform.

Bookmark Management

Bookmarks for quick access to frequently used items

Data Orchestrator

Manages data synchronization and integration between different OneCX services and external systems.

Document Management

Managing documents in a user-friendly and efficient manner

Help Management

Provide users easy access to help resources and support within the portal

Service

Provide various services

Test

Provide special functionality for testing service

Welcome Management

Customizing the start page for users