Scala

Common classes relating to core models and utilities (API Documentation)

Usage

sbt
libraryDependencies += "com.kyleu" %% "projectile-lib-scala" % "1.8.2"
Maven
<dependency>
  <groupId>com.kyleu</groupId>
  <artifactId>projectile-lib-scala_2.12</artifactId>
  <version>1.8.2</version>
</dependency>
Gradle
dependencies {
  compile group: 'com.kyleu', name: 'projectile-lib-scala_2.12', version: '1.8.2'
}

Classes

EncryptionUtils

Uses a user-provided secret to encrypt and decrypt arbitrary bytes and strings using AES/ECB/PKCS5Padding

JsonIncludeParser

A JSON parser that supports comments and included external files

Logging

Provides a logging interface that accepts TraceData in its methods and includes the trace ids in its output

TraceData

Used everywhere, TraceData is a common trait that exposes authentication and tracing information for OpenTracing services

TracingService

Provides tracing helpers and methods to wrap access to OpenTracing