Skip to content
Ocean-Atlasv0.1.0Canonical Knowledge

Learn by building

Examples

Entry point for focused and end-to-end Ocean examples.

Tags
Match

15 examples

advanced20 min

Answer Aggregation (async)

Learn broker request-response, events, timeouts, context, and multi-service aggregation through one simple answer application.

4 services1 broker0 databases
Explore example
advanced10 min

Answer Aggregation (sync)

Learn service-level aggregate by combining several synchronous API calls into one structured or transformed answer.

4 services0 brokers0 databases
Explore example
medium15 min

Audit Service

Record immutable audit actions and list them by actor or tenant, with idempotent recording and offset/limit pagination backed by Postgres.

1 service0 brokers1 database
Explore example
medium20 min

Order Management: Entity-Based FSM

Persist orders and let a finite state machine enforce their approval, shipment, delivery, and cancellation lifecycle.

1 service0 brokers1 database
Explore example
medium15 min

Gateway Answer Hub

Expose one public API over independent answer providers, forwarding matching operations automatically and routing one explicitly through broker request-response.

4 services1 broker0 databases
Explore example
easy15 min

Calculator: In-Memory FSM

Learn how to define and use an in-memory finite state machine through a calculator whose current state selects its behavior.

1 service0 brokers0 databases
Explore example
medium15 min

Inventory Management

Model inventory visibility, locations, material types, stock movements, batch tracking, expiry, and replenishment levels.

1 service0 brokers1 database
Explore example
advanced35 min

Invoice Approval Workflow (FSM)

Submit persistent invoices and control approval or rejection with an entity-based finite state machine.

1 service0 brokers1 database
Explore example
easy10 min

Broker-Based Math Service

Route addition and subtraction requests through typed broker channels to specialized services.

3 services1 broker0 databases
Explore example
advanced30 min

Purchase Order Orchestration

Compose scheduled API input, synchronous API calls, broker request-response, triggered and scheduled aggregation, shipment events, and generated operational views.

9 services1 broker0 databases
Explore example
advanced25 min

Role-Based Access Control (RBAC)

Resolve allow or deny access for hierarchical roles and hierarchical resources from a sparse, explicitly assigned access matrix.

1 service0 brokers1 database
Explore example
medium20 min

Scheduled Operations Monitor

Model recurring operational work with reusable schedules, an API-backed service, and a generated monitoring UI.

4 services0 brokers0 databases
Explore example
medium10 min

Simple Vault Usage

Define typed secrets in several logical vaults and expose them through one service.

1 service0 brokers0 databases
Explore example
easy10 min

Store Service

Provide a generic, TTL-based in-memory key-value store that other microservices can use to put, get, pop, check, and delete arbitrary JSON values.

1 service0 brokers1 database
Explore example
easy10 minRecommended start

Task Manager

Create, find, update, and delete persistent tasks through an API while applying task lifecycle rules.

1 service0 brokers1 database
Explore example