aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorPavel Paroulek <pavel.paroulek@orange.com>2019-06-08 13:37:14 +0200
committerPavel Paroulek <pavel.paroulek@orange.com>2019-06-08 13:37:14 +0200
commit23874dc27b9fbccb7c160aac0ae65f5b94c4af54 (patch)
treedbbd9d18bbc56d319afc1b6976b0885bac3dd706 /src/main/java
parent139cd0b480e40fe11c5aeb24789c7fe61161b38b (diff)
Adding types of attributes
Change-Id: I099d6b836080e90a624f075c7f12895114a496b3 Issue-ID: AAI-531 Signed-off-by: Pavel Paroulek <pavel.paroulek@orange.com>
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/onap/aai/graphgraph/reader/BasicSchemaReader.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/org/onap/aai/graphgraph/reader/BasicSchemaReader.java b/src/main/java/org/onap/aai/graphgraph/reader/BasicSchemaReader.java
index a52a297..1c58550 100644
--- a/src/main/java/org/onap/aai/graphgraph/reader/BasicSchemaReader.java
+++ b/src/main/java/org/onap/aai/graphgraph/reader/BasicSchemaReader.java
@@ -157,7 +157,6 @@ public class BasicSchemaReader implements SchemaReader {
Introspector introspector = allEntities.get(nodeName);
List<String> properties = introspector.getProperties().stream()
- .filter(p -> !allEntities.containsKey(p))
.sorted()
.collect(Collectors.toList());
@@ -166,7 +165,7 @@ public class BasicSchemaReader implements SchemaReader {
p,
introspector.getPropertyMetadata(p)
.getOrDefault(PropertyMetadata.DESCRIPTION,"no description available"),
- "I don't know", //TODO how to get this information????
+ introspector.getType(p),
introspector.getAllKeys().contains(p),
introspector.getIndexedProperties().contains(p),
introspector.getRequiredProperties().contains(p))