diff options
Diffstat (limited to 'ms/generic-resource-api/src/main/java')
3 files changed, 5 insertions, 3 deletions
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 |