Categories
Automation coding Containers

Debug a Java Spring Boot application in Docker from IntelliJ

You have a Java Spring Boot application built with Gradle in a Docker container and you need to debug it from your favorite IDE on your host machine (IntelliJ). You can do it by attaching the remote debugger in IntelliJ to your Java application running in Docker. Steps Open port :5005 in the container In […]

Categories
Automation Containers Software

Journey towards Continuous Integration – Part 1

Introduction I am going to write a set of posts that describe what I quickly talked about in the last Docker Tokyo Meetup. Though, this is not going to be focused on Docker only, but rather on all the challenges I found/I’m finding trying to set up the Continuous Integration for my team’s project. Nevertheless, Docker […]

Categories
Automation Software

Improving the development experience: Jupyter for Elasticsearch

I have been asked to extract data from Elasticsearch and I had no clue of what kind of data were stored inside of it. Moreover, there was a lack of documentation and the only thing that could help me were some old Python scripts written by an old colleague. Fortunately, Python is pretty damn good […]

Categories
personal

My last seven months

I started my journey at Rakuten in June 2017 and, more precisely, I am Full Stack Engineer working for Rakuten Magazine. It’s a pretty new Web project, so it’s not big and we are very few people: 4 guys focused on Web and API (myself included), and 3 guys on Android/iOS. First huge difference from my […]

Categories
Uncategorized

Unit testing a custom logger in log4j2

In this period I’m upgrading a Spring Boot project from 1.3 –> 1.5 –> 2.0. One of the steps is to get rid of log4j 1.x. In the project there is custom logger, but unfortunately its unit test with log4j2 is no more working and we receive the following error: mockito wanted but not invoked, […]

Categories
Uncategorized

Unit testing a static custom logger in Spring Boot and log4j2

Last time I wrote a post about how to unit test a custom logger with log4j2. Today I migrated another custom logger from log4j 1.x to log4j 2.x, but this time it was encapsulated in a Spring Boot component as a static class attribute. Custom logger You have a simple custom logger public class SimpleCustomLogger { […]

Categories
personal

I am moving to Japan after 7 years in France

After 7 years spent in France I am officially moving to Tokyo, Japan, end of May 2017. I am finally going to join my wife, Sarah, after almost 5 years of long and hard distant relationship. Now, before to start with the burocracy madness and to move/sell/close/sign things, I am sitting here at home, in […]

Categories
craftsmanship events

Global Day of Coderetreat 2016, Sophia Antipolis, France

We did it! The Global Day of Coderetreat in Sophia Antipolis has been a great success! My first coderetreat ever, and I played the role of the organizer and facilitator. It’s an event that I started to organize in August and I have been lucky to find the support of the University of Nice-Sophia Antipolis and my […]

Categories
craftsmanship events

Back from SoCraTes France 2016

My second time in a Software Craftsmanship and Testing (SoCraTes) conference and, as always, it has been an awesome experience. The self-made agenda SoCraTes is a non-conference, which means that there’s no predefined agenda, but instead it is created every day by the participants (the image above is the agenda of day 2). Everybody is […]

Categories
craftsmanship events

My talk at RivieraDev 2016