Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Mitchell Hashimoto fd33b76ec2
agent: /v1/catalog/connect/:service
7 years ago
.github/ISSUE_TEMPLATE github: more tweaking of bug issue template 7 years ago
acl agent/consul: convert intention ACLs to testify/assert 7 years ago
agent agent: /v1/catalog/connect/:service 7 years ago
api Remove the script field from checks in favor of args 7 years ago
bench Gets benchmarks running again and does a rough pass for 0.7.1. 8 years ago
command Merge pull request #4194 from hashicorp/fix-kv-del-validation 7 years ago
demo Enables dig in cluster demo by installing dnsutils 7 years ago
ipaddr New config parser, HCL support, multiple bind addrs (#3480) 7 years ago
lib Add a helper for generating Consul's user-agent string 7 years ago
logger golint: Untangle if blocks with return in else 8 years ago
scripts Release v1.1.0 7 years ago
sentinel Renames stubs to be more consistent. 7 years ago
snapshot Removes timeout when restoring snapshots. 7 years ago
terraform Spelling (#3958) 7 years ago
test Revert "Certificate for Alice was too old, updating it for tests" 7 years ago
testrpc agent: move agent/consul/structs to agent/structs 7 years ago
testutil Spelling (#3958) 7 years ago
tlsutil 🐛 Formatting changes only; add missing trailing commas 7 years ago
types Removes remoteConsuls in favor of the new router. 8 years ago
ui v1.1.0 UI Build 7 years ago
ui-v2 Merge pull request #4225 from hashicorp/bugfix/hide-anon-acl-delete 7 years ago
vendor Remove bogus second yamux vendoring 7 years ago
version Put version.go back in dev mode 7 years ago
watch Add RunWithConfig and put Run signature back to normal 7 years ago
website Client: add metric for failed RPC calls to server 7 years ago
.gitignore Update .gitignore - ignore some macos fs event notification stuff 7 years ago
.travis.yml Travis evaluates ENV before cloning git repo and cding so we need to delay gathering packages until the makefile 7 years ago
CHANGELOG.md Update CHANGELOG.md 7 years ago
GNUmakefile UI V2 (#4086) 7 years ago
INTERNALS.md Spelling (#3958) 7 years ago
LICENSE Initial commit 11 years ago
README.md Readme for Fork Instructions 7 years ago
Vagrantfile Adds a basic Linux Vagrant setup, stolen from Nomad. 7 years ago
main.go Adds a registry mechanism for CLI commands. 7 years ago
main_test.go Adding basic CLI infrastructure 11 years ago

README.md

This is a temporary README. We'll restore the old README prior to PR upstream.

Consul Connect

This repository is the forked repository for Consul Connect work to happen in private prior to public release. This README will explain how to safely use this fork, how to bring in upstream changes, etc.

Cloning

To use this repository, clone it into your GOPATH as usual but you must rename consul-connect to consul so that Go imports continue working as usual.

Important: Never Modify Master

NEVER MODIFY MASTER! NEVER MODIFY MASTER!

We want to keep the "master" branch equivalent to OSS master. This will make rebasing easy for master. Instead, we'll use the branch f-connect. All feature branches should branch from f-connect and make PRs against f-connect.

When we're ready to merge back to upstream, we can make a single mega PR merging f-connect into OSS master. This way we don't have a sudden mega push to master on OSS.

Creating a Feature Branch

To create a feature branch, branch from f-connect:

git checkout f-connect
git checkout -b my-new-branch

All merged Connect features will be in f-connect, so you want to work from that branch. When making a PR for your feature branch, target the f-connect branch as the merge target. You can do this by using the dropdowns in the GitHub UI when creating a PR.

Syncing Upstream

First update our local master:

# This has to happen on forked master
git checkout master

# Add upstream to OSS Consul
git remote add upstream https://github.com/hashicorp/consul.git

# Fetch it
git fetch upstream

# Rebase forked master onto upstream. This should have no changes since
# we're never modifying master.
git rebase upstream master

Next, update the f-connect branch:

git checkout f-connect
git rebase origin master