openservicebrokerapi / osb-checker

An automatic checker to verify an Open Service Broker API implementation against the specification

Home Page:https://github.com/openservicebrokerapi/servicebroker/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

osb-checker

An automatic checker to verify an Open Service Broker API implementation against the specification.

Project Status

This project should be considered experimental. You should validate the results against the released specification. In the case of any discrepancy, the specification should be considered correct.

Usage

Test

  • Firstly, u need to deploy your own service broker to be tested.
  • Modify the config_mock.yaml under test/configs folder.
  • Just run go test -v ./test/ -f configs/config_mock.yaml to start the test job.

Mock broker

This project provides a mock broker as reference implementation for enforcing conformance test, and validated results of this mock broker should be considered more reliable compared with other 3rd party brokers.

For deploying and using this mock broker, you should execute these commands below:

make
./build/bin/osbchecker.mockbroker

Generate model and mock broker

All the model and mock broker framework will be generated from swagger.yaml automatically. Here are some steps for developers to generate them:

  • First developers should make sure your machine has docker installed.

  • Then run one command below:

     make autogenerated

About

An automatic checker to verify an Open Service Broker API implementation against the specification

https://github.com/openservicebrokerapi/servicebroker/

License:Apache License 2.0


Languages

Language:Go 98.2%Language:Shell 0.8%Language:Makefile 0.8%Language:Dockerfile 0.1%