From ef776a6eaef6bf16ff63afe00494e20f7299aac3 Mon Sep 17 00:00:00 2001 From: Doris Lam Date: Wed, 11 Jan 2023 17:46:15 -0800 Subject: [PATCH] commitId key added in mms 4.0.15 is causing mdk to choke on json, ignoring --- gradle.properties | 2 +- src/main/java/gov/nasa/jpl/mbee/mdk/json/JacksonUtils.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index e04e3e25b..a66c834a5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -version=5.1.1 +version=5.1.2 group=org.openmbee.mdk.magic descriptorFile=MDR_Plugin_Model_Development_Kit_91110_descriptor.xml magicdDrawGroupName=gov.nasa.jpl.cae.magicdraw.mdk diff --git a/src/main/java/gov/nasa/jpl/mbee/mdk/json/JacksonUtils.java b/src/main/java/gov/nasa/jpl/mbee/mdk/json/JacksonUtils.java index 68abaf479..ac02c2416 100644 --- a/src/main/java/gov/nasa/jpl/mbee/mdk/json/JacksonUtils.java +++ b/src/main/java/gov/nasa/jpl/mbee/mdk/json/JacksonUtils.java @@ -146,7 +146,8 @@ public static Map> parseResponseIntoObjects(File respon //TODO: fill in what to do with the totals } else { - throw new IOException("Unable to properly read this JSON format, check REST responses."); + //throw new IOException("Unable to properly read this JSON format, check REST responses."); + //ignore other keys } } }