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

Specifying parameters for tests #3

Closed mattmcneeney closed 5 years ago

mattmcneeney commented 5 years ago

Hey all,

In README.md, the example application.yml shows how the parameters key can be specified for different plans:

  parameters:
     plan-id-1-here:
        parameter1 : 1
        parameter2 : foo
      plan-id-2-here:
        parameter1 : 2
        parameter2 : bar

However, under the parameters section, I can see:

provisionParameters:
    plan-id-here:
      DB-name: db-name

and

bindingParameters:
    plan-id-here:
      key : value

From playing around, it seems like provisionParameters and bindingParameters works, rather than parameters. It might be worth making this clearer in the example config.

Thanks!

joStrauss commented 5 years ago

Thank you, for bringing that up!

I corrected it in commit b90bfbed3f1bb4b87b09a157f5709ab8ce292ab5