All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Initial implementation of plugin
- Added GitHub action build for linting and unit testing
- Added function to handle unexpected errors and exit the plugin
- Added function to make FGA requests with retry logic
- Added unit tests to mock HTTP requests and return different responses based on call count
- Added support for EMMY Debugger with configurable host and port
- Added smoke test to CI pipeline
- Added GitHub action to publish the plugin to luarocks.org when a version is tagged
- Extracted
kong.response.exit(500, "An unexpected error occurred")
to its own function - Extracted the code inside the
repeat ... until
loop into its own function - Modified
make_fga_request
to return a boolean indicating allow/deny - For local development, a kong-*dev-0.rockspec file is used to install the plugin. This helps segregate the testing from the release process.
- Changed the rockspec license to MIT.