scala-keystone-client


License

License

MIT
Categories

Categories

Scala Languages CLI User Interface KeY Data Data Formats Formal Verification
GroupId

GroupId

pt.tecnico.dsi
ArtifactId

ArtifactId

scala-keystone-client_2.13
Last Version

Last Version

0.11.0
Release Date

Release Date

Type

Type

jar
Description

Description

scala-keystone-client
scala-keystone-client
Project URL

Project URL

https://github.com/ist-dsi/scala-keystone-client
Project Organization

Project Organization

pt.tecnico.dsi
Source Code Management

Source Code Management

https://github.com/ist-dsi/scala-keystone-client

Download scala-keystone-client_2.13

How to add to project

<!-- https://jarcasting.com/artifacts/pt.tecnico.dsi/scala-keystone-client_2.13/ -->
<dependency>
    <groupId>pt.tecnico.dsi</groupId>
    <artifactId>scala-keystone-client_2.13</artifactId>
    <version>0.11.0</version>
</dependency>
// https://jarcasting.com/artifacts/pt.tecnico.dsi/scala-keystone-client_2.13/
implementation 'pt.tecnico.dsi:scala-keystone-client_2.13:0.11.0'
// https://jarcasting.com/artifacts/pt.tecnico.dsi/scala-keystone-client_2.13/
implementation ("pt.tecnico.dsi:scala-keystone-client_2.13:0.11.0")
'pt.tecnico.dsi:scala-keystone-client_2.13:jar:0.11.0'
<dependency org="pt.tecnico.dsi" name="scala-keystone-client_2.13" rev="0.11.0">
  <artifact name="scala-keystone-client_2.13" type="jar" />
</dependency>
@Grapes(
@Grab(group='pt.tecnico.dsi', module='scala-keystone-client_2.13', version='0.11.0')
)
libraryDependencies += "pt.tecnico.dsi" % "scala-keystone-client_2.13" % "0.11.0"
[pt.tecnico.dsi/scala-keystone-client_2.13 "0.11.0"]

Dependencies

compile (4)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.13.5
pt.tecnico.dsi : scala-openstack-common-clients_2.13 jar 0.10.0
io.circe : circe-parser_2.13 jar 0.13.0
com.beachape : enumeratum-circe_2.13 jar 1.6.1

test (2)

Group / Artifact Type Version
ch.qos.logback : logback-classic jar 1.2.3
org.scalatest : scalatest_2.13 jar 3.2.7

Project Modules

There are no modules declared in this project.

scala-keystone-client license

Scaladoc Latest version

Build Status Codacy Badge Codacy Badge BCH compliance

A pure functional Scala client for Openstack Keystone implemented using Http4s client.

Supported endpoints:

Unsupported endpoints (we accept PRs :)):

Latest scaladoc documentation

Install

Add the following dependency to your build.sbt:

libraryDependencies += "pt.tecnico.dsi" %% "scala-keystone-client" % "0.0.0"

We use semantic versioning.

Usage

import scala.concurrent.ExecutionContext.Implicits.global
import cats.effect._
import org.http4s.client.blaze.BlazeClientBuilder
import pt.tecnico.dsi.openstack.keystone.KeystoneClient

object Example extends IOApp {
  override def run(args: List[String]): IO[ExitCode] = {
    BlazeClientBuilder[IO](global).resource.use { implicit httpClient =>
      for {
        client <- KeystoneClient.fromEnvironment()
        projects <- client.projects.list().compile.toList
        _ = println(projects.mkString("\n"))
      } yield ExitCode.Success
    }
  }
}

License

scala-keystone-client is open source and available under the MIT license.

pt.tecnico.dsi

Técnico Lisboa - DSI

Versions

Version
0.11.0
0.10.1
0.10.0
0.9.2