There are some important aspects surrounding microservices architecture, which can't be considered its core features, but are also very important. The first of them is security.
The big part of standard implementation for securing APIs with mechanisms such as OAuth2, JWT, or basic authentication is available in Spring Security and Spring Web projects. Spring Cloud Security uses those libraries to allow us to easily create systems that implement common patterns such as single sign-on and token relay. To enable security management for our application we should include the spring-cloud-starter-security
starter.
The next important area in microservices development is automated testing. For microservices architecture, contact tests are growing in importance. Martin Fowler gave the following definition:
"An integration contract test is a test at the boundary of an external service verifying that it meets the contract expected by a consuming service...