Posts

All posts (79)

Customizing REST API Error Response in Spring Boot / Spring-Security-OAuth2

Defining error format is important part of REST API design.

Spring-Boot and Spring Security provide pretty nice error handling for RESTful APIs out of the box. Although it has to be documented, especially when contract-first approach to API design is used.

It is good idea to follow some common format for error responses. But OAuth2 specification and Spring Boot format may not satisfy those requirements.

Monitoring your application locally with NewReclic

The New Relic Digital Intelligence Platform provides actionable insights to drive digital business results. You can monitor your application and infrastructure performance so you can quickly resolve issues and improve digital customer experiences.

Following instruction should help you to connect your application to NewRelic platform and customize application events sent to the platform.

A thumbnail image

Using Self-Signed Multi-Domain Certificates

Self-signed certificates are usually used for TLS authentication on non-production environments. We’ll discuss here how to generate proper certificate for your server.

A thumbnail image

External Site Monitoring

How did you know that your site is down? From your customers? Then it’s time to start using some external monitoring tool.

The Programmers Oath

A must-see speech by Robert «Uncle Bob» Martin on programmers responsibilities in digital world and 9 principles every programmer should follow («The Coders’ Code»).

A thumbnail image

Logging Policy

There are different points of view on how logging levels should be used in code. I will share mine.

My assumption is: «There should be no errors in logs when everything is fine.»

logo   Never miss a story, subscribe to our newsletter