[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: RE: [bt-spec] Deferred BTP Issue 108 : Participant and serviceidentification
Issue 108 was deferred-on-submission, but concerns a possible bug, so should be addressed.
Concerning the main issue - identifying enrolled inferiors in a cohesion, I think we have all we need, with one or two possible omissions/tweaks. if the initiator/terminator end creates a cohesion, and then creates atoms as immediate subordinates, then it can put the atom context on an invocation, and thus directly knows which is which.
with a propagated cohesion context: On an upcoming enrol, there already is a unambiguous identifier (the inferior identifier). This is visible to the cohesions terminator, on INFERIOR_STATUSES etc. If the terminator can work out which bit of application work this belongs to, it has the unique handle to it. So how to ensure that it can make the link The enrol could come associated with some application message (e.g. it is the only ENROL in the soap header, and the soap body contains the bid/quote/reservation details etc.). The application can then know that the inferior so enrolled (identified by its identifier) is doing the confirm/cancel for that work. Note that this association is strictly part of the application protocol (or the application+btp protocol, not part of btp. ( In fact the SOAP binding does say that a single enrol in the header is associated to the body - an argument can be made that this is wrong and should be left to the app. pcol and not included in the binding.) OR The enrol could carry an inferior name qualifier, which by some convention known to the applications allows the app work and the enrollment to be linked. I don't believe there is any need or capability in making this guaranteed unique, though it probably would be often unique. It would be things like "Acme taxis", "BA 23+UA 658", "ABN AMRO:hp option". The point is it must be meaningful to the application, and this more or less precludes it being unique -(think peoples' names, versus their id numbers) The application message could carry a field that was known to be in the ENROL - this could be the "inferior name", but the identifier would probably be more use, precisely because it is known to be unambiguous. (In fact, I'm not so sure the inferior name is any use on thinking this through). This is clearly an application [protocol] responsibility - the identifier becomes a parameter on their message. All those are possible with what we already have in the text. The possible improvements are: there is no statement that an ENROL can be directly associated with an application message unless it is a related-group with context-reply. It ought to be possible to associate them directly, with a naked enrol in the header (for example) - if the address usage makes this feasible. BUT, since this association is really an application matter, it can be argued that we don't need to say anything, as it is already implicit. If the address usage means that context-reply *must* be used to send the enrol back in association with the app msg (i.e. the Superior address is not the same as the applications, but they need to be sent together), then it is possible there will be more than one context-reply sent back, which means one (at least) must have a completion flag meaning "not-completed" - which isn't a valid value at the moment. In fact, the description of CONTEXT_REPLY currently mis-uses "completed" in this case, to mean (effectively) incomplete. So,
I've put in a proposed solution (included in 0.9.2.4, 0.9.3) to add "incomplete"
as a value for the completion-status of CONTEXT_REPLY.
Other
clarifications are probably best considered as review comments, especially on
the model (or the primer)
Peter
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC