---
title: "Joseph Gan (@bwgjoseph) | Hashnode"
description: "Advocate for better developer's productivity and experience Documenting my learnings and sharing it"
url: "https://hashnode.com/@bwgjoseph"
---

@bwgjoseph

# Joseph Gan

@bwgjoseph · Singapore · Joined July 2021

[Website](https://bwgjoseph.com/)

### [Mastering GitLab Parent‑Child Pipelines: Scalable CI for Multi‑Module Maven Monorepos](https://bwgjoseph.com/mastering-gitlab-parent-child-pipelines-scalable-ci-for-multi-module-maven-monorepos?utm_source=hashnode&utm_medium=feed)

Scalable GitLab CI for Maven monorepos. Learn Parent-Child orchestration, ID-based artifact aggregation, and automated DevSecOps security scans.

14 min read · [bwgjoseph.com](https://bwgjoseph.com/mastering-gitlab-parent-child-pipelines-scalable-ci-for-multi-module-maven-monorepos?utm_source=hashnode&utm_medium=feed)

[Jun 5](https://hashnode.com/posts/mastering-gitlab-parent-child-pipelines-scalable-ci-for-multi-module-maven-monorepos/6a231b61857478689f652760)

### [Spring Security's SecurityContext get unexpectedly cleared in a MockMvc Test](https://bwgjoseph.com/spring-securitys-securitycontext-get-unexpectedly-cleared-in-a-mockmvc-test?utm_source=hashnode&utm_medium=feed)

Background At work, there’s some test written where I wanted to query the database (repository) after mockMvc request has been made to verify the result. This is a very simple illustration of what it looks like. @SpringBootTest @AutoConfigureMockMvc ...

3 min read · [bwgjoseph.com](https://bwgjoseph.com/spring-securitys-securitycontext-get-unexpectedly-cleared-in-a-mockmvc-test?utm_source=hashnode&utm_medium=feed)

[Jun 14, 2025](https://hashnode.com/posts/spring-securitys-securitycontext-get-unexpectedly-cleared-in-a-mockmvc-test/684d27cc0d5d97c6512ef455)

### [Setting up MongoDB with replicas for local development](https://bwgjoseph.com/setting-up-mongodb-with-replicas-for-local-development?utm_source=hashnode&utm_medium=feed)

It's been a long time coming, but I finally came around to set up MongoDB with replicas for local development. TLDR; clone the repository, run docker compose up -d, and you are good to go! If you want to know more, continue to read below. Context Run...

3 min read · [bwgjoseph.com](https://bwgjoseph.com/setting-up-mongodb-with-replicas-for-local-development?utm_source=hashnode&utm_medium=feed)

[Jan 13, 2024](https://hashnode.com/posts/setting-up-mongodb-with-replicas-for-local-development/65a2e07be7b2e1ca11ea5713)

### [Lesson learned while using Taskfile to invoke PowerShell command](https://bwgjoseph.com/lesson-learned-while-using-taskfile-to-invoke-powershell-command?utm_source=hashnode&utm_medium=feed)

Context I recently came across TaskFile and wanted to use it to automate some of my workflows, which underlying invokes PowerShell commands. However, I faced several errors while doing so, and this post is to reflect on it, and hopefully help myself ...

4 min read · [bwgjoseph.com](https://bwgjoseph.com/lesson-learned-while-using-taskfile-to-invoke-powershell-command?utm_source=hashnode&utm_medium=feed)

[Oct 30, 2023](https://hashnode.com/posts/lesson-learned-while-using-taskfile-to-invoke-powershell-command/653fc8c9f7e562dd219a0202)

### [Reclaim disk space used by Docker Desktop (WSL2)](https://bwgjoseph.com/reclaim-disk-space-used-by-docker-desktop-wsl2?utm_source=hashnode&utm_medium=feed)

Problem I was always out of disk space in my C drive, and even though I clear my stuff often, I notice that my space is never reclaimed, instead, it kept going down. I used WizTree to view which file is taking up my disk space, and I noticed this No...

2 min read · [bwgjoseph.com](https://bwgjoseph.com/reclaim-disk-space-used-by-docker-desktop-wsl2?utm_source=hashnode&utm_medium=feed)

[Oct 21, 2023](https://hashnode.com/posts/reclaim-disk-space-used-by-docker-desktop-wsl2/6533f2a59e5ccc064d4bb262)
