Liking cljdoc? Tell your friends :D

BDI Stack

Tools for developing clients and services in the Basic Data Infrastructure framework.

The BDI Stack contains standalone services and libraries.

Services

Libraries

⚠ DISCLAIMER ⚠

The software is for development and testing purposes only! It has not been audited for security flaws and may not be suitable as a starting point for production quality software. Use at your own risk.

Running services in docker

We publish services as docker images.

The VGU Demo repository contains a docker example that demonstrates running an application with the Authorization Register and Association Register using docker-compose.

Developing

Development tooling

You need Clojure installed in order to work with the source code in this repository. You also need GNU Make and OpenSSL installed.

See the Makefile for some common tasks.

Repository layout

This repository has each component in its own subdirectory as a Clojure deps.edn project. The top-level directory contains a deps.edn configuration that includes all components.

If a Clojure REPL is started from one of the component directories, it will include the source paths of the component and its dependencies.

If a REPL is started in the top-level directory, it will include the source paths of all components. This is recommended if you're making changes across components. To start a top-level REPL in Emacs/CIDER, open the top-level deps.edn in Emacs and cider-jack-in from there.

Running tests

Running tests only works from the top-level project, since the tests rely on a top-level configuraton directory test-config. Before running the tests, run make test-config to generate the necessary key can certificate files.

clojure -M:test runs all tests, clojure -M:test COMPONENT... runs the tests for the specified components. For instance, to run only the tests for clj-ishare-client, run clojure -M:test clj-ishare-client in the top-level directory.

make test in the top-level directory runs all tests after ensuring that the test-config is populated correctly.

CHANGES

v1.0.1

  • Added authentication-service, a standalone service that provides an access token endpoint generating trusted JWTs.
  • Improve logging
  • Internal refactoring: split out service-commons, improve tests.

v1.0.0

  • Initial public release

Copying

Copyright (C) 2024-2025 Jomco B.V.

Copyright (C) 2024-2025 Topsector Logistiek

AGPL-3.0-or-later

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close