evoila / osb-checker-kotlin

This application is a generalized test program for service brokers. It runs rest calls against the defined service broker and checks if it behaves as expected to the service broker API specification. Tests are created dynamically based upon the service broker catalog or custom input by the operator.
https://www.evoila.de
Apache License 2.0
5 stars 6 forks source link

response.body().jsonPath().get("operation") must not be null #19

Closed mattmcneeney closed 5 years ago

mattmcneeney commented 5 years ago

For all asynchronous operations, the test suite seems to require the operation field in the response alongside 202 Accepted. However, according to the spec, this field is not required in the responses:

   ├─ BindingJUnit5 ✔
   │  ├─ runInvalidBindingAttempts() ✔
   │  │  ├─ Provision and in case of a async service broker polling, for later binding ✔
   │  │  │  ├─ Running valid PUT provision with instanceId f2aa026a-3d99-48ec-93bb-f56916aa55b8 for service 33ceba5779bfa320a1ef0694d98069df and plan small id: e8a882786ba9e223187be22c64a8720e ✘ response.body().jsonPath().get("operation") must not be null

This is causing our pipeline to fail. Would it be possible to fix this? Thank you!

chbrinker commented 5 years ago

Hi,

thanks for raising Matt. We will adjust that.

joStrauss commented 5 years ago

Hi, I fixed it in this pull request https://github.com/evoila/osb-checker-kotlin/pull/20

mattmcneeney commented 5 years ago

Thank you!

On Fri, 16 Aug 2019 at 10:48, joStrauss notifications@github.com wrote:

Closed #19 https://github.com/evoila/osb-checker-kotlin/issues/19.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/evoila/osb-checker-kotlin/issues/19?email_source=notifications&email_token=ABXNJTC22PJADRQ6CHA2NA3QEZZXVA5CNFSM4IKKIRA2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOTCZKJ3A#event-2561844460, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXNJTHRUZ7YWKNWTZGTATTQEZZXVANCNFSM4IKKIRAQ .