Update to Shapeshifter specification version 3.1.0#162
Update to Shapeshifter specification version 3.1.0#162tomwetjens merged 2 commits intoshapeshifter:mainfrom
Conversation
Signed-off-by: Tom Wetjens <tom.wetjens@edsn.nl>
|
Als ik kijk naar hoe nu de validatie is geïmplementeerd voor MessageId's en de eigenschap 'unsolicited' dan heb ik paar vragen danwel opmerkingen:
|
You are correct. I will update the UnsolicitedFlexOrderValidator to have the correct backwards compatibility logic.
The main reason everything is in separate validator classes currently, is that we can have different rejection reasons (see
What would you feel is the best course of action? |
Signed-off-by: Tom Wetjens <tom.wetjens@edsn.nl>
Well, breaking changes for version 3 are out of question, I guess. And I think specific rejection reasons are a good reason to have separate validators. But an approach like jakarta validation with a ValidationResult is worth considering for version 4, I would say. |
|
I approve |
| <xs:complexType name="FlexOfferResponseType"> | ||
| <xs:complexContent> | ||
| <xs:extension base="PayloadMessageResponseType"> | ||
| <xs:attribute name="FlexOfferMessageID" type="UUIDType" use="optional"> |
There was a problem hiding this comment.
voor een FlexOfferResponse is het FlexOfferMessageID niet optional.
| <xs:extension base="PayloadMessageResponseType"> | ||
| <xs:attribute name="FlexOfferMessageID" type="UUIDType" use="optional"> | ||
| <xs:annotation> | ||
| <xs:documentation>MessageID of the FlexOffer message this request is based on, if applicable.</xs:documentation> |
There was a problem hiding this comment.
"if applicable" kan weer weg. En er staat "... this request is based on...", maar dat moet zijn "... this response is based on...". Ook bij FlexRequestResponseType staat dit verkeerd.
| <xs:extension base="PayloadMessageResponseType"> | ||
| <xs:attribute name="FlexOrderMessageID" type="UUIDType" use="required"> | ||
| <xs:annotation> | ||
| <xs:documentation>MessageID of the FlexOrder that has just been accepted or rejected.</xs:documentation> |
There was a problem hiding this comment.
Ik vraag me nu af of deze tekst niet in lijn gebracht zou moeten worden met wat er bij FlexRequestResponseType en FlexOfferResponseType staat...
No description provided.