diff options
author | lukegleeson <luke.gleeson@est.tech> | 2021-08-30 10:24:30 +0100 |
---|---|---|
committer | lukegleeson <luke.gleeson@est.tech> | 2021-09-03 09:42:02 +0100 |
commit | 008abaee59bb542d5a60e89fa7f4231cecf7bdf5 (patch) | |
tree | 9e0c3468fc62827cf15841fd0813aa5141299f29 /cps-ri/pom.xml | |
parent | 0af60de4fbb3a3e6c828e179c667b173b1539b62 (diff) |
Ensure Leaf value retains Integer type
BUG
GSON.fromJson() is unable to parse numerical values and defaults values to Doubles
Added a datatype conversion which forces Double values which can be Integers to being Integers
Issue-ID: CPS-591
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Change-Id: I72d54ad06823a8755ee407f39104f3edf9a8cc75
Diffstat (limited to 'cps-ri/pom.xml')
-rw-r--r-- | cps-ri/pom.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cps-ri/pom.xml b/cps-ri/pom.xml index 273cb2e72f..9072a52011 100644 --- a/cps-ri/pom.xml +++ b/cps-ri/pom.xml @@ -96,6 +96,10 @@ <groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </dependency>
<!-- T E S T D E P E N D E N C I E S -->
<dependency>
<groupId>org.codehaus.groovy</groupId>
@@ -140,6 +144,7 @@ </dependency>
</dependencies>
+
<build>
<plugins>
<plugin>
|