diff options
author | Tomasz Golabek <tomasz.golabek@nokia.com> | 2019-08-22 11:21:04 +0200 |
---|---|---|
committer | Piotr Darosz <piotr.darosz@nokia.com> | 2019-08-22 11:10:26 +0000 |
commit | 3bdedab365bf7dbc2288c988e24a97ed4823d864 (patch) | |
tree | b728cf08a8bc3aabd3e255811021b6de26539837 /catalog-model/src/main/java/org | |
parent | e558a6469df40ba7c7aca8cdf81cacd703cd4b0b (diff) |
unit tests - catalog-model
Additional junit tests
Change-Id: I9952933895ba22114fb0bf19a51e54f1a232c8f3
Issue-ID: SDC-2326
Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
Diffstat (limited to 'catalog-model/src/main/java/org')
3 files changed, 7 insertions, 7 deletions
diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/Schema.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/Schema.java index 978ac5f19d..794b775eee 100644 --- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/Schema.java +++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/Schema.java @@ -20,16 +20,10 @@ package org.openecomp.sdc.be.model; -import java.util.List; -import java.util.Map; - /** * Schema allows to create new types that can be used along TOSCA definitions. */ public class Schema { - private String derivedFrom; - private List<PropertyConstraint> constraints; - private Map<String, PropertyDefinition> properties; private PropertyDefinition property; public PropertyDefinition getProperty() { diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/UploadNodeFilterPropertyInfo.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/UploadNodeFilterPropertyInfo.java index ea94ca23e4..c5f5b2f790 100644 --- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/UploadNodeFilterPropertyInfo.java +++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/UploadNodeFilterPropertyInfo.java @@ -42,7 +42,7 @@ public class UploadNodeFilterPropertyInfo { return values; } - public void setValue(List<String> values) { + public void setValues(List<String> values) { this.values = values; } } diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/ui/model/UiCombination.java b/catalog-model/src/main/java/org/openecomp/sdc/be/ui/model/UiCombination.java index 29fee14e97..c9a94ce77a 100644 --- a/catalog-model/src/main/java/org/openecomp/sdc/be/ui/model/UiCombination.java +++ b/catalog-model/src/main/java/org/openecomp/sdc/be/ui/model/UiCombination.java @@ -18,11 +18,17 @@ package org.openecomp.sdc.be.ui.model; +import com.google.common.annotations.VisibleForTesting; + public class UiCombination { String name; String description; + @VisibleForTesting + UiCombination() { + } + public UiCombination(String name, String description) { this.name = name; this.description = description; |