Architecture and specification sketches for the ITU/DIAL/GIZ/Estonia GovStack project
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":
- Secure Exchange of Information (think X-Road)
- A Global PubSub Service
Diagrams for these layers are provided in the ./diagrams
folder and are a good
place to start.
-
The IM BB Specification itself
-
The Diagrams on LucidChart
-
Running Meeting Notes (note that this has largely been replaced by the "Key Decision Log" at the bottom of the Specification document)
- a potential workflow engine spec
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
.
Cucumber-js is used to execute test harness to check compability of application api with BB test definitions.
Launch the mock server from examples/mock folder. The instruction is located in 'examples/mock' folder in file README.md
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