Giriş
Not : Strangler için OpenAPI ya da eski adıyla Swagger kullanılabilir.
Açıklaması şöyle
The name refers to strangler vines that grow around trees, gradually building up a solid structure that eventually is able to completely replace the tree that they started growing around. The strangler pattern for microservices means to gradually and strategically build a "mesh" of microservices around an existing monolith, replacing certain functions as needed, and over time potentially replacing the monolithic application entirely.Stranger örüntüsü API'yi değiştirirken testlerin bozulmasını da engelleyebilir. Açıklaması şöyle
build an anti-corruption layer, or a facade, or a proxy between your tests and the SUT, so you can change the API of the SUT without having to change too many parts of your tests. That will allow you to keep the tests as they are for now. Later, when you have some time for cleaning up, you may decide to migrate the tests to the new API one-by-one.This approach is also known as strangler pattern and can often be used to gradually swap out legacy components by components with a new design, not only for tests.
Şeklen şöyle. Burada ilk hafta Strangler örüntüsü istekler halen eski sisteme yönlendiriyor. Daha sonraki haftalarda micro servislere yönlendiriyor
Hiç yorum yok:
Yorum Gönder