Adapter
Blong includes the following commonly used adapters:
Modular UI
How to wire blong-browser into a suite and write UI pages for a realm.
Schema based UI
How to define model specs in a realm.
Codec
Use codecs to implement protocols on top of lower-level ones.
Configuration
Blong comes with a flexible configuration mechanism, which allows
Cucumber / Gherkin Testing
Overview
EIP patterns
Enterprise Integration Patterns (EIP) are a
Error
The patterns below can be used to define and throw
Handler
Handlers are functions that are called by adapters and orchestrators to
Layer
Layers are named groups of handlers that organise code by functional concern within a realm.
Real-Time Log
The Blong framework ships with a real-time log viewer. When the framework is running locally, a
Meta
To implement various kinds of functionality the framework uses a metadata object,
Server-side testing with mocks
When writing integration tests for handlers that call external systems (databases, downstream
Orchestrator
Blong includes the following commonly used orchestrators:
Realm
To define a realm, use the realm function from the framework.
REST
Server
RPC
The RPC mechanism is based on JSON-RPC 2.0 specification, which defines a
Suite
To define a suite follow the patterns below.
Test API Entry Point
Before test handlers run, the suite needs an index.ts that loads the platform(s), starts them,
Test
Test handlers
Validation
Validations are used to describe the internal API.