aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRam Krishna Verma <ram_krishna.verma@bell.ca>2022-09-09 13:59:24 +0000
committerGerrit Code Review <gerrit@onap.org>2022-09-09 13:59:24 +0000
commitaddf55c8f8be996539deb4aac5a8a520d541bbc1 (patch)
tree668985c5c008a76fa13d0c19be522a2e8206c2dc /plugins
parentee035b7de98a116adbe248409a2fa6faf1f03f56 (diff)
parent01f190043d320af0693a0c31201873754d4242a9 (diff)
Merge "Revert "Fix bug in json schema helper"" into honolulu
Diffstat (limited to 'plugins')
-rw-r--r--plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/main/java/org/onap/policy/apex/plugins/context/schema/json/JsonSchemaHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/main/java/org/onap/policy/apex/plugins/context/schema/json/JsonSchemaHelper.java b/plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/main/java/org/onap/policy/apex/plugins/context/schema/json/JsonSchemaHelper.java
index 02aea150c..4896e5d4a 100644
--- a/plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/main/java/org/onap/policy/apex/plugins/context/schema/json/JsonSchemaHelper.java
+++ b/plugins/plugins-context/plugins-context-schema/plugins-context-schema-json/src/main/java/org/onap/policy/apex/plugins/context/schema/json/JsonSchemaHelper.java
@@ -117,6 +117,6 @@ public class JsonSchemaHelper extends AbstractSchemaHelper {
* @return true if it's a straight pass through
*/
private boolean passThroughObject(final Object object) {
- return (object instanceof Map || object instanceof List);
+ return (object instanceof JsonElement || object instanceof Map || object instanceof List);
}
}