Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/openservicebrokerapi/osb-checker

An automatic checker to verify an Open Service Broker API implementation against the specification
https://github.com/openservicebrokerapi/osb-checker

cff-wg-service-management osbapi service-broker

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/openservicebrokerapi/osb-checker.svg?branch=master)](https://travis-ci.org/openservicebrokerapi/osb-checker "Travis")

# osb-checker

An automatic checker to verify an Open Service Broker API implementation against the [specification](https://github.com/openservicebrokerapi/servicebroker).

# Project Status

This project should be considered **experimental**. You should validate the results against the released [specification](https://github.com/openservicebrokerapi/servicebroker). 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:

```shell
make
./build/bin/osbchecker.mockbroker
```

## Generate model and mock broker

All the model and mock broker framework will be generated from [swagger.yaml](https://raw.githubusercontent.com/openservicebrokerapi/servicebroker/master/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:

```shell
make autogenerated
```