blended.samples.spray.helloworld

A sample Spray based HTTP endpoint for the blended container.

License

License

GroupId

GroupId

de.wayofquality.blended.samples
ArtifactId

ArtifactId

blended.samples.spray.helloworld
Last Version

Last Version

2.0-RC10
Release Date

Release Date

Type

Type

bundle
Description

Description

blended.samples.spray.helloworld
A sample Spray based HTTP endpoint for the blended container.
Project Organization

Project Organization

https://github.com/woq-blended

Download blended.samples.spray.helloworld

Dependencies

compile (7)

Group / Artifact Type Version
de.wayofquality.blended : blended.spray.api jar 2.0-RC10
de.wayofquality.blended : blended.spray jar 2.0-RC10
de.wayofquality.blended : blended.akka jar 2.0-RC10
org.scala-lang : scala-library jar 2.11.8
org.osgi : org.osgi.core jar 4.3.0
org.osgi : org.osgi.compendium jar 4.3.0
org.slf4j : slf4j-api jar 1.7.12

test (5)

Group / Artifact Type Version
org.scalatest : scalatest_2.11 jar 2.2.4
io.spray : spray-testkit_2.11 jar 1.3.2
org.mockito : mockito-core jar 1.9.5
org.slf4j : slf4j-log4j12 jar 1.7.12
junit : junit Optional jar 4.11

Project Modules

There are no modules declared in this project.

Blended - a Scala based Integration framework

Project Mission

Blended provides a Scala based integration framework to easily develop component based applications on top of Akka, AkkaHttp, JMS and other communication libraries.

The Blended runtime components provide a well defined environment for the user defined components and provides common services for component configuration, security services standard integrations to an enterprise level infrastructure, such as messaging services or authentication and authorization servers.

The Blended management framework allows to monitor and manage a large number of distributed framework containers without sacrificing the stability of the environment when the management infrastructure is unavailable.

The Blended test framework allows to execute functional cross-component tests mimicking the final container environment with minimal effort.

The Blended integration test framework uses docker to create and deploy docker images from within the build process and supports the developer in creating integration tests for the final container.

Blended is the backend for a distributed retail communication software. All components and services not directly related to the actual business components are licensed under the Apache 2.0 license.

Currently blended is in it’s 3rd generation and in production since ~2014.

Blended Management UI

A web front end the Blended Management Framework built with Scala.Js.

Blended example container and integration tests

Some packaging examples and simple integration flows complete with packaging and integration tests.

Build from source

We use Mill build tool to build blended.

As we have some shared modules between Scala and Scala.Js, node and yarn is also required on the developer machine.

After cloning the repository, simply navigate to the checkout directory and use the bundled mill script ./mill, which is a copy of lefou/millw.

We currently target Java 8 and Java 11 with Scala 2.13 and Scala.js 1.

Selected build targets / commands

mill command Description

mill __.publishLocal

Build and publish all publishable artifacts into a local ivy2 repository.

mill __.publishM2Local

Build and publish all publishable artifacts into a local Maven2 repository.

mill blended[2.13.2].__.osgiBundle

Build all OSGi bundles for Scala 2.13.2

mill blended[2.13.2].__.testCached

Run all tests for Scala 2.13.2

mill -j 0 -k __.testCached

Run all unit test in parallel and keep mill going even a test failure occured

mill scoverage.htmlReportAll

Generate a HTML Coverage report based on previously ran tests

IDE support

We use IntelliJ in our project. You can generate IntelliJ IDEA project files with mill with the following commandline:

mill mill.scalalib.GenIdea/idea

Download artifacts from Maven Central

You can download released artifacts including binary and source JARs from Maven Central.

License

Blended ist published under the Apache License, Version 2.0

Contribute

Why not just clone our repo, dig around and send us some pull requests …​.

Supporters

JetBrains is kindly supporting our project with full developer licenses of their product stack.

Feedback

We are keen to know what you think about Blended. What are your use cases, your wishes?

If you spot something that makes you want to pull your hair, let us know ;)

de.wayofquality.blended.samples

WoQ - Way of Quality GmbH

Versions

Version
2.0-RC10
2.0-RC8
2.0-RC7
2.0-RC6
2.0-RC5
2.0-RC4
2.0-RC3
2.0-RC2
2.0-RC1