diff options
author | Seshu-Kumar-M <seshu.kumar.m@huawei.com> | 2017-09-19 14:17:29 +0800 |
---|---|---|
committer | Seshu-Kumar-M <seshu.kumar.m@huawei.com> | 2017-09-19 14:43:19 +0800 |
commit | b9915f004b39638fb69d5384b546e64703d4e9b0 (patch) | |
tree | c312560e25b7a24bf84d45490426b57b85edf698 /mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/serviceinstancebeans | |
parent | 522b32658d06b054cefbfb33b56ac47178de9c88 (diff) |
Delete unwanted code
IssueId: SO-56
Change-Id: I3c407cc2b2c0abeb6e315d6b0886edf35d099fd3
Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
Diffstat (limited to 'mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/serviceinstancebeans')
4 files changed, 2 insertions, 193 deletions
diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/serviceinstancebeans/E2EAdditionalParamForNs_.java b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/serviceinstancebeans/E2EAdditionalParamForNs_.java deleted file mode 100644 index 57c4c8b229..0000000000 --- a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/serviceinstancebeans/E2EAdditionalParamForNs_.java +++ /dev/null @@ -1,64 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * ONAP - SO - * ================================================================================ - * Copyright (C) 2017 Huawei Technologies Co., Ltd. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= - */ - -package org.openecomp.mso.apihandlerinfra.serviceinstancebeans; - -import java.util.HashMap; -import java.util.Map; - -import org.codehaus.jackson.annotate.JsonIgnore; -import org.codehaus.jackson.annotate.JsonIgnoreProperties; -import org.codehaus.jackson.annotate.JsonProperty; - -@JsonIgnoreProperties(ignoreUnknown = true) -public class E2EAdditionalParamForNs_ { - - @JsonProperty("E2EService.param1") - private String e2EServiceParam1; - @JsonProperty("E2EService.param2") - private String e2EServiceParam2; - @JsonIgnore - private Map<String, Object> additionalProperties = new HashMap<>(); - - public String getE2EServiceParam1() { - return e2EServiceParam1; - } - - public void setE2EServiceParam1(String e2EServiceParam1) { - this.e2EServiceParam1 = e2EServiceParam1; - } - - public String getE2EServiceParam2() { - return e2EServiceParam2; - } - - public void setE2EServiceParam2(String e2EServiceParam2) { - this.e2EServiceParam2 = e2EServiceParam2; - } - - public Map<String, Object> getAdditionalProperties() { - return this.additionalProperties; - } - - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - -} diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/serviceinstancebeans/E2ELocationConstraints_.java b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/serviceinstancebeans/E2ELocationConstraints_.java deleted file mode 100644 index 9491e007cc..0000000000 --- a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/serviceinstancebeans/E2ELocationConstraints_.java +++ /dev/null @@ -1,45 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * ONAP - SO - * ================================================================================ - * Copyright (C) 2017 Huawei Technologies Co., Ltd. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= - */ - -package org.openecomp.mso.apihandlerinfra.serviceinstancebeans; - -import java.util.HashMap; -import java.util.Map; - -import org.codehaus.jackson.annotate.JsonAnyGetter; -import org.codehaus.jackson.annotate.JsonAnySetter; -import org.codehaus.jackson.annotate.JsonIgnore; -import org.codehaus.jackson.annotate.JsonIgnoreProperties; - -@JsonIgnoreProperties({ "additionalProperties" }) -public class E2ELocationConstraints_ { - - @JsonIgnore - private Map<String, Object> additionalProperties = new HashMap<>(); - - public Map<String, Object> getAdditionalProperties() { - return this.additionalProperties; - } - - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - -} diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/serviceinstancebeans/E2ENsParameters_.java b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/serviceinstancebeans/E2ENsParameters_.java deleted file mode 100644 index c0cb41f588..0000000000 --- a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/serviceinstancebeans/E2ENsParameters_.java +++ /dev/null @@ -1,66 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * ONAP - SO - * ================================================================================ - * Copyright (C) 2017 Huawei Technologies Co., Ltd. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= - */ - -package org.openecomp.mso.apihandlerinfra.serviceinstancebeans; - -import java.util.HashMap; -import java.util.Map; - -import org.codehaus.jackson.annotate.JsonIgnore; -import org.codehaus.jackson.annotate.JsonIgnoreProperties; -import org.codehaus.jackson.annotate.JsonProperty; - -@JsonIgnoreProperties({ "additionalProperties" }) -public class E2ENsParameters_ { - - @JsonProperty("locationConstraints") - private E2ELocationConstraints_ locationConstraints; - @JsonProperty("additionalParamForNs") - private E2EAdditionalParamForNs_ additionalParamForNs; - @JsonIgnore - private Map<String, Object> additionalProperties = new HashMap<>(); - - public E2ELocationConstraints_ getLocationConstraints() { - return locationConstraints; - } - - public void setLocationConstraints( - E2ELocationConstraints_ locationConstraints) { - this.locationConstraints = locationConstraints; - } - - public E2EAdditionalParamForNs_ getAdditionalParamForNs() { - return additionalParamForNs; - } - - public void setAdditionalParamForNs( - E2EAdditionalParamForNs_ additionalParamForNs) { - this.additionalParamForNs = additionalParamForNs; - } - - public Map<String, Object> getAdditionalProperties() { - return additionalProperties; - } - - public void setAdditionalProperties(Map<String, Object> additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/serviceinstancebeans/E2EParameters.java b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/serviceinstancebeans/E2EParameters.java index 0fe36bb0cf..58d57bc8bd 100644 --- a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/serviceinstancebeans/E2EParameters.java +++ b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/serviceinstancebeans/E2EParameters.java @@ -38,9 +38,8 @@ public class E2EParameters { @JsonProperty("nodeType") private String nodeType; @JsonProperty("segments") - private List<E2ESegment> segments = null; - @JsonProperty("nsParameters") - private E2ENsParameters_ nsParameters; + + @JsonIgnore private Map<String, Object> additionalProperties = new HashMap<>(); @@ -68,21 +67,6 @@ public class E2EParameters { this.nodeType = nodeType; } - public List<E2ESegment> getSegments() { - return segments; - } - - public void setSegments(List<E2ESegment> segments) { - this.segments = segments; - } - - public E2ENsParameters_ getNsParameters() { - return nsParameters; - } - - public void setNsParameters(E2ENsParameters_ nsParameters) { - this.nsParameters = nsParameters; - } public Map<String, Object> getAdditionalProperties() { return additionalProperties; |