This post will demonstrate generating test data using junit-quickcheck. It will focus on practical examples, rather than the theory behind property based testing.
This is part 7 of the series called “Functional Java by Example”. The example I’m evolving in each part of the series is some kind of “feed handler” which processes documents. We’ve already dealt with exceptional situations before, but we’re going to take care of them, more ehm,…functionally — as data.
In this blog post, I will walk you through the process up starting support cases at Red Hat. Including examples of what we did to solve our case. However, these blog posts might still help you when starting support cases at other companies. Our case One of the cases we have started is a case regarding a bug in JBoss … Lees verder How to solve a support case at Red Hat with success
March 12th 2019 a new vendor neutral foundation was created: the CDF! CDF is founded by Cloudbees and Google. For now the project has Jenkins (including the ‘jenkins-x’ project), Spinnaker (Netflix) and Tekton (kubernetes / google) on board and many companies as founding members. It was announced as definitive at FOSDEM in februari. Some background on continuous delivery … Lees verder The CDF is here! Why a continuous delivery foundation?
So, you decided to setup your own Kubernetes cluster on some old pc or Raspberry Pi you’ve just got laying around. Great! Your own personal private Kubernetes cluster just for you to experiment with, just because you don’t want to use Minikube. The basics The first thing you do is search the internet for the documentation on how to install … Lees verder Your own private Kubernetes cluster at home
When I explained a piece of code to a colleague during a code review, I realized I had inadvertently implemented a readers-writer lock. So, I threw the code out, replacing it by the ReadWriteLock from java. This article is about that thrown out code. I updated the method names and comments to reflect the readers-writer lock as opposed to the … Lees verder Readers-writer lock using java 5’s condition variables
This is part 6 of the series called “Functional Java by Example”. The example I’m evolving in each part of the series is some kind of “feed handler” which processes documents. In previous part we tried to make our functions as pure possible by moving as much of the side-effects, such as IO, to the outside of the system. Now … Lees verder Functional Java by Example | Part 6 – Functions as Parameters
This is part 5 of the series called “Functional Java by Example”. In previous part we stopped mutating our documents and returned copies of the data. Now, we need to move some I/O away.
This is part 4 of the series called “Functional Java by Example”. In previous part we talked a bit about side effects and I’d like to elaborate a bit more about how we can prevent having our data manipulated in unexpected ways by introducing immutability into our code.
In my previous blog about WebFlux ‘Spring WebFlux annotation based‘, I discussed the annotation based reactive programming model for Spring WebFlux. In this blog I will use the example project introduced then and adapt it to the functional programming model. The example project we have serves the names of planets in our solar system, optionally applying a filter, in plain … Lees verder Spring WebFlux functional based