accessus


License

License

GroupId

GroupId

de.heikoseeberger
ArtifactId

ArtifactId

accessus_2.12
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

accessus
accessus
Project URL

Project URL

https://github.com/hseeberger/accessus
Project Organization

Project Organization

Heiko Seeberger
Source Code Management

Source Code Management

https://github.com/hseeberger/accessus

Download accessus_2.12

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.12.2
com.typesafe.akka : akka-http_2.12 jar 10.0.7
com.typesafe.akka : akka-stream_2.12 jar 2.5.2

test (1)

Group / Artifact Type Version
org.scalatest : scalatest_2.12 jar 3.0.3

Project Modules

There are no modules declared in this project.

Accessus

Provides ways to wrap a route or request-response handler in a new handler which also streams pairs of enriched request and response to an access log sink:

+------------------------------------------------------------------------------------+
|                                                                                    |
|        +-----------+      +-----------+      +-----------+      +-----------+      |
|   +--->○ enrichReq ○----->○   unzip   ○----->○  handler  ○----->○  bcastRes ○--+   |
|   |    +-----------+      +-----○-----+      +-----------+      +-----------+  |   |
|   |                             |                                     |        |   |
○---+                             |                                     |        +-->○
|                                 v                                     |            |
|        +-----------+      +-----○-----+                               |            |
|        | accessLog ○<-----○    zip    ○<------------------------------+            |
|        +-----------+      +-----------+                                            |
|                                                                                    |
+------------------------------------------------------------------------------------+

Contribution policy

Contributions via GitHub pull requests are gladly accepted from their original author. Along with any pull requests, please state that the contribution is your original work and that you license the work to the project under the project's open source license. Whether or not you state this explicitly, by submitting any copyrighted material via pull request, email, or other means you agree to license the material under the project's open source license and warrant that you have the legal authority to do so.

License

This code is open source software licensed under the Apache-2.0 license.

Versions

Version
0.1.0