Thursday, July 7, 2022

Show HN: PostgreSQL proxy for integration testing things you don't control https://ift.tt/9ZjXm26

Show HN: PostgreSQL proxy for integration testing things you don't control Hi hackers! I recently tried to get a stack of microservices running in a docker-compose sandbox for integration testing using their original (e.g. prod) configuration. This means I didn't know what credentials they'd be using or what database name. So I hacked together a postgresql proxy using an existing project ( https://ift.tt/fhUsqCw ) and simply allow any credentials to connect and make sure the desired database exists before returning control to the caller. Sharing this in the hopes it is useful for someone else. Lucas https://ift.tt/ws0j5PQ July 8, 2022 at 12:12AM

No comments:

Post a Comment

Show HN: RM2000 Tape Recorder, an audio sampler for macOS https://ift.tt/N1Qh04Z

Show HN: RM2000 Tape Recorder, an audio sampler for macOS RM2000 Tape Recorder makes it stupid simple to grab audio samples and organize the...