From 59be7ffb51674ef1c58b83c80214ef417bc211f3 Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Wed, 5 Aug 2020 17:43:36 -0400 Subject: Fix docker-compose test issues Fix issues running service-topology-operation via docker-compose Issue-ID: SDNC-1310 Change-Id: I5c30c7a07f6baf9f2560b4dc405999abeb0441cf Signed-off-by: Dan Timoney --- .../src/main/java/org/onap/sdnc/apps/ms/gra/data/ConfigServices.java | 3 ++- .../java/org/onap/sdnc/apps/ms/gra/data/OperationalPreloadData.java | 2 +- .../main/java/org/onap/sdnc/apps/ms/gra/data/OperationalServices.java | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'ms/generic-resource-api/src/main/java') diff --git a/ms/generic-resource-api/src/main/java/org/onap/sdnc/apps/ms/gra/data/ConfigServices.java b/ms/generic-resource-api/src/main/java/org/onap/sdnc/apps/ms/gra/data/ConfigServices.java index ca22fff..2c89ed4 100644 --- a/ms/generic-resource-api/src/main/java/org/onap/sdnc/apps/ms/gra/data/ConfigServices.java +++ b/ms/generic-resource-api/src/main/java/org/onap/sdnc/apps/ms/gra/data/ConfigServices.java @@ -11,10 +11,11 @@ import javax.persistence.*; @Table(name="CONFIG_GRA_SERVICES") public class ConfigServices { @Id + @Length(max = 100) + @Column(length = 100) String svcInstanceId; @Lob - @Column(columnDefinition = "clob") String svcData; // Service status fields diff --git a/ms/generic-resource-api/src/main/java/org/onap/sdnc/apps/ms/gra/data/OperationalPreloadData.java b/ms/generic-resource-api/src/main/java/org/onap/sdnc/apps/ms/gra/data/OperationalPreloadData.java index c39e24f..c63926d 100644 --- a/ms/generic-resource-api/src/main/java/org/onap/sdnc/apps/ms/gra/data/OperationalPreloadData.java +++ b/ms/generic-resource-api/src/main/java/org/onap/sdnc/apps/ms/gra/data/OperationalPreloadData.java @@ -39,7 +39,7 @@ public class OperationalPreloadData { private String preloadType; @Lob - @Column(columnDefinition = "clob") + @Column(length=10000) private String preloadData; public OperationalPreloadData() { diff --git a/ms/generic-resource-api/src/main/java/org/onap/sdnc/apps/ms/gra/data/OperationalServices.java b/ms/generic-resource-api/src/main/java/org/onap/sdnc/apps/ms/gra/data/OperationalServices.java index c1d361d..5686c4c 100644 --- a/ms/generic-resource-api/src/main/java/org/onap/sdnc/apps/ms/gra/data/OperationalServices.java +++ b/ms/generic-resource-api/src/main/java/org/onap/sdnc/apps/ms/gra/data/OperationalServices.java @@ -10,10 +10,11 @@ import javax.persistence.*; @Table(name="OPERATIONAL_GRA_SERVICES") public class OperationalServices { @Id + @Length(max = 100) + @Column(length = 100) String svcInstanceId; @Lob - @Column(columnDefinition = "clob") String svcData; // Service status fields -- cgit 1.2.3-korg