Explicitly looks for the type for both "bundlecache" and "bundle" when determining which type of payload structure the incoming Octopus JSON matches. We were already looking for the type on the cache model, but not on the single bundle payload.
How can we measure success?
We should parse the JSON into the appropriate model in both cases.
What does this change?
Explicitly looks for the type for both
"bundlecache"
and"bundle"
when determining which type of payload structure the incoming Octopus JSON matches. We were already looking for the type on the cache model, but not on the single bundle payload.How can we measure success?
We should parse the JSON into the appropriate model in both cases.