playse4

Implementation of SE4 in Play

License

License

GroupId

GroupId

com.beamly
ArtifactId

ArtifactId

playse4_2.10
Last Version

Last Version

0.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

playse4
Implementation of SE4 in Play
Project URL

Project URL

https://github.com/beamly/playse4
Project Organization

Project Organization

com.beamly
Source Code Management

Source Code Management

https://github.com/beamly/playse4

Download playse4_2.10

How to add to project

<!-- https://jarcasting.com/artifacts/com.beamly/playse4_2.10/ -->
<dependency>
    <groupId>com.beamly</groupId>
    <artifactId>playse4_2.10</artifactId>
    <version>0.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.beamly/playse4_2.10/
implementation 'com.beamly:playse4_2.10:0.2.0'
// https://jarcasting.com/artifacts/com.beamly/playse4_2.10/
implementation ("com.beamly:playse4_2.10:0.2.0")
'com.beamly:playse4_2.10:jar:0.2.0'
<dependency org="com.beamly" name="playse4_2.10" rev="0.2.0">
  <artifact name="playse4_2.10" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.beamly', module='playse4_2.10', version='0.2.0')
)
libraryDependencies += "com.beamly" % "playse4_2.10" % "0.2.0"
[com.beamly/playse4_2.10 "0.2.0"]

Dependencies

compile (4)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.10.5
com.typesafe.play : twirl-api_2.10 jar 1.1.1
com.typesafe.play : play-server_2.10 jar 2.4.2
com.typesafe.play : play-netty-server_2.10 jar 2.4.2

test (1)

Group / Artifact Type Version
com.typesafe.play : play-test_2.10 jar 2.4.2

Project Modules

There are no modules declared in this project.

playse4 Apache 2 badge

playse4 is an implementation of SE4 in Play.

Setup

Add this to your sbt build (build.sbt):

libraryDependencies += "com.beamly" %% "playse4" % "0.3.0"

Add this to your routes:

->  /service se4.Routes

Mix com.beamly.playse4.PlaySe4Components into your components cake and configure the required dependencies and routes.

Here's a minimal example:

class AppComponents(context: Context)
  extends play.api.BuiltInComponentsFromContext(context)
     with com.beamly.playse4.PlaySe4Components {
  Logger configure context.environment

  val aServiceClass = getClass
  val runbookUrl    = new com.beamly.playse4.RunbookUrl(new URI("https://acme.com/runbook/myapp"))
  val healthchecks  = Nil // TODO: Write at least one healthcheck

  lazy val router = new Routes(httpErrorHandler, se4Routes)
}

Dependencies

  • Scala 2.11.x
  • Play 2.5.x

Licence

Copyright 2015 Dale Wijnand

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

com.beamly

Beamly

Beamly - The Show Never Stops

Versions

Version
0.2.0