Comprehensive Guide for SonarQube with Quality Gate for Jenkins
Configuring JaCoCo code coverage Maven plugin org.jacoco jacoco-maven-plugin 0.7.9 com/swayam/demo/springbootdemo/rest/** com/swayam/demo/springbootdemo/rest/config/** com/swayam/demo/springbootdemo/rest/entity/** **/RestFulMicroserviceApplication.class prepare-agent ${jacoco.test.unit.dataFile}...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on January 28, 2018 ·
9 mins read
Mapping Entity relationships with JPA annotations
We will look at some practical examples of how to wire in Entity relationships using...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on November 05, 2017 ·
5 mins read
How Spring-JPA sucks big time
Ok, so all I am trying to do is save a new Entity into the...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on November 04, 2017 ·
5 mins read
Maven plugin for docker: embedding a Spring Boot application
We will take an example of how to use a Maven plugin for docker to...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on November 01, 2017 ·
2 mins read
Accessing docker on a tcp port for non-root users
Well, it seems that running docker for non-root users is trivial. You can just add...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on November 01, 2017 ·
1 min read
JPA: Creating EntityManager without persistence.xml
For JPA to work, we need to define a persistence.xml inside META-INF. I always found...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on October 29, 2017 ·
2 mins read
Apache httpclient: Reading SSL with self-signed certificates
When we try to access SSL sites secured with self-signed certificates using apache httpclient, we...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on October 28, 2017 ·
1 min read
Tomcat 8: SSL configuration with self-signed certificate
Download and unpack a Tomcat8 distribution. Lets say the location is /usr/local/tomcat8. First, we will...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on October 28, 2017 ·
1 min read
Creating a Java 8 Stream from unbounded data using Spliterator
Problem Statement I have a large XML file. I would like to read it, and...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on July 16, 2016 ·
6 mins read
Building a REST Server with Spring MVC
We would like to build a REST server with Spring MVC. It should be very...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on April 07, 2016 ·
3 mins read