Code Monkey home page Code Monkey logo

raysinnema / osb-checker-kotlin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from evoila/osb-checker-kotlin

0.0 2.0 0.0 613 KB

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.

Home Page: https://www.evoila.de

License: Apache License 2.0

Kotlin 100.00%

osb-checker-kotlin's Introduction

osb-checker-kotlin

Table of Contents

Description

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.

Getting Started

Build Application

to build the application run {path}/osb-checker-kotlin/gradlew build on linux and MacOS or {path}/osb-checker-kotlin/gradlew.bat build on windows. Afterwards you can find osb-checker-kotlin-1.1.3.jar in osb-checker-kotlin/build/libs.

Basic Run Configuration

The start the basic run configuration create a application.yml file at the same location of the .jar file similar to the example below.

##Define the service broker connection here
config:
  url: http://localhost
  port : 80
  apiVersion: 2.15
  user: user
  password: password

Then call java -jar osb-checker-kotlin-1.1.3.jar on the commandline to start checker. In this configuration the checker will run all tests for every service-plan listed in the catalog. See the chapter Usage for more details about configuring this test-application.

Changes

Changes since v1.0:

  • Added 2.15 feature testing:
  • Added Option to set X-Broker-API-Originating-Identity.
  • Added checks for osb-error-codes in response bodies.
  • Added tests for fetching non existing bindings / provisions.
  • Tests for what happens, when trying to create already existing provisions / bindings.
  • Various improvements of logging such as using names of services and plans instead of id.
  • setting up a custom catalog requires only the id's of the plan and no more additional information. This is gathered from the catalog now.
  • Add Optional test for Dashboard URLs.
  • Restructuring of binding test:
  • All plans in the catalog are now tested for invalid binding attempts.
  • Too reduce runtime invalid and valid binding tests use the same provision for testing instead.

HotFix:

  • Contract test uses preemptive authentication to avoid unintentional 401 status codes. Read here for more information.

osb-checker-kotlin's People

Contributors

jostrauss avatar marberger avatar felisiam avatar patsys avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.