Skip to content

Releases: fretlink/ansible-kong-app

Fix target creation

10 Dec 16:29
05ca2d7
Compare
Choose a tag to compare

This release fix a bug with target creation which lead to error whereas all went fine

Upgrade Dhall bindings configuration & use PUT instead of POST/PATCH

26 Oct 15:46
c0c4a03
Compare
Choose a tag to compare

New 🆕

  • #23 Use PUT methods instead of POST/PATCH

Configuration

The dhall binding has been improved and upgrade to be compatible with 1.33+ dhall version.
The configuration is now only compatible with 1.29+

  • #17 upgrade dhall to 1.26.1 and merge types and terms
  • #18 config(dhall): add a pre-function lua definition for HTTPS redirects
  • #19 dhall: BREAKING CHANGE update dhall config for 1.33+ compatibility (minimum version is now 1.29+)
  • #20 dhall(plugins): add binding for the 'response-transformer' plugin

Core

  • #21 travis: Use encrypted token for slack notifications
  • #22 Prepare to open-source this role
  • #25 README: add a Travis badge with build status

Dhall: add new helper for ResponseTransformer kong plugin

24 Aug 11:19
258e009
Compare
Choose a tag to compare

New ResponseTransformer configuration helper in the dhall package

  • #20 See PR for details

v0.31: Merge pull request #19 from paulrbr-fl/dhall-1.33-compat

13 Aug 16:01
f131496
Compare
Choose a tag to compare

BREAKING CHANGE

This release only changes the dhall interface exposed from the dhall/ directory. If you use this interface the minimal compatible version of dhall is now 1.29.0+.

  • #19 dhall: update dhall config for 1.33+ compatibility

Dhall: add extra plugin helpers

02 Jan 15:36
25250c8
Compare
Choose a tag to compare

This release updates dhall binding to include two new plugin helpers:

  • mkPreFunction: function which helps to build a "pre-function" plugin in your kong configuration
  • http2httpsRedirect: definition of a Lua "pre-function" plugin that redirects any HTTP requests to HTTPS

⚠️ With this release the namespace of plugin helpers have changed ⚠️

Breaking changes

  • Plugin builder helpers have changed namespace.

    • Legacy:
      Server.Service.Plugin.
        {correlationId,mkIPRestriction,mkRequestTermination,mkRequestTransformer}
    
    • have moved to
      Server.Service.Plugin.functions.
        {correlationId,mkIPRestriction,mkRequestTermination,mkRequestTransformer,mkPreFunction,http2httpsRedirect}
    

Dhall 1.26.1 bindings

07 Oct 08:46
027a2fa
Compare
Choose a tag to compare

This release updates dhall binding to 1.26.1

The main change is that now types and terms can be bundled together.

Breaking changes

  • you need dhall 1.26.1
  • the import is now package.dhall instead of types.dhall and functions.dhall
  • The new structure is:
    • Config: the config type
    • Server.Type: the server type
    • Server.mkServer: the server builder
    • Server.Service.Type: the service type
    • Server.Service.Plugin.Type: plugin type
    • Server.Service.Plugin.{correlationId,mkIPRestriction,mkRequestTermination,mkRequestTransformer}: plugin builders
    • Server.Service.Route: the route type
    • Vault: the vault type

(previously, the values were nested like they are currently, but the types were all exported at the root. out of consistency, the types and the terms now follow the same structure, which is also the file & directory structure)

More details in configuration of CorrelationID plugin

08 Aug 14:08
cfcebcd
Compare
Choose a tag to compare

This release adds a parameter in the dhall code to configure a CorrelationID plugin.

It adds the generator parameter which defaults to uuid#counter (cf https://docs.konghq.com/hub/kong-inc/correlation-id/#parameters)

Add plugin setup failure error

13 May 09:53
f820c10
Compare
Choose a tag to compare

This release add debugging info when plugin fail to be set up

Dhall interface upgrade

26 Apr 18:48
42bbd0c
Compare
Choose a tag to compare

⚠️ this release has non compatible changes in the dhall interface code ⚠️

The dhall code functions to generate a correct ansible configuration for this role has been update to be compatible with the latest Dhall-lang version (v6.0.0 of the language)

You will thus need to check your dhall code using this interface for compatibility

Delete and recreate plugin if update fail

05 Apr 11:43
d663610
Compare
Choose a tag to compare

When migrations did not run smoothly during an update it could be necessary to delete and recreate a plugin.
This release add this feature automatically