John Cowen
5f625666b4
For URL maintenance reasons we store the last visited DC in localStorage incase you come back to a page (for example settings) that doesn't have a dc in the URL. A problem arises here if the last DC you tried to visit is unreachable. The first fix here clears out the last visited DC from localStorage if the API has errored out. Secondly, our `href-mut` helper which mutates the current current and replaces 'parts' in the URL rather than the whole thing functioned by detecting the current route/URL you are on an 'mutating' that. A problem arose here as even though you might be on the `/ui/dc-1/services` URL the actual route is the 'error' route which does not have a URL that can be changed properly. The second fix here uses route.currentRoute.name over route.currentRouteName. The latter is equal to error when an error occurs whereas the former gives you the name of the route before the error happened, which is actually what we want/the intent here. ie. when `router.currentRouteName === 'error'` then `router.currentRoute.name === Name Of Route Before It Errored` it seems |
5 years ago | |
---|---|---|
.circleci | add auto cherry-picking (#7406) | 5 years ago |
.github | update contributing doc for go 1.13 (#7283) | 5 years ago |
acl |
…
|
|
agent | agent/txn_endpoint: configure max txn request length (#7388) | 5 years ago |
api | Run make update-vendor and fixup various go.sum files | 5 years ago |
bench |
…
|
|
build-support | Switch to go 1.13.7 (#7262) | 5 years ago |
command | Fix -mesh-gateway flag help text (#7265) | 5 years ago |
connect | fix use of hclog logger (#7264) | 5 years ago |
contributing |
…
|
|
demo |
…
|
|
ipaddr |
…
|
|
lib |
…
|
|
logging |
…
|
|
sdk |
…
|
|
sentinel |
…
|
|
service_os |
…
|
|
snapshot | fix use of hclog logger (#7264) | 5 years ago |
terraform |
…
|
|
test | Change where the envoy snapshots get put when a test fails (#7298) | 5 years ago |
testrpc |
…
|
|
tlsutil | tls: support tls 1.3 (#7325) | 5 years ago |
types |
…
|
|
ui-v2 | ui: Enable recovery from an unreachable datacenter (500 error) (#7404) | 5 years ago |
vendor | Switch to go 1.13.7 (#7262) | 5 years ago |
version | Putting source back into Dev Mode | 5 years ago |
website | agent/txn_endpoint: configure max txn request length (#7388) | 5 years ago |
.dockerignore |
…
|
|
.gitignore |
…
|
|
.hashibot.hcl | hashibot: let hashibot help us more (#7281) | 5 years ago |
CHANGELOG.md | Update CHANGELOG.md | 5 years ago |
GNUmakefile | Switch to go 1.13.7 (#7262) | 5 years ago |
INTERNALS.md |
…
|
|
LICENSE |
…
|
|
NOTICE.md |
…
|
|
README.md | Small readme changes. | 5 years ago |
Vagrantfile |
…
|
|
codecov.yml |
…
|
|
go.mod | Bump `api` and `sdk` module versions | 5 years ago |
go.sum | Run make update-vendor and fixup various go.sum files | 5 years ago |
main.go |
…
|
|
main_test.go |
…
|
README.md
Consul
- Website: https://www.consul.io
- Forum: Discuss
Consul is a tool for service discovery and configuration. Consul is distributed, highly available, and extremely scalable.
Consul provides several key features:
-
Service Discovery - Consul makes it simple for services to register themselves and to discover other services via a DNS or HTTP interface. External services such as SaaS providers can be registered as well.
-
Health Checking - Health Checking enables Consul to quickly alert operators about any issues in a cluster. The integration with service discovery prevents routing traffic to unhealthy hosts and enables service level circuit breakers.
-
Key/Value Storage - A flexible key/value store enables storing dynamic configuration, feature flagging, coordination, leader election and more. The simple HTTP API makes it easy to use anywhere.
-
Multi-Datacenter - Consul is built to be datacenter aware, and can support any number of regions without complex configuration.
-
Service Segmentation/Service Mesh - Consul Connect enables secure service-to-service communication with automatic TLS encryption and identity-based authorization. Applications can use sidecar proxies in a service mesh configuration to establish TLS connections for inbound and outbound connections without being aware of Connect at all.
Consul runs on Linux, Mac OS X, FreeBSD, Solaris, and Windows. A commercial version called Consul Enterprise is also available.
Please note: We take Consul's security and our users' trust very seriously. If you believe you have found a security issue in Consul, please responsibly disclose by contacting us at security@hashicorp.com.
Quick Start
A few quick start guides are available on the Consul website:
- Standalone binary install: https://learn.hashicorp.com/consul/getting-started/install.html
- Kubernetes install: https://learn.hashicorp.com/consul/kubernetes/kubernetes-deployment-guide
- Minikube install: https://learn.hashicorp.com/consul/kubernetes/minikube
Documentation
Full, comprehensive documentation is available on the Consul website:
Contributing
Thank you for your interest in contributing! Please refer to CONTRIBUTING.md for guidance.