From e0950423b68ba0f788a5b4a6cea9e32bff6d771e Mon Sep 17 00:00:00 2001 From: Litichevskiy Dmitriy Date: Wed, 7 Aug 2024 14:16:52 +0300 Subject: [PATCH] Validation main concept was described --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index e4fe38d..b67edad 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,12 @@ Provides the necessary tooling for testing the architecture. ## Validation of architecture implementation in services +Main concept: +- the architect describes the architecture in code as a contract that the services must satisfy and shares it; +- developers write validators for architecture dependencies and shares them as NuGet package; +- in each service, developers add a test, that receives as input an architecture, a description of how the service was implemented, a set of validators for architectural dependencies; +- primitives from this repository inside the test compare the description of the service on the architecture with its implementation and produce a list of inconsistencies. + How to implement: - describe the architecture as code and store it in a Git repository; - set up versioning and sharing of the architecture, for example, using NuGet packages;