Commit Graph

926 Commits

Author SHA1 Message Date
Roberto Abdelkader Martínez Pérez
310d319ea3 test: Update kapow env vars to the new ones.
Co-authored-by: César Gallego <cesar.gallego.next@bbva.com>
2020-11-17 17:10:05 +01:00
Roberto Abdelkader Martínez Pérez
7c952faf11 Update README.md 2020-11-01 19:22:20 +01:00
pancho horrillo
faea65688d chore(gomod): bump spf13/cobra to v1.0.0
Minor changes since v0.0.7.  Seems simple formalization that the
interface is now stable.

See https://github.com/spf13/cobra/releases/tag/v1.0.0
2020-10-02 14:32:37 +02:00
pancho horrillo
19b6df4742 chore(gomod): run go mod tidy 2020-10-02 14:30:38 +02:00
pancho horrillo
abac3ee772 chore(dependabot): ping dependabot 2020-10-02 14:12:25 +02:00
dependabot[bot]
7dc6701fc7 chore(deps): bump github.com/google/uuid from 1.1.1 to 1.1.2 (#129) 2020-10-02 12:09:07 +00:00
dependabot[bot]
1eb7bdd5f7 chore(deps): bump github.com/gorilla/mux from 1.7.3 to 1.8.0 (#128) 2020-10-02 12:05:16 +00:00
dependabot[bot]
3e0bf94169 chore(deps): bump github.com/spf13/cobra from 0.0.5 to 0.0.7 (#127)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 0.0.5 to 0.0.7.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/0.0.5...0.0.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-02 14:00:19 +02:00
dependabot[bot]
ca1e17f79c chore(deps): bump golang from 1.14.3 to 1.15.2 in /.github/go (#125)
Bumps golang from 1.14.3 to 1.15.2.

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-02 13:55:46 +02:00
pancho horrillo
0dc0b741ff Merge pull request #126 from BBVA/dependabot/github_actions/golangci/golangci-lint-action-v2.2.0
chore(deps): bump golangci/golangci-lint-action from v1 to v2.2.0
2020-10-02 13:52:14 +02:00
pancho horrillo
aa86efdcc5 chore(workflows): fix golangci version
The patch version should not be specified, only minor.

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-10-02 13:47:32 +02:00
pancho horrillo
f67e7c1938 Bump golangci-lint to v1.31.0
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
2020-10-02 13:44:15 +02:00
pancho horrillo
630006f49f chore: remove obsolete workflow 'Bump Go'
Superseded by dependabot
2020-10-01 18:01:51 +02:00
pancho horrillo
f0758bb9f4 chore: obtain Go version from ad-hoc Dockerfile 2020-10-01 17:55:33 +02:00
dependabot[bot]
f5bdbc8c5a chore(deps): bump golangci/golangci-lint-action from v1 to v2.2.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from v1 to v2.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v1...6317259e28065ecd33bf7e7e6c67c77db091d8a4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-01 15:45:14 +00:00
pancho horrillo
d9c840f70f chore: enable dependabot
. Check GitHub Actions, Go modules and Docker
2020-10-01 17:44:35 +02:00
pancho horrillo
1f5ea34a44 chore(workflows): fix YAML syntax error 2020-10-01 17:34:41 +02:00
pancho horrillo
1666c093c2 chore: tweak automatic PR for Go Bump 2020-10-01 17:31:47 +02:00
pancho horrillo
7cb0e72302 chore: use ubuntu-20.04 in release workflow
Consistent with the other workflows defined here.
2020-09-30 16:45:39 +02:00
pancho horrillo
66f68e0219 style: don't pollute the env with secrets
Also, it's a bit less boilerplate code.

Seen here¹:

¹: https://github.com/dependabot/dependabot-core/blob/v0.120.3/.github/workflows/docker.yml#L27-L29
2020-09-30 16:34:25 +02:00
pancho horrillo
4e1084c092 style: don't pollute env, use step outputs instead (go version) 2020-09-30 11:44:30 +02:00
pancho horrillo
f12cce1884 chore: update bump-go workflow
. Fix path to repo for 'Bump Go' action
. Use and update the same PR until accepted, to reduce noise
2020-09-30 08:02:29 +02:00
Héctor Hurtado
c7567fb4cc Fix getSSLClietnDN returns DN instead CN 2020-09-11 11:18:11 +02:00
Héctor Hurtado
a17cc4838d Add ssl/client/i/dn resource. Closes #113 2020-09-10 16:35:41 +02:00
Héctor Hurtado
6d24cc4d2d Fix typo getRequestId -> getRouteId 2020-09-10 12:44:58 +02:00
Héctor Hurtado
9a78bddcc4 Change tests for getRequestId to validate against passed value 2020-09-10 12:41:04 +02:00
Héctor Hurtado
66b227e67b Fix error getting HTTP version in getRequestVersion 2020-09-10 12:30:58 +02:00
Héctor Hurtado
99871de601 Fix error getting remote address in getRequestRemote 2020-09-10 12:07:25 +02:00
Héctor Hurtado
5c1a00e340 getRequestHeaders returns value for Host header. Fixes #78 2020-09-09 14:13:44 +02:00
Héctor Hurtado
6c3bee9ae0 Add route/id resource. Closes #10 2020-09-09 14:12:53 +02:00
Héctor Hurtado
774b9202b5 Add routes for /request/version and /request/remote in data server. Add resource tree documentation for /request/version and /request/remote. Closes #85 2020-09-09 14:11:46 +02:00
Héctor Hurtado
fc19b921be Add request/remote resource 2020-09-09 08:53:40 +02:00
Héctor Hurtado
9988d0e0d4 Add request/version resource 2020-09-08 15:27:51 +02:00
Héctor Hurtado
092dc741a3 Add new tutorial chapter to documentation index 2020-09-08 13:23:46 +02:00
Héctor Hurtado
dfbc194bad Update main index to point to new HTTPS page 2020-08-28 08:23:35 +02:00
Héctor Hurtado
eb4dbeadb9 Add references to mTLS configuration of proposed servers.
Fixes #100
2020-08-24 12:44:19 +02:00
Roberto Abdelkader Martínez Pérez
ea3b080fac Merge pull request #120 from skinp/patch-1
Fix return value for resource params
2020-08-20 09:48:02 +02:00
Patrick Pelletier
8edde476e0 Fix return value for resource params
In the example, the param name is "myparam" and the value is "bar", but the output for the value is "myparam"...
s/myparam/bar/
2020-08-20 00:29:50 -04:00
Héctor Hurtado
3ba3df6baf Add a chapter to the tutorial explaining HTTPS and mTLS configuration 2020-08-18 15:53:16 +02:00
Héctor Hurtado
d0e08815f7 Add example documentation to use built in HTTPS/mTLS support 2020-08-18 13:07:47 +02:00
Héctor Hurtado
6ce20f6dac Merge branch 'master' of ssh://github.com/BBVA/kapow 2020-08-17 16:20:41 +02:00
Héctor Hurtado
dc2716fdb7 Add instuctions in quickstart to start Kapow! with HTTPS 2020-08-17 16:20:32 +02:00
Héctor Hurtado
8bfea993e7 Change tittle to something more specific 2020-08-17 15:08:55 +02:00
Héctor Hurtado
64cc681ae2 Fix typo 2020-08-17 14:54:57 +02:00
pancho horrillo
94f1e7e6ea chore: leverage panchoh/go-bump action
Co-authored-by: Héctor Hurtado <hector.hurtado@bbva.com>
2020-06-26 13:30:17 +02:00
pancho horrillo
2e5e11cc47 doc: fix typo 2020-06-16 11:23:47 +02:00
pancho horrillo
edeafdd881 doc: fix reference 2020-06-12 13:20:44 +02:00
pancho horrillo
c04f89bdc5 doc: drop spurious underscore 2020-06-12 13:15:00 +02:00
pancho horrillo
9da4b4b91d doc: fix dangling link
Fixes #111
2020-06-12 13:06:14 +02:00
pancho horrillo
307e348b62 chore: update test badge
No longer using CircleCI for this, but GitHub Actions.

Co-authored-by: Héctor Hurtado <hector.hurtado@bbva.com>
2020-06-12 12:48:06 +02:00