Skip to content

Commit 42ac3cc

Browse files
author
Omari Sopromadze
committed
Merge branch 'development'
2 parents b4cbdc9 + 3f4e63e commit 42ac3cc

5 files changed

Lines changed: 7 additions & 8 deletions

File tree

.travis.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
language: java
22
dist: trusty
3-
sudo: required
3+
os: linux
44
addons:
55
sonarcloud:
66
organization: "coma123"
77
token:
8-
secure: "6e2378f95e57a3e473bf52cdffd4971cdf23073f" # encrypted value of your token
9-
branches:
10-
- development
11-
8+
secure: "6e2378f95e57a3e473bf52cdffd4971cdf23073f"
129
script:
1310
# the following command line builds the project, runs the tests with coverage and then execute the SonarCloud analysis
1411
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar -Dsonar.projectKey=coma123_Spring-Boot-Blog-REST-API

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![Build Status](https://travis-ci.com/coma123/Spring-Boot-Blog-REST-API.svg?branch=development)](https://travis-ci.com/coma123/Spring-Boot-Blog-REST-API) [![Sonarcloud Status](https://sonarcloud.io/api/project_badges/measure?project=coma123_Spring-Boot-Blog-REST-API&metric=alert_status)](https://sonarcloud.io/dashboard?id=coma123_Spring-Boot-Blog-REST-API)
2+
13
# Spring Boot, MySQL, Spring Security, JWT, JPA, Rest API
24

35
Build Restful CRUD API for a blog using Spring Boot, Mysql, JPA and Hibernate.

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
sonar.branch=development
1+
sonar.branch.name=development
22
sonar.sources=src/main/

src/main/java/com/sopromadze/blogapi/exception/ResourceNotFoundException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
public class ResourceNotFoundException extends RuntimeException {
1010
private static final long serialVersionUID = 1L;
1111

12-
private ApiResponse apiResponse;
12+
private transient ApiResponse apiResponse;
1313

1414
private String resourceName;
1515
private String fieldName;

src/main/java/com/sopromadze/blogapi/exception/ResponseEntityErrorException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
public class ResponseEntityErrorException extends RuntimeException {
88
private static final long serialVersionUID = -3156815846745801694L;
99

10-
private ResponseEntity<ApiResponse> apiResponse;
10+
private transient ResponseEntity<ApiResponse> apiResponse;
1111

1212
public ResponseEntityErrorException(ResponseEntity<ApiResponse> apiResponse) {
1313
this.apiResponse = apiResponse;

0 commit comments

Comments
 (0)