summaryrefslogtreecommitdiffstats
path: root/catalog-model/src/main
diff options
context:
space:
mode:
authorTomasz Golabek <tomasz.golabek@nokia.com>2019-08-22 11:21:04 +0200
committerPiotr Darosz <piotr.darosz@nokia.com>2019-08-22 11:10:26 +0000
commit3bdedab365bf7dbc2288c988e24a97ed4823d864 (patch)
treeb728cf08a8bc3aabd3e255811021b6de26539837 /catalog-model/src/main
parente558a6469df40ba7c7aca8cdf81cacd703cd4b0b (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')
-rw-r--r--catalog-model/src/main/java/org/openecomp/sdc/be/model/Schema.java6
-rw-r--r--catalog-model/src/main/java/org/openecomp/sdc/be/model/UploadNodeFilterPropertyInfo.java2
-rw-r--r--catalog-model/src/main/java/org/openecomp/sdc/be/ui/model/UiCombination.java6
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;