Ok so we don’t code entirely in the open at the DVLA we do like to share useful libraries and utilities when we can. You can find a list of recent open-source projects below.
AWS
aws-sqs-utility
A command-line utility that provides the ability to read, write and transform messages on a AWS SQS queue. The following queue actions are available: List, Extract, Load, Delete.
sqs-extended-client
A library for managing large AWS SQS message payloads using S3. In particular it supports message payloads that exceed the 256KB SQS limit. It is largely a Javascript version of the Amazon SQS Extended Client Library for Java, although not an exact copy.
serverless-apigateway-log-retention
A serverless framework plugin to control the retention of your ApiGateway access logs and execution logs.
Ruby
simple-symbolize
SimpleSymbolize takes a string and transforms it into a symbol. Why? Because working with symbols in Ruby makes for a good time.
hash_miner
Ever experienced the pain of working with deeply nested hashes in Ruby? HashMiner expands the base Hash class in Ruby to provide helpful methods to traverse and manipulate your Hash Object regardless of complexity.
block-repeater
A way to repeat a block of code until either a given condition is met or a timeout has been reached.
dvla-reportportal-ruby
This gem is a Ruby-Cucumber formatter which sends the test output to Report Portal. This formatter supports plain ‘ol Cucumber tests and those wrapped with parallel_tests.
dvla-herodotus-ruby
This gem provides a lightweight logger that adds functionality to the built in one, allowing for correlation ids to be tracked across various processes.
dvla-atlas-ruby
This gem encapsulates a way of having a predefined set of properties within a test pack, built to work in tandem with the World functionality in Cucumber
Dynamics 365
dataverse-helper
This gem helps you integrate with Microsoft Dynamics using Microsoft Dataverse Web API. You can create, retrieve, delete or update a record without worrying about authentications as it’s automatically managed behind the scenes.