aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #27 from gaetanfl/fix_upstream_creation_return_codeHEADv0.34.0masterGaëtan2021-12-101-1/+1
|\ | | | | upstream: allow 200 as a valid return code when adding target
| * Merge branch 'master' into fix_upstream_creation_return_codeGaëtan2021-12-100-0/+0
| |\ | |/ |/|
* | Merge pull request #26 from gaetanfl/bump_nix_version_cert_errorGaëtan2021-10-251-1/+1
|\ \ | | | | | | ci(bump): bump nix version to avoid certificate error
| | * upstream: allow 200 as a valid return code when adding targetGaëtan Duchaussois2021-12-101-1/+1
| |/
| * ci(bump): bump nix version to avoid certificate errorGaëtan Duchaussois2021-10-251-1/+1
|/
* Merge pull request #25 from paulrbr-fl/update-readmev0.33paulrbr-fl2020-10-261-11/+14
|\ | | | | README: add a Travis badge with build status
| * README: add a Travis badge with build statusPaul Bonaud2020-10-141-11/+14
|/ | | | Also format yaml code with correct color syntax
* Merge pull request #23 from paulrbr-fl/use-put-for-idempotencypaulrbr-fl2020-10-143-25/+15
|\ | | | | Use PUT methods instead of manually detecting if new or update
| * tests: allow fake Kong server to receive PUT requestsPaul Bonaud2020-10-141-0/+9
| |
| * Use PUT methods instead of manually detecting if new or updatePaul Bonaud2020-10-142-25/+6
|/ | | | | | | | | | | Kong supports resource idempotency by calling the `PUT` method on user creation/update. Kong will decide by itself whether to create or update the resource. It's clearer and less code on our side. However we can only do this on named resources (not possible on Plugins and Routes which are attached to the `service` with an ID).
* Merge pull request #22 from paulrbr-fl/improve-docpaulrbr-fl2020-10-144-21/+41
|\ | | | | Prepare to open-source this role
| * Improve README documentation, add a LICENSE file and add test casePaul Bonaud2020-10-124-21/+41
|/
* Merge pull request #21 from paulrbr-fl/add-slack-tokenpaulrbr-fl2020-10-124-15/+31
|\ | | | | travis: Use encrypted token for slack notifications
| * travis: use recent nixpkgs channel (20.09) to install dependenciesPaul Bonaud2020-10-064-15/+25
| |
| * travis: Use encrypted token for slack notificationsPaul Bonaud2020-10-051-0/+6
|/ | | | | | | | | | | | This commit adds a notification on slack for travis builds. The token is encrypted using the repository key with the `travis` CLI: ``` travis encrypt "<user>:<token>" --add notifications.slack.rooms ``` cf documentation https://docs.travis-ci.com/user/notifications/#configuring-slack-notifications
* Merge pull request #20 from paulrbr-fl/add-response-transformer-pluginv0.32paulrbr-fl2020-08-243-0/+11
|\ | | | | dhall(plugins): add binding for the 'response-transformer' plugin
| * dhall(plugins): add binding for the 'response-transformer' pluginPaul Bonaud2020-08-143-0/+11
|/ | | | | | | | This plugin is very similar to the existing request-transformer plugin. We can expose a Dhall helper to generate this plugin configuration as the other plugins.
* Merge pull request #19 from paulrbr-fl/dhall-1.33-compatv0.31paulrbr-fl2020-08-133-17/+11
|\ | | | | dhall: BREAKING CHANGE update dhall config for 1.33+ compatibility
| * dhall: BREAKING CHANGE update dhall config for 1.33+ compatibilityPaul Bonaud2020-08-133-17/+11
|/ | | | | | | | | | | Since dhall 1.33.0 lang version the `Optional/fold` function is removed from the language and can be replaced by the usage of the `merge` function which now works on Optional values 🎉 since 1.29 https://github.com/dhall-lang/dhall-haskell/pull/1608 This new code is thus not compatible with versions of dhall <1.29.0 (due to the new feature of the `merge` fonction).
* Merge pull request #18 from paulrbr-fl/pre-function-pluginsv0.30paulrbr-fl2020-01-0210-34/+79
|\ | | | | config(dhall): add a pre-function lua definition for HTTPS redirects
| * tests: fake a Kong serverPaul Bonaud2020-01-022-2/+27
| |
| * tests: fix variables in the test playbookPaul Bonaud2020-01-021-6/+7
| |
| * ci: use latest version of Nix binaries and latest Ansible nix pkgsPaul Bonaud2020-01-021-1/+9
| |
| * config(dhall): add a pre-function lua definition for HTTPS redirectsPaul Bonaud2020-01-024-14/+16
| | | | | | | | | | This PR fixes #12 and takes precedence over #13 (cherry-picked one of #13's commit)
| * add(dhall): introduce pre-function pluginHussein Ait-Lahcen2020-01-024-12/+21
|/
* Merge pull request #17 from clementd-fretlink/polykindsv0.20Clément Delafargue2019-10-0717-65/+73
|\ | | | | upgrade dhall to 1.26.1 and merge types and terms
| * upgrade dhall to 1.26.1 and merge types and termspolykindsClement Delafargue2019-10-0317-65/+73
|/ | | | | Previously, types were flattened and terms were nested (as are the directories). For consistency, I made the types nested as well.
* Merge pull request #16 from paulrbr-fl/add-default-correlation-idv0.10paulrbr-fl2019-08-082-9/+21
|\ | | | | config(dhall): add parameter 'generator' to CorrelationID plugin
| * config(dhall): add parameter 'generator' to CorrelationID pluginPaul Bonaud2019-08-082-9/+21
|/ | | | | | | | This PR adds possibility to define a custom `generator` to use in the CorrelationID plugin. The default value ("uuid#counter") is taken from Kong directly https://docs.konghq.com/hub/kong-inc/correlation-id/#parameters
* Merge pull request #15 from gaetanfl/display_errorsv0.9Gaëtan2019-05-131-0/+16
|\ | | | | Add info on failures
| * Add info on failuresGaëtan Duchaussois2019-05-131-0/+16
|/
* Merge pull request #14 from paulrbr-fl/upgrade-dhall-versionv0.8paulrbr-fl2019-04-267-58/+64
|\ | | | | dhall(upgrade): upgrade code to be compatible with dhall 1.21.0
| * dhall(upgrade): upgrade code to be compatible with dhall 1.21.0Paul Bonaud2019-04-267-58/+64
|/
* Merge pull request #11 from gaetanfl/plugin_failure_retryv0.7Gaëtan2019-04-051-3/+67
|\ | | | | retry in case of failed patch
| * Fix retry and missing parenthesisGaëtan Duchaussois2019-04-051-2/+2
| |
| * retry in case of failed patchGaëtan Duchaussois2019-04-041-2/+66
|/
* Merge pull request #10 from paulrbr-fl/fix-dhall-config-for-kong-upgradev0.6paulrbr-fl2019-04-044-16/+22
|\ | | | | dhall(fix): fix for generated configuration for Kong 1.x upgrade
| * lint: fix latest recommendations from ansible-lintPaul Bonaud2019-04-042-3/+9
| |
| * dhall(fix): fix for generated configuration for Kong 1.x upgradePaul Bonaud2019-04-042-13/+13
|/
* Merge pull request #7 from haitlahcen/dhall-interfacev0.5Gaëtan2018-11-2020-0/+166
|\ | | | | add dhall interface
| * add dhall interfaceHussein Ait-Lahcen2018-11-2020-0/+166
|/
* Merge pull request #6 from fmenou/nixFrédéric Menou2018-07-091-10/+2
|\ | | | | Use Nix for build
| * Use Nix for buildFrédéric Menou2018-07-081-10/+2
|/
* Merge pull request #5 from gaetanfl/support_backendv0.4Gaëtan2018-05-174-4/+73
|\ | | | | Support ring-balancer
| * add more info on READMEGaëtan Duchaussois2018-05-171-5/+7
| |
| * target might be marked as absent if unhealthyGaëtan Duchaussois2018-05-151-1/+1
| |
| * fix test fileGaëtan Duchaussois2018-05-141-3/+6
| |
| * add support for upstream with multiple targetsGaëtan Duchaussois2018-05-143-0/+64
|/
* Merge pull request #3 from gaetanfl/multiplekong_serversv0.3Gaëtan2018-04-277-37/+44
|\ | | | | support multiple kong servers
| * fix READMEGaëtan Duchaussois2018-04-271-4/+4
| |