-
Proposal:
Hide
Include the atomicityGroup id in adjacent responses within a JSON Batch response.
Show
Include the atomicityGroup id in adjacent responses within a JSON Batch response.
-
Resolution:
Show
https://www.oasis-open.org/committees/download.php/60365/odata-json-format-v4.01-wd02-2017-03-24.docx
When we introduced the JSON format for a batch request we included a property, atomicityGroup, for grouping together requests within the batch that had to be executed atomically, and required that all such requests be adjacent. However that information is lost in the response; if the client wants to know which succeeded or failed as a group (i.e., they want to look for the request that caused a group of atomic requests to fail) they have to remember which requests were associated with which other requests. This is hard for a generic library to track and violates our principle that responses should be able to be fully interpreted without knowing the request that generated it.
The service has the information for the atomicity group, and must already handle the requests as a group, but the service currently has no way to convey this to the client. It makes sense to have the service return responses with the same atomicityGroup adjacent to one another, including the atomicityGroup identifier, to make it easier for the client to associate requests within a group.
{"report":{"apdex":0,"isInitial":true,"journeyId":"01f96fdc-d14f-476c-bdd2-147c4acc2f3e","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":4603.099999904633,"redirectCount":0,"resourceLoadedEnd":4549.599999904633,"resourceLoadedStart":1379.0999999046326,"resourceTiming":[{"duration":1002.5999999046326,"initiatorType":"link","name":"https://issues.oasis-open.org/s/3edeca31ab9ba77980aae0809fbe7121-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/0a4716d29b2d5b1bdcdb168b4efc119e/_/download/contextbatch/css/_super/batch.css","startTime":1379.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1379.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2381.699999809265,"responseStart":0,"secureConnectionStart":0},{"duration":1002.5999999046326,"initiatorType":"link","name":"https://issues.oasis-open.org/s/7d2823769c2e7b66e860863fe879b7f8-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/9aebb1c0aaa4c36289529757ec9dbb54/_/download/contextbatch/css/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&richediton=true","startTime":1379.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1379.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2382.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":1002.3000001907349,"initiatorType":"link","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/8.0.5/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.css","startTime":1379.7999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1379.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2382.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":1015.1999998092651,"initiatorType":"link","name":"https://issues.oasis-open.org/s/645acc233eb869f48a571293b8358a7d-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:global-static-adgs/jira.webresources:global-static-adgs.css","startTime":1380,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1380,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2395.199999809265,"responseStart":0,"secureConnectionStart":0},{"duration":1015.1999998092651,"initiatorType":"link","name":"https://issues.oasis-open.org/s/a0dd6509771c1de0667aae5429c04cda-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:global-static/jira.webresources:global-static.css","startTime":1380.1999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1380.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2395.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":1261.3000001907349,"initiatorType":"script","name":"https://issues.oasis-open.org/s/e5479157e7a0c08b005e6522f2f04104-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/0a4716d29b2d5b1bdcdb168b4efc119e/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":1380.3999996185303,"connectEnd":2445.2999997138977,"connectStart":2395.8999996185303,"domainLookupEnd":2395.8999996185303,"domainLookupStart":2395.8999996185303,"fetchStart":1380.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":2447.699999809265,"responseEnd":2641.699999809265,"responseStart":2475.7999997138977,"secureConnectionStart":2420},{"duration":3009.2999997138977,"initiatorType":"script","name":"https://issues.oasis-open.org/s/83514d5d4e8543747b02042eafcdc99c-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/9aebb1c0aaa4c36289529757ec9dbb54/_/download/contextbatch/js/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":1381,"connectEnd":2445.699999809265,"connectStart":2396.5,"domainLookupEnd":2396.5,"domainLookupStart":2396.5,"fetchStart":1381,"redirectEnd":0,"redirectStart":0,"requestStart":2447.8999996185303,"responseEnd":4390.299999713898,"responseStart":2477.2999997138977,"secureConnectionStart":2420.5999999046326},{"duration":1111.4000000953674,"initiatorType":"script","name":"https://issues.oasis-open.org/s/70bb2263e59e7e1f04fbd137c80b895b-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/aae1242f5fc81cc6a5bb8bc963ccda29/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en-US","startTime":1381.0999999046326,"connectEnd":2446.7999997138977,"connectStart":2396.3999996185303,"domainLookupEnd":2396.3999996185303,"domainLookupStart":2396.3999996185303,"fetchStart":1381.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":2448.0999999046326,"responseEnd":2492.5,"responseStart":2481.5,"secureConnectionStart":2421},{"duration":1118.2000002861023,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":1381.2999997138977,"connectEnd":2446.7999997138977,"connectStart":2396.7999997138977,"domainLookupEnd":2396.7999997138977,"domainLookupStart":2396.7999997138977,"fetchStart":1381.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":2448.5,"responseEnd":2499.5,"responseStart":2485.0999999046326,"secureConnectionStart":2421.0999999046326},{"duration":1115.7999997138977,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":1381.5,"connectEnd":2447.5,"connectStart":2397.2999997138977,"domainLookupEnd":2397.2999997138977,"domainLookupStart":2397.2999997138977,"fetchStart":1381.5,"redirectEnd":0,"redirectStart":0,"requestStart":2448.5999999046326,"responseEnd":2497.2999997138977,"responseStart":2482.7999997138977,"secureConnectionStart":2421.5},{"duration":1104.6999998092651,"initiatorType":"script","name":"https://issues.oasis-open.org/s/cda37faab827dbdf305de8efe8282062-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/8.0.5/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.js?locale=en-US","startTime":1381.5999999046326,"connectEnd":2447.5,"connectStart":2397.199999809265,"domainLookupEnd":2397.199999809265,"domainLookupStart":2397.199999809265,"fetchStart":1381.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":2449,"responseEnd":2486.2999997138977,"responseStart":2479.3999996185303,"secureConnectionStart":2421.2999997138977},{"duration":1016.9000000953674,"initiatorType":"link","name":"https://issues.oasis-open.org/s/07245784f53abc49bad9d9d4d36c577a-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/cadc4f20cc5c138dee060d42cf85f220/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":1381.7999997138977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1381.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2398.699999809265,"responseStart":0,"secureConnectionStart":0},{"duration":1180.8000001907349,"initiatorType":"script","name":"https://issues.oasis-open.org/rest/api/1.0/shortcuts/803004/a29179d70fa8562374ee16707692af77/shortcuts.js?context=issuenavigation&context=issueaction","startTime":1381.8999996185303,"connectEnd":2534.5,"connectStart":2486.199999809265,"domainLookupEnd":2486.199999809265,"domainLookupStart":2486.199999809265,"fetchStart":1381.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":2534.7999997138977,"responseEnd":2562.699999809265,"responseStart":2561.699999809265,"secureConnectionStart":2510.0999999046326},{"duration":1044.2000002861023,"initiatorType":"link","name":"https://issues.oasis-open.org/s/f77fd89aa211a76b20e9b0e63564383c-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/4a9288299d147101bf66484f4be48925/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":1428.8999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1428.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2473.0999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":2788.7999997138977,"initiatorType":"script","name":"https://issues.oasis-open.org/s/41525c48ddceeb9b11e54085268fc285-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/4a9288299d147101bf66484f4be48925/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":1429.0999999046326,"connectEnd":4178.699999809265,"connectStart":4130.39999961853,"domainLookupEnd":4130.39999961853,"domainLookupStart":4130.39999961853,"fetchStart":1429.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":4178.799999713898,"responseEnd":4217.89999961853,"responseStart":4210.199999809265,"secureConnectionStart":4154.199999809265},{"duration":3093.9000000953674,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":1435.2999997138977,"connectEnd":4499.099999904633,"connectStart":4449.699999809265,"domainLookupEnd":4449.699999809265,"domainLookupStart":4449.699999809265,"fetchStart":1435.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":4499.199999809265,"responseEnd":4529.199999809265,"responseStart":4526.89999961853,"secureConnectionStart":4474.599999904633},{"duration":3090.2000002861023,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":1459.3999996185303,"connectEnd":4522.5,"connectStart":4473.89999961853,"domainLookupEnd":4473.89999961853,"domainLookupStart":4473.89999961853,"fetchStart":1459.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":4522.599999904633,"responseEnd":4549.599999904633,"responseStart":4548.199999809265,"secureConnectionStart":4497.89999961853},{"duration":1591.0999999046326,"initiatorType":"xmlhttprequest","name":"https://issues.oasis-open.org/rest/webResources/1.0/resources","startTime":2800.5,"connectEnd":4357.799999713898,"connectStart":4295.89999961853,"domainLookupEnd":4295.89999961853,"domainLookupStart":4295.89999961853,"fetchStart":2800.5,"redirectEnd":0,"redirectStart":0,"requestStart":4360.699999809265,"responseEnd":4391.599999904633,"responseStart":4390.799999713898,"secureConnectionStart":4319.799999713898}],"threshold":1000,"fetchStart":0,"domainLookupStart":1179,"domainLookupEnd":1224,"connectStart":1224,"connectEnd":1308,"secureConnectionStart":1249,"requestStart":1309,"responseStart":1366,"responseEnd":1460,"domLoading":1371,"domInteractive":4684,"domContentLoadedEventStart":4684,"domContentLoadedEventEnd":4753,"domComplete":5885,"loadEventStart":5885,"loadEventEnd":5887,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"80a0a02ab47369","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":125,"dbReadsTimeInMs":31,"dbConnsTimeInMs":37,"applicationHash":"4d4040e0714d65b7fffa4801569d014c0b16eaa9","experiments":[]}}
Resolved as proposed 2017-5-18