Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
project
src
.editorconfig
.gitignore
.scalafmt.conf
CHANGESLOG.md
LICENSE
README.md
build.sbt

README.md

Bandiera Client (Scala)

This is a client for talking to the Bandiera feature flagging service from a Scala application. This client currently only implements the read methods of the v2 Bandiera API.

MIT licensed

Installation

supported scala versions: 2.11.x and 2.12.x

in build.sbt add the dependency:

"com.springernature" %% "bandiera-client-scala" % "0.2.0"

Usage

Create an instance of the bandiera client:

import com.springernature.bandieraclientscala._

val client = new BandieraClient()

Options

you can initialize BandieraClient with:

notice: BandieraClient expects to have an ExecutionContext implicitly available in scope.

  • either import scala.concurrent.ExecutionContext.Implicits.global
  • or provide an ExecutionContext in second constructor params group: new BandieraClient(...)(ec = yourExecutor)

Contributing

If you would like to contribute please make sure that the tests pass and that the code lints successfully.

License

Copyright © 2018 Springer Nature.
Scala Bandiera client is licensed under the MIT License.

You can’t perform that action at this time.