aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-model
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-model')
-rw-r--r--catalog-model/src/main/java/org/openecomp/sdc/be/model/CatalogUpdateTimestamp.java4
-rw-r--r--catalog-model/src/main/java/org/openecomp/sdc/be/model/Resource.java3
2 files changed, 5 insertions, 2 deletions
diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/CatalogUpdateTimestamp.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/CatalogUpdateTimestamp.java
index 7bcb8aa39a..9abf528e3e 100644
--- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/CatalogUpdateTimestamp.java
+++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/CatalogUpdateTimestamp.java
@@ -26,12 +26,14 @@ import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
+import java.io.Serializable;
+
@Getter
@Setter
@ToString
@AllArgsConstructor
@EqualsAndHashCode
-public class CatalogUpdateTimestamp {
+public class CatalogUpdateTimestamp implements Serializable {
@JsonProperty("previousUpdateTime")
private long previousUpdateTime;
diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/Resource.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/Resource.java
index a75ed9f68b..51623a5bda 100644
--- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/Resource.java
+++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/Resource.java
@@ -19,6 +19,7 @@
*/
package org.openecomp.sdc.be.model;
+import java.io.Serializable;
import java.util.List;
import java.util.Map;
import java.util.Optional;
@@ -37,7 +38,7 @@ import org.openecomp.sdc.be.datatypes.enums.ResourceTypeEnum;
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString
-public class Resource extends Component {
+public class Resource extends Component implements Serializable {
/**
* Please note that more than one "derivedFrom" resource is not currently supported by the app. The first list element is always addressed.