Go to file
R.B. Boyer dae47101fa
api: ensure peering API endpoints do not use protobufs (#13204)
I noticed that the JSON api endpoints for peerings json encodes protobufs directly, rather than converting them into their `api` package equivalents before marshal/unmarshaling them.

I updated this and used `mog` to do the annoying part in the middle. 

Other changes:
- the status enum was converted into the friendlier string form of the enum for readability with tools like `curl`
- some of the `api` library functions were slightly modified to match other similar endpoints in UX (cc: @ndhanushkodi )
- peeringRead returns `nil` if not found
- partitions are NOT inferred from the agent's partition (matching 1.11-style logic)
2022-05-25 13:43:35 -05:00
.changelog Merge pull request #13143 from hashicorp/envoy-connection-limit 2022-05-25 07:48:50 -07:00
.circleci api: ensure peering API endpoints do not use protobufs (#13204) 2022-05-25 13:43:35 -05:00
.github [CI-only] Update tagging for dev_tags (#13199) 2022-05-24 15:23:01 -07:00
.release
acl
agent api: ensure peering API endpoints do not use protobufs (#13204) 2022-05-25 13:43:35 -05:00
api api: ensure peering API endpoints do not use protobufs (#13204) 2022-05-25 13:43:35 -05:00
bench
build-support api: ensure peering API endpoints do not use protobufs (#13204) 2022-05-25 13:43:35 -05:00
command chore(test): Update bats version 2022-05-24 11:56:08 -04:00
connect Retry on bad dogstatsd connection (#13091) 2022-05-19 16:03:46 -04:00
contributing
docs
grafana
internal
ipaddr
lib telemetry: remove unused arg (#13161) 2022-05-19 19:17:30 -07:00
logging
proto api: ensure peering API endpoints do not use protobufs (#13204) 2022-05-25 13:43:35 -05:00
proto-public Specify go_package explicitly 2022-05-24 10:22:53 -07:00
sdk
sentinel
service_os
snapshot
test chore(test): Update bats version 2022-05-24 11:56:08 -04:00
testrpc
tlsutil
types
ui ui: Icon related fixups (#13183) 2022-05-25 14:28:42 +01:00
version update main to reflect 1.13.0-dev (#13192) 2022-05-25 09:06:36 -07:00
website update docs for single-dc-multi-k8s install (#13008) 2022-05-25 11:34:56 -07:00
.dockerignore
.gitattributes
.gitignore
.golangci.yml Fix proto lint errors after version bump 2022-05-24 18:44:54 -07:00
CHANGELOG.md Update CHANGELOG to mention removal of Envoy 1.17.4 and 1.18.6 (#13207) 2022-05-25 08:57:01 -07:00
Dockerfile
GNUmakefile api: ensure peering API endpoints do not use protobufs (#13204) 2022-05-25 13:43:35 -05:00
LICENSE
NOTICE.md
README.md
Vagrantfile
fixup_acl_move.sh
go.mod Add connection limit setting to service defaults 2022-05-24 10:13:38 -07:00
go.sum Add connection limit setting to service defaults 2022-05-24 10:13:38 -07:00
main.go

README.md

Consul logo Consul

Docker Pulls Go Report Card

Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.

Consul provides several key features:

  • Multi-Datacenter - Consul is built to be datacenter aware, and can support any number of regions without complex configuration.

  • Service Mesh/Service Segmentation - 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.

  • 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.

Consul runs on Linux, macOS, FreeBSD, Solaris, and Windows and includes an optional browser based UI. 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:

Documentation

Full, comprehensive documentation is available on the Consul website:

https://www.consul.io/docs

Contributing

Thank you for your interest in contributing! Please refer to CONTRIBUTING.md for guidance. For contributions specifically to the browser based UI, please refer to the UI's README.md for guidance.