diff options
author | Jim Hahn <jrh3@att.com> | 2021-02-17 16:07:33 -0500 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2021-02-18 07:08:43 -0500 |
commit | 4e05982e36aa66b83fa0ee44b9631412442c3969 (patch) | |
tree | bb31502de569df19f1f6d1882f7b1bd89962982f /examples/examples-onap-bbs/src | |
parent | f0e8b6d9e32f55d464aed55c5bb79081bb16306f (diff) |
Replace GsonXxxAdapters
The GsonXxxAdapters were removed from the models Serialization classes
and replaced with type adapters from common. Modified the code to refer
to the new adapters.
Without this fix, examples-onap-vcpe will not compile. Could that be
the cause of the apex-pdp standalone issue, POLICY-3066?
Allow TypeAdapter in lieu of JsonSerializer/Deserializer adapters in
config files.
Note: examples-ona-bbs refers to the following, which were removed
several releases ago (during the actor re-write?):
- appclcm.util.Serialization$RequestAdapter & Serialization$ResponseAdapter
Issue-ID: POLICY-2905
Change-Id: Ia57e0346343614cbd4a1cffd9c8393f207284244
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'examples/examples-onap-bbs/src')
-rw-r--r-- | examples/examples-onap-bbs/src/main/resources/examples/config/ONAPBBS/NomadicONTPolicyModel_config.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/examples-onap-bbs/src/main/resources/examples/config/ONAPBBS/NomadicONTPolicyModel_config.json b/examples/examples-onap-bbs/src/main/resources/examples/config/ONAPBBS/NomadicONTPolicyModel_config.json index 1c84dc59e..1f07987d1 100644 --- a/examples/examples-onap-bbs/src/main/resources/examples/config/ONAPBBS/NomadicONTPolicyModel_config.json +++ b/examples/examples-onap-bbs/src/main/resources/examples/config/ONAPBBS/NomadicONTPolicyModel_config.json @@ -25,7 +25,7 @@ "jsonAdapters": { "Instant": { "adaptedClass": "java.time.Instant", - "adaptorClass": "org.onap.policy.controlloop.util.Serialization$GsonInstantAdapter" + "adaptorClass": "org.onap.policy.common.gson.InstantAsMillisTypeAdapter" }, "APPC_LCM_REQUEST": { "adaptedClass": "org.onap.policy.appclcm.LcmRequest", |