From eaff627ae0bb819b18ba76f381f910c38984f7df Mon Sep 17 00:00:00 2001 From: "Murugan, Vimal" Date: Mon, 11 Nov 2019 21:40:30 +0530 Subject: [PATCH] global map property added --- MVMCore/MVMCore/LoadHandling/MVMCoreLoadObject.h | 3 +++ MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m | 3 +++ 2 files changed, 6 insertions(+) diff --git a/MVMCore/MVMCore/LoadHandling/MVMCoreLoadObject.h b/MVMCore/MVMCore/LoadHandling/MVMCoreLoadObject.h index c8ba157..f167ea7 100644 --- a/MVMCore/MVMCore/LoadHandling/MVMCoreLoadObject.h +++ b/MVMCore/MVMCore/LoadHandling/MVMCoreLoadObject.h @@ -33,6 +33,9 @@ // the response info @property (nullable, strong, nonatomic) NSDictionary *responseInfoMap; +// the global map +@property (nullable, strong, nonatomic) NSDictionary *globalMap; + // any additional parameters @property (nullable, strong, nonatomic) NSDictionary *systemParametersJSON; diff --git a/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m b/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m index db9d151..c8cd23b 100644 --- a/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m +++ b/MVMCore/MVMCore/LoadHandling/MVMCoreLoadRequestOperation.m @@ -367,6 +367,9 @@ // Sets the response info map loadObject.responseInfoMap = [jsonDictionary dict:KeyResponseInfo]; + // Sets the global map + loadObject.globalMap = [jsonDictionary dict:@"GlobalMap"]; + // Update the session timer on a good response. if (loadObject.extendsAppSession) { [[MVMCoreSessionTimeHandler sharedSessionHandler] startSessionTimer];