DDD

Occurrent – Event Sourcing for the JVM

Posted on

Introduction Occurrent is an event sourcing library for the JVM that I have been working on since the summer of 2020. There are several good options for doing event sourcing on the JVM already (such as Axon and Akka) so why did I set out to create something new? This is what we’re going to […]

java

REST Assured in Kotlin

Posted on

REST Assured is a library for testing HTTP/REST based services on the JVM and version 4.1.0 made this experience even better for Kotlin developers by introducing a new Kotlin API. This blog-post will briefly introduce the new API and hopefully convince you that it’s preferable to the Java API if you’re using Kotlin. But first […]

rest-assured

Logging to Disk with REST Assured

Posted on

A common question that pops up now and again is how to configure REST Assured logs to be written to disk instead of printed to the console. The intention of this blog post is to demonstrate how this can be achieved. But first let’s look at how to use logging in REST Assured: Logging to […]

kotlin

Kystrix – A Kotlin DSL for Hystrix

Posted on

Introduction When using a microservices based architecture you need to protect against other systems/services being down or slow when you interact with them. One common way to achieve this on the JVM is by using the Hystrix library from Netflix. We’re using

devops

Deploying a Haskell Web Service to Kubernetes

Posted on

Haskell is a statically typed purely functional programming language from which other languages such as Scala, Elm, Purescript etc draws a lot of inpsiration. I’ve been interested in learning Haskell for a quite while and I’m still in the beginning of this phase so feel free to point out any obvious flaws in the comment […]

clojure

Connect Cursive to Figwheel REPL

Posted on

I’ve used Intellij for many years so for me Cursive is the natural choice for a Clojure development environment. A couple of months ago I started working on my first project that involved Clojurescript and while Cursive has great support for Clojurescript it wasn’t totally obvious to me how to connect it to a Figwheel […]

java

A case for PowerMock?

Posted on

PowerMock is well-known in the Java community and it’s one of these libraries people have a love-hate relationship with. It’s technically quite complex with custom classloaders, agents, byte-code manipulation and deep integration with test and mock frameworks. Even though I was a part of founding the library (which is now mainly being maintained by the […]

bash

Markdown to PDF in MacOSX

Posted on

I tend to use markdown almost unconsciously when taking notes or expressing thoughts or ideas in a text editor. But on several occasions I’ve had the need to share what I’ve written with a non technical person and handing off markdown to them seems a bit so-so. So after a few of these incidences I […]

devops

Solving access problems after GKE cluster upgrade to v1.3

Posted on

In this post I’m just going to briefly describe a work-around to a problem I encountered when upgrading our Kubernetes cluster on Google Container Engine (GKE). The Problem The problem occurred after upgrading from Kubernetes version 1.2.5 to 1.3.5 on Google Container Engine. After this upgrade I could only perform read operations on the cluster […]

devops

Distributed Coordination with Kubernetes

Posted on

At Parkster we’re in the process of migrating a large monolithic application into smaller services. We’ve already been using Kubernetes for quite a while and the only application that (previously) had not been moved to Kubernetes is the (still quite large) remnants of this monolith. Fully splitting the monolith into its smaller parts is a […]