Skip to content

Commit 143b02a

Browse files
authored
Fix serialization for gson (#41)
* FIX: serialization * UPDATE: pom file
1 parent 64e658f commit 143b02a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.github.ericsson</groupId>
77
<artifactId>eiffel-intelligence-frontend</artifactId>
8-
<version>0.0.9</version>
8+
<version>0.0.10</version>
99
<packaging>war</packaging>
1010

1111

src/main/java/com/ericsson/ei/frontend/model/BackEndInformation.java

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
package com.ericsson.ei.frontend.model;
1818

1919
import com.fasterxml.jackson.annotation.JsonProperty;
20+
import com.google.gson.annotations.SerializedName;
2021
import lombok.*;
2122
import org.springframework.beans.factory.annotation.Value;
2223
import org.springframework.stereotype.Component;
@@ -41,6 +42,7 @@ public class BackEndInformation {
4142

4243
@Value("${ei.useSecureHttpBackend:#{false}}")
4344
@JsonProperty("https")
45+
@SerializedName("https")
4446
private boolean useSecureHttpBackend;
4547

4648
private boolean active;

0 commit comments

Comments
 (0)