title: Ð Ð°Ð·ÑÐ°Ð±Ð¾ÑÐºÐ° Ð¸ Ð²Ð½ÐµÐ´ÑÐµÐ½Ð¸Ðµ ÑÐµÑÐ²Ð¸ÑÐ° "Ð¡ÐºÐ¾ÑÐ¸Ð½Ð³" Ð² ÑÐ°Ð¼ÐºÐ°Ñ Ð¿ÐµÑÐµÑ Ð¾Ð´Ð° Ð½Ð° Ð¼Ð¸ÐºÑÐ¾ÑÐµÑÐ²Ð¸ÑÐ½ÑÑ Ð°ÑÑ Ð¸ÑÐµÐºÑÑÑÑ Ð² ÐÐ Â«Ð¡Ð¾Ð²ÐºÐ¾Ð¼Ð±Ð°Ð½Ðº ÑÑÑÐ°Ñ Ð¾Ð²Ð°Ð½Ð¸ÐµÂ»
title: Ð²ÑÐ¿ÑÑÐºÐ½Ð°Ñ ÐºÐ²Ð°Ð»Ð¸ÑÐ¸ÐºÐ°ÑÐ¸Ð¾Ð½Ð½Ð°Ñ ÑÐ°Ð±Ð¾ÑÐ° Ð±Ð°ÐºÐ°Ð»Ð°Ð²ÑÐ°
titleType: Subtitle
title: Development and integration of the âScoringâ service as part of the migration to microservices architecture at Sovcombank Insurance
Creators: name: Ð Ð°Ð·ÑÐºÑÐ°Ð½ÑÐ¾Ð², ÐÐ»Ð°Ð´Ð¸ÑÐ»Ð°Ð²
Publisher: name: Ð¡Ð°Ð½ÐºÑ-ÐÐµÑÐµÑÐ±ÑÑÐ³ÑÐºÐ¸Ð¹ Ð¿Ð¾Ð»Ð¸ÑÐµÑÐ½Ð¸ÑÐµÑÐºÐ¸Ð¹ ÑÐ½Ð¸Ð²ÐµÑÑÐ¸ÑÐµÑ ÐÐµÑÑÐ° ÐÐµÐ»Ð¸ÐºÐ¾Ð³Ð¾
Year: 2024
Subjects: Ð¼Ð¸ÐºÑÐ¾ÑÐµÑÐ²Ð¸ÑÐ½Ð°Ñ Ð°ÑÑ Ð¸ÑÐµÐºÑÑÑÐ°
web
Java
Ð¿ÐµÑÐµÑ Ð¾Ð´ Ñ Ð¼Ð¾Ð½Ð¾Ð»Ð¸ÑÐ½Ð¾Ð¹ Ð°ÑÑ Ð¸ÑÐµÐºÑÑÑÑ
microservices architecture
migrating from monolithic architecture

description: Ð¦ÐµÐ»Ñ ÑÐ°Ð±Ð¾ÑÑ Ð·Ð°ÐºÐ»ÑÑÐ°ÐµÑÑÑ Ð² ÑÐµÐ°Ð»Ð¸Ð·Ð°ÑÐ¸Ð¸ ÑÐµÑÐ²Ð¸ÑÐ° Ð¸ Ð²Ð½ÐµÐ´ÑÐµÐ½Ð¸Ðµ ÐµÐ³Ð¾ Ð² Ð¿ÑÐ¾ÑÐµÑÑ Ð¾ÑÐ¾ÑÐ¼Ð»ÐµÐ½Ð¸Ñ Ð¿Ð¾Ð»Ð¸ÑÐ° ÐÐ¡ÐÐÐ ÐºÐ¾Ð¼Ð¿Ð°Ð½Ð¸Ð¸ ÐÐ Â«Ð¡Ð¾Ð²ÐºÐ¾Ð¼Ð±Ð°Ð½Ðº Ð¡ÑÑÐ°ÑÐ¾Ð²Ð°Ð½Ð¸ÐµÂ» Ð´Ð»Ñ Ð¿ÐµÑÐµÑÐ¾Ð´Ð° Ñ Ð¼Ð¾Ð½Ð¾Ð»Ð¸ÑÐ½Ð¾Ð¹ Ð°ÑÑÐ¸ÑÐµÐºÑÑÑÑ Ð½Ð° Ð¼Ð¸ÐºÑÐ¾ÑÐµÑÐ²Ð¸ÑÐ½ÑÑ. ÐÑÐ¸ ÑÑÐ¾Ð¼ ÑÐ´Ð¾Ð²Ð»ÐµÑÐ²Ð¾ÑÑÑÑÑÑ Ð¿Ð¾ÑÑÐµÐ±Ð½Ð¾ÑÑÐ¸ ÐºÐ¾Ð¼Ð¿Ð°Ð½Ð¸Ð¸ Ð² Ð¼Ð°ÑÑÑÐ°Ð±Ð¸ÑÐ¾Ð²Ð°Ð½Ð¸Ð¸, Ð²Ð¾Ð·Ð¼Ð¾Ð¶Ð½Ð¾ÑÑÐ¸ ÑÐ°ÑÑÑÑ ÑÐµÐ»Ð¸Ð·Ð¾Ð² Ð¸ ÑÐ¿Ð¾ÑÐ¾Ð±Ð½Ð¾ÑÑÐ¸ Ð³Ð¸Ð±ÐºÐ¾Ð³Ð¾ Ð¸ Ð±ÑÑÑÑÐ¾Ð³Ð¾ ÑÐ¿ÑÐ°Ð²Ð»ÐµÐ½Ð¸Ñ Ð¿ÑÐ¾ÑÐµÑÑÐ¾Ð¼ Ð¾ÑÐ¾ÑÐ¼Ð»ÐµÐ½Ð¸Ñ Ð¿Ð¾Ð»Ð¸ÑÐ°. Ð Ð´Ð°Ð½Ð½Ð¾Ð¹ ÑÐ°Ð±Ð¾ÑÐµ Ð¿ÑÐ¾Ð²ÐµÐ´ÐµÐ½ Ð°Ð½Ð°Ð»Ð¸Ð· Ð¸Ð·Ð½Ð°ÑÐ°Ð»ÑÐ½Ð¾Ð³Ð¾ Ð¼Ð¾Ð½Ð¾Ð»Ð¸ÑÐ½Ð¾Ð³Ð¾ ÑÐµÑÐµÐ½Ð¸Ñ, Ð±ÑÐ»Ð¸ Ð²ÑÑÐ²Ð»ÐµÐ½Ñ Ð¿ÑÐ¾Ð±Ð»ÐµÐ¼Ñ Ð¿ÑÐ¸ Ð¸ÑÐ¿Ð¾Ð»ÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ð¸ ÑÐ°ÐºÐ¾Ð¹ Ð°ÑÑÐ¸ÑÐµÐºÑÑÑÑ Ð¸ Ð½Ð°Ð¹Ð´ÐµÐ½Ñ Ð¿ÑÐµÐ¸Ð¼ÑÑÐµÑÑÐ²Ð° Ð¿ÑÐ¸ Ð¿ÐµÑÐµÑÐ¾Ð´Ðµ Ð½Ð° Ð¼Ð¸ÐºÑÐ¾ÑÐµÑÐ²Ð¸ÑÐ½ÑÑ Ð°ÑÑÐ¸ÑÐµÐºÑÑÑÑ. Ð¢Ð°ÐºÐ¶Ðµ Ð²ÑÐ¿Ð¾Ð»Ð½ÐµÐ½Ð¾ Ð¿ÑÐ¾ÐµÐºÑÐ¸ÑÐ¾Ð²Ð°Ð½Ð¸Ðµ Ð°ÑÑÐ¸ÑÐµÐºÑÑÑÑ ÑÐµÑÐ²Ð¸ÑÐ° Ñ Ð²Ð·Ð°Ð¸Ð¼Ð¾Ð´ÐµÐ¹ÑÑÐ²Ð¸ÐµÐ¼ ÑÐµÑÐµÐ· Ð°ÑÑÐ¸ÑÐµÐºÑÑÑÐ½ÑÐ¹ ÑÑÐ¸Ð»Ñ REST Ð¸ Ð¿ÑÐ¾ÐµÐºÑÐ¸ÑÐ¾Ð²Ð°Ð½Ð¸Ðµ ÑÑÐµÐ¼Ñ Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ. Ð ÑÐ¾Ð´Ðµ ÑÐ°Ð±Ð¾ÑÑ Ð±ÑÐ» ÑÑÐ¾ÑÐ¼Ð¸ÑÐ¾Ð²Ð°Ð½ ÐµÐ´Ð¸Ð½ÑÐ¹ Ð²ÑÐ¾Ð´Ð½Ð¾Ð¹ Ð¾Ð±ÑÐµÐºÑ, ÐºÐ¾ÑÐ¾ÑÑÐ¹ Ð¿ÑÐ¸ÑÐ¾Ð´Ð¸Ñ Ð¾Ñ ÐºÐ»Ð¸ÐµÐ½ÑÐ¾Ð² ÑÐµÑÐ²Ð¸ÑÐ° âÐ¡ÐºÐ¾ÑÐ¸Ð½Ð³â, Ð° ÑÐ°Ð¶Ðµ ÑÐµÐ°Ð»Ð¸Ð·Ð¾Ð²Ð°Ð½Ð¾ Ð²Ð·Ð°Ð¸Ð¼Ð¾Ð´ÐµÐ¹ÑÑÐ²Ð¸Ðµ Ð² Ð°ÑÐ¸Ð½ÑÑÐ¾Ð½Ð½Ð¾Ð¼ ÑÐ¾ÑÐ¼Ð°ÑÐµ. ÐÐ»Ñ Ð²Ð·Ð°Ð¸Ð¼Ð¾Ð´ÐµÐ¹ÑÑÐ²Ð¸Ñ Ñ ÐºÐ°Ð¶Ð´ÑÐ¼ Ð¸Ð· Ð²ÑÐ´ÐµÐ»ÐµÐ½Ð½ÑÑ Ð¼Ð¸ÐºÑÐ¾ÑÐµÑÐ²Ð¸ÑÐ¾Ð² Ð²ÑÐ±ÑÐ°Ð½ Ð²ÑÐ¾Ð´Ð½Ð¾Ð¹ Ð¾Ð±ÑÐµÐºÑ Ð¸ Ð¾ÑÐ²ÐµÑ. ÐÐ½ÐµÐ´ÑÐµÐ½Ð¸Ðµ ÑÐµÑÐ²Ð¸ÑÐ° Ð¿ÑÐ¸ Ð¿ÐµÑÐµÑÐ¾Ð´Ðµ Ð½Ð° Ð¼Ð¸ÐºÑÐ¾ÑÐµÑÐ²Ð¸ÑÐ½ÑÑ Ð°ÑÑÐ¸ÑÐµÐºÑÑÑÑ Ð¿ÑÐ¾Ð¸ÑÑÐ¾Ð´Ð¸Ð»Ð¾ Ð¿Ð¾ÑÑÐ°Ð¿Ð½Ð¾ Ñ Ð²Ð¾Ð·Ð¼Ð¾Ð¶Ð½Ð¾ÑÑÑÑ Ð³Ð¸Ð±ÐºÐ¾Ð³Ð¾ Ð¸ Ð±ÑÑÑÑÐ¾Ð³Ð¾ Ð¾ÑÐºÐ°ÑÐ° Ð² ÑÐ»ÑÑÐ°Ðµ Ð¾Ð±Ð½Ð°ÑÑÐ¶ÐµÐ½Ð¸Ñ ÐºÑÐ¸ÑÐ¸ÑÐµÑÐºÐ¸Ñ Ð¾ÑÐ¸Ð±Ð¾Ðº. Ð ÐµÐ·ÑÐ»ÑÑÐ°ÑÐ¾Ð¼ ÑÐ°Ð±Ð¾ÑÑ ÑÐ²Ð»ÑÐµÑÑÑ ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐ°Ð½Ð½ÑÐ¹ Ð¸ Ð²Ð½ÐµÐ´ÑÐµÐ½Ð½ÑÐ¹ Ð² Ð¿ÑÐ¾ÑÐµÑÑÑ Ð¾ÑÐ¾ÑÐ¼Ð»ÐµÐ½Ð¸Ñ Ð¿Ð¾Ð»Ð¸ÑÐ° ÐÐ¡ÐÐÐ ÐºÐ¾Ð¼Ð¿Ð°Ð½Ð¸Ð¸ ÐÐ Â«Ð¡Ð¾Ð²ÐºÐ¾Ð¼Ð±Ð°Ð½Ðº Ð¡ÑÑÐ°ÑÐ¾Ð²Ð°Ð½Ð¸ÐµÂ» ÑÐµÑÐ²Ð¸Ñ Â«Ð¡ÐºÐ¾ÑÐ¸Ð½Ð³Â» Ð´Ð»Ñ Ð¿ÐµÑÐµÑÐ¾Ð´Ð° Ð½Ð° Ð¼Ð¸ÐºÑÐ¾ÑÐµÑÐ²Ð¸ÑÐ½ÑÑ Ð°ÑÑÐ¸ÑÐµÐºÑÑÑÑ.
description: The purpose of the work is to implement the service and introduce it into the process of registration of the CTP policy of Sovcombank Insurance for the migration from a monolithic architecture to a microservices architecture. At the same time, the companys scaling needs, the possibility of frequent releases and the ability to manage the policy process flexibly and quickly are met. In this paper, an analysis of the initial monolithic solution was carried out, problems were identified when using such an architecture and advantages when switching to a microservice architecture were found. The service architecture with interaction through the REST architectural style and database schema were also designed. During the work, a single input object was formed, which comes from the clients of the Scoring service, and interaction in an asynchronous format was also implemented. To interact with each of the dedicated microservices, an input object and a response are selected. The implementation of the service during the transition to the microservices architecture took place in stages with the possibility of flexible and quick rollback in case of critical errors. The result of the work is the Scoring service developed and integrated in the processes of registration of the CTP policy of Sovcombank Insurance for the migration to a microservices architecture.