Open lasrinnil opened 3 years ago
I have tested all AC's on S/U. In postman under my folder there are calls witch corresponds witch the AC's of this issue. Please feel free to use them to test with :)
VR445 is not working, if using 1 or 5 as OperationType then no error is detected
VR449 is same problem, but with anything other than 0 as ChargeType it parses
Description
The goal of this story is to produce events describing which rules failed during input validation. So we in the future can handle these events accordingly.
This story only focus on rules witch are applicable to all operations (Create / Update / Stop)
Test
All rule implementations must be covered by unit tests. All rejection events are expected to be tested on our T realm.
Rules
VR.444Operation type must not be UnknownVR.448Charge type must be setAcceptance criteria
VR.444if Operation type is Unknown. a rejection event describing this must be found on the temporary post office service bus subscription.VR.448if Charge type is missing. a rejection event describing this must be found on the temporary post office service bus subscription.