Jamie Tanna | Software Engineer

  • /now
  • Blog
  • Popular Posts
  • Archives
  • Search
  • Salary History
  • Open Source Projects I Maintain
  • Support Me
  • Hire Me (CV/Resume)

 Article

Setting up GitLab CI for Go projects (2 mins read).

Featured image for sharing metadata for article

How to set up a basic set of automated builds for Go projects on GitLab CI, for modern Go projects.

Wed, 06 Apr 2022 09:36 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #go #gitlab-ci.

 Article

Introducing tiktok-mf2.tanna.dev, for converting TikTok video metadata to Microformats2 (1 mins read).

Featured image for sharing metadata for article

Announcing a hosted service for converting TikTok metadata to a Microformats2 object.

Fri, 01 Apr 2022 21:28 by Jamie Tanna's profile image Jamie Tanna . #tiktok #tiktok-mf2 #indieweb #microformats2.

 Article

Adding a Non-AWS Hosted Custom Domain to an AWS API Gateway without CloudFront (2 mins read).

Featured image for sharing metadata for article

How to set up a domain name for AWS API Gateway for a domain that isn't managed through AWS Route 53.

Fri, 01 Apr 2022 15:37 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #aws.

 Article

Creating a minimal AWS S3 Bucket Policy for deploying with Hugo via hugo deploy. (1 mins read).

Featured image for sharing metadata for article

How to configure an AWS S3 Bucket for hugo deploy with the minimal access required for a role to write objects to.

Wed, 30 Mar 2022 17:17 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #aws #hugo.

 Article

Automagically deploying Architect Framework applications to AWS uisng GitLab CI (3 mins read).

Featured image for sharing metadata for article

How to use GitLab's OpenID Connect support with AWS, to allow deployment using the Architect Framework automagically on GitLab CI.

Wed, 30 Mar 2022 15:17 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #oidc #architect-framework #aws #gitlab #gitlab-ci.

 Article

Avoiding Spring context issues when parallelising @Nested Spring integration tests (3 mins read).

Featured image for sharing metadata for article

Using abstract base classes to reduce risk of Spring context overall issues with Spring (Boot) integration tests.

Tue, 22 Mar 2022 11:44 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #java #spring #spring-boot #testing #tdd.

 Article

Providing a basic implementation of Ruby's ARGF.read in Go (2 mins read).

Featured image for sharing metadata for article

Creating a Go helper method to read from stdin or a file, inspired by Ruby's ARGF.read method.

Tue, 22 Mar 2022 11:22 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #go #ruby.

 Article

Integration Testing Your Spring WebClients with Wiremock (4 mins read).

Featured image for sharing metadata for article

How to write integration tests using Wiremock, for use with WebClients.

Tue, 22 Mar 2022 10:38 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #java #spring-boot #testing #tdd.

 Article

Accessing the OpenAPI Specification for a Kubernetes Cluster (1 mins read).

Featured image for sharing metadata for article

How to get the OpenAPI specification for your Kubernetes Cluster.

Wed, 16 Mar 2022 18:26 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #kubernetes #openapi.

 Article

Solving ConnectExceptions with the Kubernetes Java ApiClient (1 mins read).

Featured image for sharing metadata for article

How I solved ConnectExceptions in my Kubernetes Java client usage, by moving to cluster mode.

Wed, 16 Mar 2022 17:51 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #kubernetes #java.

 Article

Automagically Auditing GitHub (Actions) Security using OpenSSF Scorecards (6 mins read).

Featured image for sharing metadata for article

How to use the OpenSSF Scorecards GitHub Action to audit your GitHub and GitHub Actions configuration, and a breakdown of some of the issues raised by it.

Tue, 15 Mar 2022 15:03 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #github #github-actions #security.

 Article

Introducing opengraph-mf2 a library, and service opengraph-mf2.tanna.dev, for converting OpenGraph metadata to Microformats2 (3 mins read).

Featured image for sharing metadata for article

Announcing an NPM package and a hosted service for converting OpenGraph metadata to a Microformats2 object.

Mon, 14 Mar 2022 19:20 by Jamie Tanna's profile image Jamie Tanna . #opengraph #opengraph-mf2 #indieweb #microformats2.

 Article

How to fix Failed to load ApplicationContext in Spring (Boot) applications (6 mins read).

Featured image for sharing metadata for article

Some common issues with Spring dependency injection and how to fix them.

Thu, 10 Mar 2022 16:04 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #spring #spring-boot.

 Article

Converting an x5c from a JSON Web Key to a PEM with Node.JS (1 mins read).

Featured image for sharing metadata for article

How to convert a JWK's x5c to a PEM-formatted certificate with Node.JS.

Sun, 06 Mar 2022 11:33 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #nodejs #jwks #jwk #certificates #pem #x509.

 Article

Extracting x5cs from a JSON Web Key Set (JWKS) to PEM files with Node.js (1 mins read).

Featured image for sharing metadata for article

How to extract the full chain of certificates from a JWKS' x5c parameter to files.

Sun, 06 Mar 2022 11:33 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #nodejs #jwks #jwk #certificates #pem #x509.

 Article

Generate a running mock server from an OpenAPI specification using Prism (3 mins read).

Featured image for sharing metadata for article

Using Stoplight's prism tool to run a stubbed server from an OpenAPI specification, for better testing.

Fri, 04 Mar 2022 17:52 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #swagger #openapi.

 Article

Gotcha: checked and unchecked exception handling from Spring WebFlux WebClient (2 mins read).

Featured image for sharing metadata for article

How checked and unchecked exceptions may appear when testing your WebClient code.

Fri, 04 Mar 2022 17:06 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #spring #spring-boot #java #testing.

 Article

Accessing the response body with Spring WebFlux WebClient with onStatus (1 mins read).

Featured image for sharing metadata for article

How to access the body of an (error) response when using WebClient's onStatus method.

Fri, 04 Mar 2022 16:55 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #spring #spring-boot #java.

 Article

Running a command on a visual selection in Vim (1 mins read).

Featured image for sharing metadata for article

How to pipe the text in a visual selection to a command, either to run it, or to replace the text in the seletion.

Thu, 03 Mar 2022 09:35 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #vim #neovim #command-line.

 Article

Updating the CA Certificate bundle in Chef Installations (3 mins read).

Featured image for sharing metadata for article

How to update/add new certificates to the Certificate Authority Certificate Bundle in a Chef Development Kit / Workstation installation.

Wed, 02 Mar 2022 09:59 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #chef.

 Article

Introducing a Go command-line tool for interacting with Micropub servers (1 mins read).

Featured image for sharing metadata for article

Announcing the initial release of micropub, a CLI for interacting with Micropub servers.

Tue, 01 Mar 2022 14:50 by Jamie Tanna's profile image Jamie Tanna . #go #micropub #micropub-go.

 Article

Automagically formatting on save, with Neovim and Language Server Protocol (LSP) (1 mins read).

Featured image for sharing metadata for article

How to use Neovim's Language Server Protocol (LSP) support to autoformat code on a file's save.

Tue, 01 Mar 2022 09:45 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #neovim.

 Article

Gotcha: Segfault when HTTP headers include newlines with Go (2 mins read).

Featured image for sharing metadata for article

Why you may be receiving a segfault when using http.Client with HTTTP headers that include newlines.

Mon, 28 Feb 2022 21:44 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #go.

 Article

Converting Spring Boot Property Variables to Environment Variables with Go (1 mins read).

Featured image for sharing metadata for article

A command-line script to convert a Spring Boot property to an environment variable.

Sat, 26 Feb 2022 21:26 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #go #command-line #spring-boot.

 Article

Pretty Printing JSON Web Tokens (JWTs) on the Command Line using Go (2 mins read).

Featured image for sharing metadata for article

How to easily introspect and pretty print a signed JWT (JWS) or an encrypted JWT (JWE) on the command line using Go.

Sat, 26 Feb 2022 20:54 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #go #command-line #jwt #json #pretty-print.

 Article

Gotcha: Field casing is important when marshalling structs to JSON in Go (2 mins read).

Featured image for sharing metadata for article

Why you may be missing fields from your structs in your Go json.Marshal calls.

Fri, 25 Feb 2022 11:14 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #go #json.

 Article

Testing @Scheduled annotations with Spring (Boot) (2 mins read).

Featured image for sharing metadata for article

How to test your Spring (Boot) scheduling without waiting for hours.

Fri, 25 Feb 2022 09:15 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #spring #spring-boot #tdd.

 Article

Creating a "Manual of Me" (1 mins read).

Featured image for sharing metadata for article

Creating a reference document about how to best collaborate together.

Wed, 23 Feb 2022 20:57 by Jamie Tanna's profile image Jamie Tanna . #manual-of-me #css.

 Article

Pretty Printing JSON on the Command Line with Go (1 mins read).

Featured image for sharing metadata for article

Using Go's JSON module to pretty print JSON objects from the command line.

Mon, 21 Feb 2022 17:18 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #go #json #pretty-print.

 Article

Reading all of stdin on the command-line with Go (1 mins read).

Featured image for sharing metadata for article

How to read the whole of stdin, up to EOF, with Go.

Mon, 21 Feb 2022 17:18 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #go #command-line.

 Article

Exporting a Git repo as an archive (1 mins read).

Featured image for sharing metadata for article

How to export a Git repo as an archive format, such as a .tar.gz or a .zip.

Fri, 18 Feb 2022 14:01 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #git.

 Article

How to interpolate a property inside Spring Security @PreAuthorize / @PostAuthorize (3 mins read).

Featured image for sharing metadata for article

How to use the value of a property in a Spring Security authorization statement.

Thu, 17 Feb 2022 16:35 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #java #spring #spring-boot #spring-security.

 Article

Combining an Audio-only and Video-only MP4 with ffmpeg on the command-line (1 mins read).

How to use ffmpeg to combine two MP4 files, where each file contains audio and video separately.

Thu, 17 Feb 2022 08:54 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #ffmpeg #command-line.

 Article

Adding a Wiretap to a Spring WebFlux WebClient to Log All Request/Response Data (2 mins read).

Featured image for sharing metadata for article

How to log all request/response data from a Spring Webflux WebClient.

Sun, 13 Feb 2022 10:01 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #java #spring-boot #spring.

 Article

Determining if the Spring Boot Application is Running in Debug or Trace Mode (3 mins read).

Featured image for sharing metadata for article

How to determine if your Spring Boot application is running in debug mode, for instance to selectively enable other features of your application.

Sun, 13 Feb 2022 10:01 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #java #spring-boot.

 Article

Simplifying Spring (Boot) ExceptionHandlers by extending ResponseStatusException (1 mins read).

Featured image for sharing metadata for article

How to drive HTTP response status codes from exceptions by extending Spring's ResponseStatusException.

Sat, 12 Feb 2022 09:41 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #java #spring-boot #spring.

 Article

Bundling Multi-File OpenAPI Documents into a Single File (2 mins read).

Featured image for sharing metadata for article

Looking at the options we have for converting a multi-file OpenAPI specification to a single document.

Thu, 10 Feb 2022 11:35 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #openapi #command-line.

 Article

Announcing openapi.tanna.dev, a client-side OpenAPI Viewer (1 mins read).

Featured image for sharing metadata for article

Creating a hosted version of a local and client-side only OpenAPI viewer.

Tue, 08 Feb 2022 22:00 by Jamie Tanna's profile image Jamie Tanna . #openapi.tanna.dev #swagger #openapi.

 Article

Generating Favicons using ImageMagick on the Command-Line (1 mins read).

Featured image for sharing metadata for article

How to generate a multi-size favicon.ico on the command-line using ImageMagick.

Mon, 07 Feb 2022 21:52 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #command-line #imagemagick.

 Article

Please Add a Relevant Publish Time to Blog Posts (2 mins read).

A request to bloggers to not use midnight as the time they publish an article.

Mon, 07 Feb 2022 14:52 by Jamie Tanna's profile image Jamie Tanna . #blogging.

 Article

Excluding Filters When using WebMvcTest (1 mins read).

Featured image for sharing metadata for article

How to exclude specific Filters from running when performing WebMvcTests.

Mon, 07 Feb 2022 10:55 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #java #spring #spring-boot #testing #tdd.

 Article

Capturing HTTP Requests with okhttp's MockWebServer.takeRequest (1 mins read).

Featured image for sharing metadata for article

How to use MockWebServer's takeRequest method to verify that HTTP request(s) are sent correctly.

Mon, 07 Feb 2022 10:44 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #java.

 Article

Integration Testing Your Spring WebClients with okhttp's MockWebServer (5 mins read).

Featured image for sharing metadata for article

How to write integration tests using MockWebServer with Spring Boot, for use with WebClients.

Mon, 07 Feb 2022 10:44 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #java #spring-boot #testing #tdd.

 Article

Generate Plain Old Java Objects (POJOs) from OpenAPI Model Definitions with Gradle (2 mins read).

Featured image for sharing metadata for article

How to generate POJOs really quickly and easily, with no manual work, using the Gradle openapi-generator Plugin.

Sat, 05 Feb 2022 19:29 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #gradle #java #openapi.

 Article

Running Elements API Viewer to Verify Local OpenAPI/Swagger Documents (2 mins read).

Featured image for sharing metadata for article

How to run Elements UI locally to visualise OpenAPI documents.

Thu, 03 Feb 2022 15:26 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #swagger #openapi #cors.

 Article

I don't think you should be logging that? 😳 (12 mins read).

Common pitfalls and dangerous things that you should be watching out for in your log messages.

Thu, 03 Feb 2022 10:35 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #logs.

 Article

Validating a MockMvc Response Has No Content Type (1 mins read).

Featured image for sharing metadata for article

How to validate, in a MockMvc test, whether the response has no content-type nor a body.

Wed, 02 Feb 2022 11:54 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #spring #spring-boot #testing.

 Article

Replacing Text in Vim with the Output of a Command (1 mins read).

Featured image for sharing metadata for article

How to replace text under the cursor with the output of a command.

Tue, 01 Feb 2022 14:42 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #vim #neovim #command-line.

 Article

Integration Testing Your Spring RestTemplates with RestClientTest, using spring-test (8 mins read).

Featured image for sharing metadata for article

How to write integration tests using RestClientTest with Spring Boot, for use with RestTemplate and RestTemplateBuilders.

Tue, 01 Feb 2022 10:40 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #java #spring #spring-boot #testing #tdd.

 Article

Running Swagger UI to Verify Local OpenAPI/Swagger Documents (2 mins read).

Featured image for sharing metadata for article

How to run Swagger UI locally to visualise OpenAPI documents.

Mon, 31 Jan 2022 18:07 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #swagger #openapi #cors.

You're currently viewing page 7 of 17, of 850 posts.

Go to the previous page

Go to the next page

Other links that may be of interest:

  • /slashes
  • Follow This Blog (i.e. via RSS feed)
  • Talks
  • Blogroll
  • Why is my site www.jvt.me?
  • Archives
  • Post Visualisation
  • Manual of Me
  • Typography
  • My name and pronounciation
  • RSVPs
  • Links
  • Post by Kind

This site is part of an IndieWeb Webring πŸ•ΈπŸ’

  • Previous site
  • Next site

Want to get in touch? Drop me an email at  hi@jamietanna.co.uk. I try to get back to everything, if I don't reply in a couple of weeks, feel free to give me a nudge!

You can also check out a list of all the places /elsewhere you can find me.

© 2025 Jamie Tanna. Post content and code snippets licensing is detailed on respective pages, otherwise default to Creative Commons Attribution Non Commercial Share Alike 4.0 International and Apache License 2.0.
Site design released under the MIT License.
Proudly hosted on AWS using S3 + CloudFront, deployed by GitLab CI, and generated by 4a2feb8ddf on Sat, 18 Apr 2020 14:40:29 +0100..