Skip to content

The Information Mediator Building Block for GovStack

License

Notifications You must be signed in to change notification settings

GovStackWorkingGroup/bb-information-mediator

Repository files navigation

GovStack: "Information Mediator" Working Group

Architecture and specification sketches for the ITU/DIAL/GIZ/Estonia GovStack project

Introduction

The information mediator provides a gateway between external digital applications and other ICT Building Blocks, thereby ensuring interoperability and implementation of standards, which is essential for integrating various ICT Building Blocks and applications.

The scope of the information mediator BB has changed over time, but currently it consists of two critical "layers":

  1. Secure Exchange of Information (think X-Road)
  2. A Global PubSub Service

Diagrams for these layers are provided in the ./diagrams folder and are a good place to start.

Documents

  1. The Overview Slides

  2. The IM BB Specification itself

  3. The Diagrams on LucidChart

  4. Running Meeting Notes (note that this has largely been replaced by the "Key Decision Log" at the bottom of the Specification document)

Other

Notes for the Workflow Engine BB

  1. a potential workflow engine spec

Test data

In order to properly call the tests, a file with input data has been created.

The data must exist in tested software before running the tests.

This data are compatible with the data used in the tests and they are stored in the openAPI folder in the test-data.json.

Run Cucumber tests

Cucumber-js is used to execute test harness to check compability of application api with BB test definitions.

Mock server

Launch the mock server from examples/mock folder. The instruction is located in 'examples/mock' folder in file README.md

Cucumber tests

To install project's dependencies, navigate to folder 'test' and execute the following command:

yarn install

Then to execute all tests scenarios use the following command:

yarn test

or

npx cucumber-js

To execute specific test scenario use the following command:

npx cucumber-js features/<file_name>

example:

npx cucumber-js features/data_update_or_create.feature

About

The Information Mediator Building Block for GovStack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published