Releases: cortexapps/axon
Header Injection, Github App support
Summary
Adds the ability to inject headers into the accept.json file, eg:
{
"private": [
{
"method": "get",
"path": "/foo/*",
"origin": "https://foo-server.com",
"headers": {
"my-custom-heade-static": "my-custom-value",
"my-custom-header-env": "${ENV_VAR_NAME}"
},
}
]
}
These headers will be sent to requests to the downstream (private origin) server.
In addition, adds support for github apps:
docker run ... cortex-axon-agent:latest relay -i github -a github-relay -s app
What's Changed
- Support headers in accept.json by @shawnburke in #41
- Move to header resolver by @shawnburke in #48
- Missed some stuff by @shawnburke in #49
- Refactor accept file management to its own package by @shawnburke in #51
- Support github app token generation by @shawnburke in #52
Full Changelog: v0.0.8...v0.0.9
Bug fix: webhook routing
Summary
A change to use Gorilla Mux broke routing for webhooks, but in a way that did not fail unit tests. This addresses that and adds better E2E testing for this scenario going forward.
What's Changed
- Fix: URL encoding for comma params by @maddymanu in #46
- Fix webhook routing, add E2E test by @shawnburke in #47
Full Changelog: v0.0.7...v0.0.8
Respect HTTP_PORT
Small release to ensure HTTP_PORT
is respected in all scenarios
What's Changed
- E2E proxy test by @shawnburke in #43
- Ensure HTTP_PORT is used everywhere by @shawnburke in #44
- better testing for http stack by @shawnburke in #45
Full Changelog: v0.0.6...v0.0.7
Proxy and Self-Signed Cert Support
This release adds proxy support, which is:
- Support for
HTTP_PROXY
and friends - Local certs an be trusted by pointing at them with the
CA_CERT_FILE
environment variable
In addition, this release introduces the "reflector" which re-routes all outbound broker traffic back through the agent. It's been discovered that node (e.g. Snyk Broker) has some difficult issues when dealing with proxies in a production environment, while the Go stack does not. So this allows sending all traffic from the broker back to the agent which proxies it out using the Go transport settings including extra cert(s).
This can be enabled via:
ENABLE_RELAY_REFLECTOR=true
just for contacting Cortex. This is useful if all resources accesed in the environment areNO_PROXY
ENABLE_RELAY_REFLECTOR=all
proxies all outbound broker traffic through the agent. After some bake time this will become the default in future versions.
What's Changed
- Allow null integration for relay by @shawnburke in #34
- Support http certs and CA by @shawnburke in #35
- Cleanup FX modules by @shawnburke in #37
- Update README.relay.md by @martindstone in #36
- Add relay local proxy by @shawnburke in #38
- Route all broker traffic through reflector by @shawnburke in #39
New Contributors
- @martindstone made their first contribution in #36
Full Changelog: v0.0.5...v0.0.6