fix esr does not store ssl-cacert to aai error
[aai/esr-server.git] / esr-mgr / src / main / java / org / onap / aai / esr / entity / aai / EsrSystemInfo.java
index b6be9a7..623b645 100644 (file)
  */
 package org.onap.aai.esr.entity.aai;
 
-import java.util.ArrayList;
+import java.io.Serializable;
+import com.google.gson.annotations.SerializedName;
 
-public class EsrSystemInfo {
+public class EsrSystemInfo implements Serializable {
 
-  private ArrayList<AuthInfo> esrSystemInfo;
+    public static final long serialVersionUID = 1L;
 
-  public ArrayList<AuthInfo> getEsrSystemInfo() {
-    return esrSystemInfo;
-  }
+    @SerializedName("esr-system-info-id")
+    private String esrSystemInfoId;
+
+    @SerializedName("system-name")
+    private String systemName;
+
+    @SerializedName("type")
+    private String type;
+
+    @SerializedName("vendor")
+    private String vendor;
+
+    @SerializedName("version")
+    private String version;
+
+    @SerializedName("service-url")
+    private String serviceUrl;
+
+    @SerializedName("user-name")
+    private String userName;
+
+    @SerializedName("password")
+    private String password;
+
+    @SerializedName("system-type")
+    private String systemType;
+
+    @SerializedName("protocol")
+    private String protocol;
+
+    @SerializedName("ssl-cacert")
+    private String sslCassert;
+
+    @SerializedName("ssl-insecure")
+    private Boolean sslInsecure;
+
+    @SerializedName("ip-address")
+    private String ipAddress;
+
+    @SerializedName("port")
+    private String port;
+
+    @SerializedName("cloud-domain")
+    private String cloudDomain;
+
+    @SerializedName("default-tenant")
+    private String defaultTenant;
+
+    @SerializedName("passive")
+    private Boolean passive;
+
+    @SerializedName("remote-path")
+    private String remotePath;
+
+    @SerializedName("system-status")
+    private String systemStatus;
+
+    @SerializedName("resource-version")
+    private String resourceVersion;
+
+    public String getEsrSystemInfoId() {
+        return esrSystemInfoId;
+    }
+
+    public void setEsrSystemInfoId(String esrSystemInfoId) {
+        this.esrSystemInfoId = esrSystemInfoId;
+    }
+
+    public String getSystemName() {
+        return systemName;
+    }
+
+    public void setSystemName(String systemName) {
+        this.systemName = systemName;
+    }
+
+    public String getType() {
+        return type;
+    }
+
+    public void setType(String type) {
+        this.type = type;
+    }
+
+    public String getVendor() {
+        return vendor;
+    }
+
+    public void setVendor(String vendor) {
+        this.vendor = vendor;
+    }
+
+    public String getVersion() {
+        return version;
+    }
+
+    public void setVersion(String version) {
+        this.version = version;
+    }
+
+    public String getServiceUrl() {
+        return serviceUrl;
+    }
+
+    public void setServiceUrl(String serviceUrl) {
+        this.serviceUrl = serviceUrl;
+    }
+
+    public String getUserName() {
+        return userName;
+    }
+
+    public void setUserName(String userName) {
+        this.userName = userName;
+    }
+
+    public String getPassword() {
+        return password;
+    }
+
+    public void setPassword(String password) {
+        this.password = password;
+    }
+
+    public String getSystemType() {
+        return systemType;
+    }
+
+    public void setSystemType(String systemType) {
+        this.systemType = systemType;
+    }
+
+    public String getProtocol() {
+        return protocol;
+    }
+
+    public void setProtocol(String protocol) {
+        this.protocol = protocol;
+    }
+
+    public String getSslCassert() {
+        return sslCassert;
+    }
+
+    public void setSslCassert(String sslCassert) {
+        this.sslCassert = sslCassert;
+    }
+
+    public Boolean getSslInsecure() {
+        return sslInsecure;
+    }
+
+    public void setSslInsecure(Boolean sslInsecure) {
+        this.sslInsecure = sslInsecure;
+    }
+
+    public String getIpAddress() {
+        return ipAddress;
+    }
+
+    public void setIpAddress(String ipAddress) {
+        this.ipAddress = ipAddress;
+    }
+
+    public String getPort() {
+        return port;
+    }
+
+    public void setPort(String port) {
+        this.port = port;
+    }
+
+    public String getCloudDomain() {
+        return cloudDomain;
+    }
+
+    public void setCloudDomain(String cloudDomain) {
+        this.cloudDomain = cloudDomain;
+    }
+
+    public String getDefaultTenant() {
+        return defaultTenant;
+    }
+
+    public void setDefaultTenant(String defaultTenant) {
+        this.defaultTenant = defaultTenant;
+    }
+
+    public Boolean getPassive() {
+        return passive;
+    }
+
+    public void setPassive(Boolean passive) {
+        this.passive = passive;
+    }
+
+    public String getRemotePath() {
+        return remotePath;
+    }
+
+    public void setRemotePath(String remotePath) {
+        this.remotePath = remotePath;
+    }
+
+    public String getSystemStatus() {
+        return systemStatus;
+    }
+
+    public void setSystemStatus(String systemStatus) {
+        this.systemStatus = systemStatus;
+    }
+
+    public String getResouceVersion() {
+        return resourceVersion;
+    }
+
+    public void setResouceVersion(String resouceVersion) {
+        this.resourceVersion = resouceVersion;
+    }
 
-  public void setEsrSystemInfo(ArrayList<AuthInfo> esrSystemInfo) {
-    this.esrSystemInfo = esrSystemInfo;
-  }
 }