profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/jrudolph/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Johannes Rudolph jrudolph Lightbend Freiburg, Germany https://virtual-void.net

jrudolph/akka-http-scala-js-websocket-chat 330

An example app that integrates akka-http and scala-js to implement a websocket chat

jrudolph/bootpgm 16

Demonstration of a Windows Boot Program using Window's Native API

jrudolph/better-future-exceptions 12

A POC for better exception reporting for futures

jrudolph/akka-graal 8

Testing Graal VM AOT compilation for Akka

jrudolph/akka-http-workshop 4

Source code and instructions for the akka-http tutorial at bobkonf 2016 in Berlin

jrudolph/android-plugin 2

An sbt plugin for Android development in Scala

jrudolph/bit-extractors 2

Scala extractors for pattern matching values from bits

jrudolph/akka 1

Akka Project

danielwegener/spray 0

A suite of scala libraries for building and consuming RESTful web services on top of Akka: lightweight, asynchronous, non-blocking, actor-based, testable

jrudolph/akka-grpc 0

Akka gRPC

push eventjrudolph/akkaserverless-java-sdk

Johannes Rudolph

commit sha 0a3a939365aea5c662b61db4dec921d8ae852deb

fix ScalaPbAny

view details

push time in 2 days

push eventjrudolph/akkaserverless-java-sdk

Johannes Rudolph

commit sha 9178d1cf73888cf83f36c88f7ebef9ea9cb6347f

chore: setup Scala TCK and implement Action TCK check

view details

push time in 2 days

pull request commentlightbend/akkaserverless-java-sdk

[WIP] feat: implement Scala TCK checks

The basic setup for the Scala TCK now works and the TCK action is already implemented.

jrudolph

comment created time in 2 days

push eventjrudolph/akkaserverless-java-sdk

Johannes Rudolph

commit sha 409e5b760a4d4eb1290df2bc3eecd7b8b33bc491

chore: when resolving entity references use proto package instead of java package

view details

Johannes Rudolph

commit sha becbda0928b57e00828e5249feaf7e842f71872a

chore: change value entity state type

view details

Johannes Rudolph

commit sha 86c353c99b7c4a5c0d5a6c5b131779a84da91f69

chore: setup Scala TCK and implement Action TCK check

view details

push time in 2 days

push eventjrudolph/akkaserverless-java-sdk

Johannes Rudolph

commit sha 6150aecf315fae806346ef63400755f64feda071

chore: setup Scala TCK and implement Action TCK check

view details

Johannes Rudolph

commit sha ee4434a0ded80c79e97f85fdfebab716c0fdf212

chore: when resolving entity references use proto package instead of java package

view details

Johannes Rudolph

commit sha 20de1d505929e761e66ad3e4dab1530f5725d1e5

chore: change value entity state type

view details

push time in 2 days

push eventjrudolph/akkaserverless-java-sdk

Johannes Rudolph

commit sha b689bb3ce1bf296bbac855ead716b2bd0aa4f6c6

chore: change value entity state type

view details

push time in 2 days

push eventjrudolph/akkaserverless-java-sdk

Renato Cavalcanti

commit sha 03d6484dd686b7fcbbce20dbc35b4956e5a893bd

feat(scalasdk): replicated entity codegen (#574) * feat(scalasdk): codegen for replicated entities * back to boolean flag and if/elses

view details

Arnout Engelen

commit sha 880f840f16afd07a78eab49abedd45367fe0425d

chore(codegen): split some utils in 'java' and 'scala' variants (#615) Should also fix some errors on master due to parallel merges

view details

Arnout Engelen

commit sha db95339be7f724ade77c0c0d3e03f019f45900ec

Rename 'Handler' to 'Router' (#612)

view details

Arnout Engelen

commit sha 293576f77431571c583bfb8b2abebe7e8e75d9b9

fix(codegen-java): support outer classes in typeName (#618)

view details

Johan Andrén

commit sha b768c5d9d7aa611d91d5ab1ac609f7813b6b4750

fix: (re)-introduce action testkit support for streaming commands #590

view details

Renato Cavalcanti

commit sha b49e6b5b5b052b8c88daebe52195eb1aaa6bb03a

chore: assert replicated files for scala get generated (#621)

view details

Arnout Engelen

commit sha ea7e4d12001af7167ef257d356f5694b0b8ba981

feat(codegen-java): 'external' value entity state types (#620) * wip * wip * feat(codegen-java): 'external' value entity state types Fixes #614

view details

Johan Andrén

commit sha f9de0a609dce40a21f4bf05571b4d2c7c3b432b9

chore: bump protoc compiler to latest available (#623)

view details

Renato Cavalcanti

commit sha 4255806931d70fc7f05e55a5cdd4eaa4cd8a99b6

chore: wrap java replicated types impl and avoid extra conversions (#627)

view details

Arnout Engelen

commit sha df04ba3d2676bd5eeb2e3c69c3ff3d679e68f4d3

feat(codegen): protect against naming clashes (#622) By using the FQN instead of an import, but only if there is an actual clash. Could be even more nice/fancy, but I think it fixes #437

view details

Johannes Rudolph

commit sha ec334707df15033017d2602e63013cc6311eb3f3

fix: correctly resolve entity/services against proto package name (#629)

view details

Renato Cavalcanti

commit sha 3b271de996143271557af052a8da60cfbec4cad6

feat(scalasdk): replicated entities examples for Scala (#613)

view details

Renato Cavalcanti

commit sha 501b19625eb8cea04b968e490342aa092429a6d9

chore: mention sbt instead of maven in Scala docs (#633)

view details

Renato Cavalcanti

commit sha dbb4ac2e9b2e2cb70a928e48c5db29e5b1114de0

docs(scalasdk): shopping cart sample for replicated entities docs (#632)

view details

Johan Andrén

commit sha 698a1fe3ac336095f97a91efa0ec88087342ea32

docs(scalasdk): Event sourced entity docs (#631)

view details

Patrik Nordwall

commit sha 7add8727a491e72cef38bd91a27d8645df48dc1d

docs: Scala Replicated Entity docs (#635)

view details

Patrik Nordwall

commit sha e08af33e38681a0fad1ef964267c42f3893871a7

feat: getGrpcClient in integration TestKit, #568 (#606) * getGrcpClient AkkaServerlessTestKit * it's testKit, not testkit * use host port * bug: closed, not close() * bug: Materializer creation

view details

Enno Runne

commit sha 3af03429a500cd60129fd3441c5a3fe39a550a4b

chore: label PRs by touched file location (#634)

view details

Patrik Nordwall

commit sha 1671c3df176e76553aa25c92726a2eff7206681c

docs: Add Quickstart for Views (#601) * Remove view and update integration test in java-customer-registry-quickstart * Add Quickstart for Views * update integration tests

view details

Patrik Nordwall

commit sha d5ea583e982af328336583d911e0a26bc66dae26

feat: move getGrpcClient to ActionContext, #617 (#637) * because we don't want to encourage async (or even worse blocking) calls in other components * we don't have async effect in other components

view details

push time in 2 days

PR opened lightbend/akkaserverless-java-sdk

chore: when resolving entity references use proto package instead of java package

Fixes #625.

Unfortunately, I have not yet managed to write proper tests for this so far. This is a bug fix in model building but we do not have any full round-trip ModelBuilding tests and I haven't managed to set those up with reasonable effort.

+2 -2

0 comment

1 changed file

pr created time in 2 days

create barnchjrudolph/akkaserverless-java-sdk

branch : fix-scala-package-resolution

created branch time in 2 days

issue commentakka/akka-http

Incorrect SSL session for first request on a connection

So, this is with client-side TLS authentication and you don't get the right header on the Akka server-side?

brharrington

comment created time in 2 days

delete branch jrudolph/akkaserverless-java-sdk

delete branch : codegen-scala-compilation-tests

delete time in 2 days

push eventlightbend/akkaserverless-java-sdk

Johannes Rudolph

commit sha 59476f2d16c5b63b68a3540fc6bffc60ca437dcc

chore: create codegenScalaCompilationTest module for quick turnaround codegen checking (#664)

view details

push time in 2 days

PR merged lightbend/akkaserverless-java-sdk

chore: create codegenScalaCompilationTest module for quick turnaround codegen checking as-framework

Also a preliminary for the Scala TCK checks to make sure basic code generation produces compilable output.

It basically checks the same things as the scripted tests but improves the ReflectiveCodeGen build setup in a way that can be used for the Scala TCK as well.

Refs #564

+62 -2

0 comment

2 changed files

jrudolph

pr closed time in 2 days

push eventjrudolph/akkaserverless-java-sdk

Johannes Rudolph

commit sha 24c9c4e6f287bc2a17025192abc1ceb3249a5e7b

fix formatting

view details

push time in 2 days

PR opened lightbend/akkaserverless-java-sdk

chore: create codegenScalaCompilationTest module for quick turnaround codegen checking

Also a preliminary for the Scala TCK checks to make sure basic code generation produces compilable output.

It basically checks the same things as the scripted tests but improves the ReflectiveCodeGen build setup in a way that can be used for the Scala TCK as well.

Refs #564

+62 -2

0 comment

2 changed files

pr created time in 2 days

push eventjrudolph/akkaserverless-java-sdk

Johannes Rudolph

commit sha 727548f25e5908e2e1b5c27757121cff2a1188fd

chore: create codegenScalaCompilationTest module for quick turnaround codegen checking

view details

push time in 2 days

issue commentakka/akka-http

Incorrect SSL session for first request on a connection

Which JDK is that? TLS implementations are quite different between versions.

brharrington

comment created time in 2 days

issue commentakka/akka-http

Incorrect SSL session for first request on a connection

Thanks, @brharrington. I guess this is about the client side?

brharrington

comment created time in 2 days

push eventjrudolph/akkaserverless-java-sdk

Johannes Rudolph

commit sha e0cea74a42a2cbb3febe5854fe7df991ce60f344

chore: convert ValueEntity codegen to new scheme

view details

push time in 4 days

push eventjrudolph/akkaserverless-java-sdk

Johannes Rudolph

commit sha 8bb8de196b1be7c1373d913c518fb83b41b44e04

chore: convert ValueEntity codegen to new scheme

view details

push time in 4 days

delete branch jrudolph/akkaserverless-java-sdk

delete branch : 656-use-better-import-for-actions

delete time in 4 days

push eventlightbend/akkaserverless-java-sdk

Johannes Rudolph

commit sha 92af5356383cfe6fe16e77e49a5b1599227e778d

chore: cleanup imports

view details

Johannes Rudolph

commit sha 4c8697a4d1e7cd5ecca9ac0a018e57c85af94931

chore: simplify creation of FullyQualifiedNames

view details

Johannes Rudolph

commit sha fdb6822cbe8e7a6f393bfdb25def61fbcca1424f

chore: convert ActionService codegen to new scheme Refs #656

view details

push time in 4 days

push eventjrudolph/akkaserverless-java-sdk

Johannes Rudolph

commit sha 60aa2690589946ba8253f0d3443cc5c8f4b9be18

chore: convert ActionService codegen to new scheme Refs #656

view details

push time in 4 days

issue closedakka/akka-http

Enhanced messaging for IllegalResponseException

Currently if a client receives a bad response (IE: invalid status code) the exception summary does not give any insight into what about the response caused the exception to be thrown. In the case of a bad status code, the summary results in Invalid Response Status Code. Proposing the inclusion of any details pertaining to the response including status code, headers and payload that are available when this exception is thrown.

Example of "0" status code:

import akka.actor.ActorSystem
import akka.http.scaladsl.model.{ContentTypes, HttpEntity, HttpRequest, IllegalResponseException, StatusCodes}
import akka.http.scaladsl.settings.{ClientConnectionSettings, ConnectionPoolSettings, ParserSettings}
import akka.http.scaladsl.Http
import akka.util.ByteString
import scala.concurrent.Await
import scala.concurrent.duration._
import scala.util.{Failure, Try}
implicit val system: ActorSystem = ActorSystem()
// define custom status code:
val LeetCode = StatusCodes.custom(777, "Custom Status Code", "Using custom status code", isSuccess = false, allowsEntity = false)
val Wat = StatusCodes.custom(0, "Custom Status Code", "Using custom status code", isSuccess = false, allowsEntity = false)
// add custom method to parser settings:
val parserSettings = ParserSettings.forClient(system).withCustomStatusCodes(LeetCode, Wat)
val clientConSettings = ClientConnectionSettings(system).withParserSettings(parserSettings)
val clientSettings = ConnectionPoolSettings(system).withConnectionSettings(clientConSettings)
println()
List(LeetCode, Wat).foreach { code =>
  val request = HttpRequest(uri = s"http://localhost:8081/, entity = HttpEntity.Strict(ContentTypes.`application/json`, ByteString.fromString(s"""{"status":${code.intValue()}}""")))
  val response = Http().singleRequest(request, settings = clientSettings)
  println(s"Running for Status Code: $code")
  Try(Await.result(response, 5.seconds)) match {
    case Failure(e: IllegalResponseException) =>
      println(s"Detail: ${e.info.detail}")
      println(s"Summary: ${e.info.summary}")
      println(s"Header Name: ${e.info.errorHeaderName}")
    case s => println(s)
  }
  println()
  
/**  
Running for Status Code: 777 Custom Status Code
Success(HttpResponse(777 Custom Status Code),HttpEntity.Strict(application/json,0 bytes total),HttpProtocol(HTTP/1.1)))
Running for Status Code: 0 Custom Status Code
Detail: 
Summary: Illegal response status code
Header Name: 
**/
}

closed time in 4 days

notlaW