How to use Chef's versioning classes to determine whether a version constraint is matched.
Parsing Encoded JSON Strings on the Command-Line with Ruby (1 mins read).
How to decode an encoded JSON string.
How to improve the tests you've got to validate that Spring Boot's context is set up correctly.
Decrypting Encrypted JSON Web Tokens (JWE) with Ruby (1 mins read).
How to use Ruby to decrypt encrypted JSON Web Token objects.
How to use the Gradle's
toolchain configuration to configure multiple JDKs on your machine.
How to use the
@JsonTest test type in Spring Boot to validate your JSON types correctly serialise/deserialise.
Default Your Tests to run in Parallel (2 mins read).
Discussing the benefits you can achieve by having parallel-by-default.
Writing Better Wiremock Stubs (3 mins read).
How to improve the specificity of Wiremock tests to allow for not clobbering other scenarios, and enabling scalable test runs.
Writing Better Tests (1 mins read).
Announcing a new series of posts about improving the way we write tests.
How to make your Spring Boot services more supportable by migrating to JSON-emitting structured logging.
How to exclude Logback from the classpath when testing your logs using slf4j-test and Maven.
Marking up my Curriculum Vitae with Microformats2 (2 mins read).
Creating a public, metadata-rich Curriculum Vitae / Resume for myself at https://hire.jvt.me.
How to specify the trust permissions for a GitHub project on a Jenkins Multibranch pipeline, when using Job DSL.
Features I Want In My Social Reader (6 mins read).
What sort of functionality do I want in my social reader, so I can follow awesome people's thoughts more easily?
How to get a field with Reflection in Java (1 mins read).
How to use Java's Reflection to get access to a private of a class.
How to match Wiremock's stubs without running an HTTP Server.
How to adapt the Proxy pattern to allow for testing against a versioned API.
Building a Multibranch Pipeline on a Schedule (2 mins read).
A more convenient solution for setting up periodic rebuilds of certain branches in a Jenkins Multibranch pipelines.
Disabling a Multibranch Pipeline using Job DSL (1 mins read).
How to disable all branches of a
MultibranchWorkflowJob with Jenkins Job DSL.
How to upload a given community cookbook from Chef Supermarket to Chef Server, using Berkshelf.
How to create a dependency graph for a given cookbook's dependencies to understand the order to install them in.
How to set up kitchen-ec2 to use an SSH key that isn't available in AWS by amending the
user-data of the created EC2 instance.
How to resolve
Waiting for SSH service when running kitchen-docker.
Setting up a Test Environment for Job DSL Projects (6 mins read).
How to tweak your Job DSL configuration to allow working with test environments, to validate jobs configure correctly.
How to interact with the default branch for a remote repo, as well as update it if needed.
Better Chef Reporting for Automated Pipelines (1 mins read).
How to get better machine-parseable reports for your Chef Pipelines.
How to source your Chef Gem dependencies from your Chef cookbook's
metadata.rb instead of duplicating them between files.
Programatically Determining the Version of a Chef Cookbook (1 mins read).
How to determine a Chef cookbook's version programatically, using Ruby.
How to Use Cookstyle to Autocorrect Style Issues (1 mins read).
How to use the
cookstyle tool with Chef cookbooks to autocorrect style issues.
Ensuring Consistent Code Style with Job DSL Repos (3 mins read).
How to make sure that your Job DSL configuration repos are managed with consistent code style.
Speeding Up Gradle Executions with Parallelisation (2 mins read).
How to make your Gradle builds faster, by taking advantage of parallelisation.
Testing Time with Java (4 mins read).
How to make your Java tests better when dealing with
Announcing my new project, tokens-pls, which allows for easier manual testing with the OAuth2 code flow for Public Clients.
How to use the PKCE extension when using the Ruby library rack-oauth2 as an OAuth2 client.
Determining the (Git) Branch of the Jenkins Pipeline Job (1 mins read).
How to find out what branch the currently executing script has been checked out from.
Encrypting and Decrypting Text with OpenSSL (2 mins read).
How to use
openssl to encrypt text with a shared passphrase.
A worked example of how to use Jenkins Job DSL to set up a standardised pipeline for Java libraries.
How to install Ruby Gems in local development using your
Moving meetup-mf2 and eventbrite-mf2 to Heroku (1 mins read).
Moving my APIs
eventbrite-mf2.herokuapp.com to Heroku-hosted apps.
Autogenerating Postman Collections for IndieAuth Servers (2 mins read).
Creating Postman collections programmatically for a user's IndieAuth server.
Implementing the Refresh Token Grant in my IndieAuth Server (4 mins read).
Announcing support for long-lived refresh tokens as part of my IndieAuth server.
How to add a
javax.servlet.Filter to a Jersey application, built using the AWS Serverless Container for Java.
Writing Environment-Agnostic Functional Acceptance Tests (7 mins read).
How to structure your (Java) functional acceptance tests to make it easier to add environment-specific configuration.
Autogenerating Postman Collections for Micropub Servers (3 mins read).
Creating Postman collections programmatically from a Micropub server's supported configuration.
Introducing two new Java libraries for performing server-driven content negotiation.
Why I use server-driven content negotiation for APIs to allow for versioning and allowing different representations of APIs.
MediaTypes with Spring (1 mins read).
How to compare Spring's
MediaType by ignoring charset or parameters.
Converting X.509 and PKCS#8
.pem file to a JWKS (in Ruby) (2 mins read).
Converting X.509 and PKCS#8 files to JWKS format, using the
Generating a JSON Web Key (JWK) With Ruby (1 mins read).
How to create a new JWK with Ruby.
Creating a Personal IndieAuth Server (6 mins read).
Announcing the release of my personal IndieAuth server, and what I've spent my time on.