pcwinters / javabank

Native Java bindings for Mountebank

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

javabank Build Status

Native Java bindings for Mountebank

Project Status

Functional but not under active development. I do accept pull requets, though I may not respond to requests for a while.

To install

You'll need to at least include javabank-core. This includes all of the classes which let you build imposters, predicates, and the like. It also handles serialization to and from JSON.

Maven

<dependency>
    <groupId>org.mbtest.javabank</groupId>
    <artifactId>javabank-core</artifactId>
    <version>0.4.7</version>
</dependency>

Gradle

compile 'org.mbtest.javabank:javabank-core:0.4.7'

If you also need a REST client to talk to Mountebank, you can include the javabank-client library. I use unirest as my client of choice. If you already have a rest client in your application, you can save some overhead by continuing to use that instead, though that route will require you to learn a little more about the Mountebank REST API.

Maven

<dependency>
    <groupId>org.mbtest.javabank</groupId>
    <artifactId>javabank-client</artifactId>
    <version>0.4.7</version>
</dependency>

Gradle

compile 'org.mbtest.javabank:javabank-client:0.4.7'

About

Native Java bindings for Mountebank

License:MIT License


Languages

Language:Java 97.8%Language:Shell 2.2%