Commit 8a86fc5d authored by Mohamed Khalil Labidi's avatar Mohamed Khalil Labidi
Browse files

Add serializable implementation to all NC dependant classes

parent aabe213f
......@@ -6,6 +6,7 @@ import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import java.io.Serializable;
import java.util.Objects;
/**
......@@ -14,7 +15,7 @@ import java.util.Objects;
@AllArgsConstructor
@NoArgsConstructor
@Embeddable
public class Api {
public class Api implements Serializable {
/*
Possible values of providerName for particular CSPs:
AWS EC2 = "aws-ec2"
......
......@@ -7,6 +7,7 @@ import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.ElementCollection;
import javax.persistence.Embeddable;
import java.io.Serializable;
import java.util.Map;
import java.util.Objects;
......@@ -16,7 +17,7 @@ import java.util.Objects;
@AllArgsConstructor
@NoArgsConstructor
@Embeddable
public class CloudConfiguration {
public class CloudConfiguration implements Serializable {
@Column(name = "NODE_GROUP")
@JsonProperty("nodeGroup")
private String nodeGroup = null;
......
......@@ -6,6 +6,7 @@ import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import java.io.Serializable;
import java.util.Objects;
/**
......@@ -14,7 +15,7 @@ import java.util.Objects;
@AllArgsConstructor
@NoArgsConstructor
@Embeddable
public class CloudCredential {
public class CloudCredential implements Serializable {
@Column(name = "USER")
@JsonProperty("user")
private String user = null;
......
......@@ -6,6 +6,7 @@ import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Embeddable;
import java.io.Serializable;
import java.util.Objects;
/**
......@@ -14,7 +15,7 @@ import java.util.Objects;
@AllArgsConstructor
@NoArgsConstructor
@Embeddable
public class GeoLocation {
public class GeoLocation implements Serializable {
@Column(name = "CITY")
@JsonProperty("city")
private String city = null;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment