Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

JFSBulkOperations questions

At https://jazz.net/wiki/bin/view/Main/AppSdkConsumingStorage, in Batching Storage Service Requests, there is an example explaining how to do a POST in a batch request.
1) I am getting back the contents of what I posted.  Is there an option to not get back the contents of what I posted in the response entity?  It is taking a while to parse the content because of that.  I am just interested in status (i.e. whether it succeeded or failed).

At https://jazz.net/wiki/bin/view/Main/JFSBulkOperations, "A batched request may succeed (200), even though individual parts did fail individually"
2) Is there an option to make the status of the main request report that an error occurred when one of the individual parts fails?  This would also save a lot of time taken in the client for parsing.

0 votes


Accepted answer

Permanent link
Wayne, I don't think there is current support for either. For the 2nd question, the question would be what you expect, given that individual parts may fail for different reasons.

For the first question, please file an enhancement request, for the second question, let's first establish what the expected behavior would be. Also, if you have the enhancement for the first question, the second question would be less of a concern (and less ambiguous)
W Diu selected this answer as the correct answer

1 vote

Comments

Thanks for your reply, Simon.

I have submitted https://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.viewWorkItem&id=217357

The reason for the two options is sometimes I am interested in the headers (1), and sometimes I am not (2). I assume that (2) would be faster than (1). As you point out, the option for (1) would make (2) less of a concern.


One other answer

Permanent link
Thanks Wayne, I already commented in the WI, but I think what we should do is provide an option to just get the status codes and headers and another option just to get the status codes. I think that would cover most of your concerns.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,036

Question asked: Jul 11 '12, 10:53 a.m.

Question was seen: 3,670 times

Last updated: Jul 11 '12, 3:00 p.m.

Confirmation Cancel Confirm