1 of 2

Level

Step

Action

Deliverable

Who

Unit test

preparation

Define Rest-Api according to service request-response protocols and data structure from BB specs

APIs in Open-API V3.0 Yaml/JSON format

BB + Tech Team

For each API write test requirements in English including all associated API calls (both ingress and egress requests)

Set of test cases with expected requests and responses for service calls landing on the BB and calls emanating from this BB to other BBs

Tech Team

Develop stubs with mock requestor-responder code or API adapter (if BB code exists) to cover set of test cases

Dockerized Stubs with mock requestor-responders / BB Adapters

Tech Team

Test

Launch Mocks with Stubs and run test cases between requestor and responder stub end-points

APIs qualified for compliance with BB specs

Tech Team

Integration Test

preparation

Add IM interface into Mock requestor/responder code

BB APIs mock/adapter codes upgraded with IM interface and protocols

Tech Team

Integrate with information mediator

BB Apis adopted into IM (service discovery and access)

Tech Team

Test

Run same test cases with IM in between the requestor and responder stubs

BB service integration qualified to work with requests coming through IM

Tech Team

Pair-wise BB Interoperability Tests

Preparation

Replace requestor stubs with other IM integrated BBs (stubs/adaptors)

BB configured to access end points of other BBs on Govstack as well as receive service requests

Tech Team

Test

Run interoperability tests with other BBs that are integrated as consumers / service providers for the BB under test

BB services qualified to interoperate with APIs of other integrated BBs (both ingress and egress)

BB + Tech Team

Assumption: BB specs must have services defined with inputs and outputs (English)

2 of 2

Building Block Specification process

​

Define services and modalities to be provided by a target BB

Define functional workflows and data flows needed in the BB to orchestrate defined services

Map relevant global standards, best practices and existing product features

Define external communication protocols (both ingress and egress requests + responses) in English for each service

Define configuration, administration and audit requirements of target BB

Get specifications with above details reviewed by peer groups and TAC

Finalize and Publish BB Specifications with semantic versioning

Define Rest-Apis according interface in Open-API V3.0 Yaml/JSON format according to its communication protocols and data from BB specs.

For each API, describe in English test-scenarios for the API

If a BB code already exists develop API adapters, if no code exists develop a pair of stubs one to generate request and the other to generate response

Host and test all APIs request-responses for specific BB service and qualify for compliance.

Integrate qualified stubs with IM in-between requestor and response stubs and test same request-response transactions

Test integrated service APIs with requests from other integrated BBs(stubs) through IM and qualify compatible BBs

Publish interoperable, compatible microservices into BB services repository

Building Block API generation and testing process For each published BB service

User-journey to use-case mapping process

Define user-journey in English as a business process mapping to underlying actors and services

Breakdown User Journey into discrete steps, called use-cases with specific inputs/outputs, pre-requisite conditions and flow charts

For each use case make wireframe illustration of screen flow and backend workflows across relevant BBs

Manifest screens and workflow for specific use-case with relevant BBs/(stubs) for each use case

Test use-cases and to use-case stack (e.g. registration, appointment booking, etc)

Integrate relevant use-cases and validate specific user journeys

Add to Repository of user journeys (e.g. PMC/UCST/..)

BB micro service API Repository

BB Spec repository

Use-Case Repository

User-Journey Repository

Use-case demo implementation process