diff options
author | Luji7 <lu.ji3@zte.com.cn> | 2017-10-17 20:45:16 +0800 |
---|---|---|
committer | Luji7 <lu.ji3@zte.com.cn> | 2017-10-17 20:45:23 +0800 |
commit | 3e9d483d436e732221b10ffd629b98908a321e6b (patch) | |
tree | f0ff4510e2841d122546dce84ad65b685d8b1e42 | |
parent | 4f4ebfed7fc43e61966934ba1aafb53555e0dc09 (diff) |
ignore unused properties.
Change-Id: I75d98dcf05b5596541fe2b9cf3e1e2b76074a05a
Issue-id: USECASEUI-36
Signed-off-by: Luji7 <lu.ji3@zte.com.cn>
11 files changed, 28 insertions, 4 deletions
diff --git a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/AAIService.java b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/AAIService.java index 45b399b5..09162025 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/AAIService.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/AAIService.java @@ -28,7 +28,7 @@ public interface AAIService { @Headers({ "X-TransactionId: 7777", "X-FromAppId: uui", - "Authorization: QUFJOkFBSQ==", + "Authorization: Basic QUFJOkFBSQ==", "Accept: application/json" }) // @GET("/api/aai-business/v11/customers") @@ -38,7 +38,7 @@ public interface AAIService { @Headers({ "X-TransactionId: 7777", "X-FromAppId: uui", - "Authorization: QUFJOkFBSQ==", + "Authorization: Basic QUFJOkFBSQ==", "Accept: application/json" }) // @GET("/api/aai-business/v11/customers/customer/{global-customer-id}/service-subscriptions/service-subscription/{service-type}/service-instances") @@ -48,7 +48,7 @@ public interface AAIService { @Headers({ "X-TransactionId: 7777", "X-FromAppId: uui", - "Authorization: QUFJOkFBSQ==", + "Authorization: Basic QUFJOkFBSQ==", "Accept: application/json" }) // @GET("/cloud-infrastructure/cloud-regions") @@ -58,7 +58,7 @@ public interface AAIService { @Headers({ "X-TransactionId: 7777", "X-FromAppId: uui", - "Authorization: QUFJOkFBSQ==", + "Authorization: Basic QUFJOkFBSQ==", "Accept: application/json" }) // @GET("/api/aai-business/v11/customers/customer/{global-customer-id}/service-subscriptions") diff --git a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/AAICustomer.java b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/AAICustomer.java index e1135236..e0511e18 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/AAICustomer.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/AAICustomer.java @@ -16,8 +16,10 @@ package org.onap.usecaseui.server.service.lcm.domain.aai.bean; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; +@JsonIgnoreProperties(ignoreUnknown=true) public class AAICustomer { private String globalCustomerId; diff --git a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/AAIServiceSubscription.java b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/AAIServiceSubscription.java index e79c02b9..2218cff3 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/AAIServiceSubscription.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/AAIServiceSubscription.java @@ -16,8 +16,10 @@ package org.onap.usecaseui.server.service.lcm.domain.aai.bean; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; +@JsonIgnoreProperties(ignoreUnknown=true) public class AAIServiceSubscription { private String serviceType; diff --git a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/ServiceInstance.java b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/ServiceInstance.java index 5245d27b..8239ce46 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/ServiceInstance.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/ServiceInstance.java @@ -16,8 +16,10 @@ package org.onap.usecaseui.server.service.lcm.domain.aai.bean; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; +@JsonIgnoreProperties(ignoreUnknown=true) public class ServiceInstance { private String globalCustomerId; diff --git a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/VimInfo.java b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/VimInfo.java index 336481fe..129dcbe1 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/VimInfo.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/VimInfo.java @@ -16,10 +16,12 @@ package org.onap.usecaseui.server.service.lcm.domain.aai.bean; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; +@JsonIgnoreProperties(ignoreUnknown=true) public class VimInfo { private String cloudOwner; diff --git a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/sdc/bean/SDCServiceTemplate.java b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/sdc/bean/SDCServiceTemplate.java index 0c434b4e..e403c9f8 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/sdc/bean/SDCServiceTemplate.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/sdc/bean/SDCServiceTemplate.java @@ -16,10 +16,12 @@ package org.onap.usecaseui.server.service.lcm.domain.sdc.bean; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; +@JsonIgnoreProperties(ignoreUnknown=true) public class SDCServiceTemplate { private String uuid; diff --git a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/sdc/bean/Vnf.java b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/sdc/bean/Vnf.java index 27949d6a..b958e9b2 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/sdc/bean/Vnf.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/sdc/bean/Vnf.java @@ -16,10 +16,12 @@ package org.onap.usecaseui.server.service.lcm.domain.sdc.bean; import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; +@JsonIgnoreProperties(ignoreUnknown=true) public class Vnf { private String uuid; diff --git a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/so/bean/ServiceOperation.java b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/so/bean/ServiceOperation.java index 8a642872..0a523416 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/so/bean/ServiceOperation.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/so/bean/ServiceOperation.java @@ -15,6 +15,9 @@ */ package org.onap.usecaseui.server.service.lcm.domain.so.bean; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; + +@JsonIgnoreProperties(ignoreUnknown=true) public class ServiceOperation { private String serviceId; diff --git a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/vfc/beans/DistributionResult.java b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/vfc/beans/DistributionResult.java index 8d74a576..6e1ce060 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/vfc/beans/DistributionResult.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/vfc/beans/DistributionResult.java @@ -15,6 +15,9 @@ */ package org.onap.usecaseui.server.service.lcm.domain.vfc.beans; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; + +@JsonIgnoreProperties(ignoreUnknown=true) public class DistributionResult { private String status; diff --git a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/vfc/beans/JobStatus.java b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/vfc/beans/JobStatus.java index 2a64b5bd..5eb8d6e8 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/vfc/beans/JobStatus.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/vfc/beans/JobStatus.java @@ -15,6 +15,9 @@ */ package org.onap.usecaseui.server.service.lcm.domain.vfc.beans; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; + +@JsonIgnoreProperties(ignoreUnknown=true) public class JobStatus { private String jobId; diff --git a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/vfc/beans/ResponseDescriptor.java b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/vfc/beans/ResponseDescriptor.java index 2dd5c3da..3b8587e9 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/vfc/beans/ResponseDescriptor.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/vfc/beans/ResponseDescriptor.java @@ -15,6 +15,9 @@ */ package org.onap.usecaseui.server.service.lcm.domain.vfc.beans; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; + +@JsonIgnoreProperties(ignoreUnknown=true) public class ResponseDescriptor { private String status; |