~rogpeppe/juju-core/azure

[r=jtv] Skip the service-label dance in Azure.

We're still working out how we're supposed to determine an instance's DNS name
in Azure. We may have been chasing a red herring early on: on the one hand
the documentation hinted that a service's name also formed the hostname part
of its DNS name, but on the other, we were getting what looked like a randomly
generated DNS name assigned by Azure. And a little dance was orchestrated
around that: get the instance URL from the Deployment object, store it in the
Service's label field, use the label field as the source of the DNS name.

As we understand it now, the weird randomly assigned hostnames only happen in
Staging deployments, and the instance URLs don't even resolve when we deploy
to Production (as we must do in Juju).

And so this branch does away with the little dance, uses the service name as
the instance's DNS name, and rips out all code that I could find that was only
there to support the dance. The service label is now a mere courtesy; it's
required but we may as well set it to be identical to the service name.
Filename Latest Rev Last Changed Committer Comment Size
..
checkers 1211.4.1 11 years ago Tim Penhey Tests written, but kill isn't fast enough. Diff
repo 92.2.1 12 years ago William Reade move testrepo and accessors into testing Diff
sshdata 460.5.2 12 years ago Dave Cheney respond to review feedback Diff
cert.go 1408.1.1 11 years ago John Arbash Meinel Start changing the imports of the middle level fil 1.7 KB Diff Download File
channel.go 1401.1.5 11 years ago John Arbash Meinel Clean up a few more cases, try to unify the code a 3.3 KB Diff Download File
charm.go 1408.1.1 11 years ago John Arbash Meinel Start changing the imports of the middle level fil 5.5 KB Diff Download File
cmd.go 1408.1.1 11 years ago John Arbash Meinel Start changing the imports of the middle level fil 2.9 KB Diff Download File
constants.go 1401.1.1 11 years ago John Arbash Meinel Start refactoring worker/uniter/filter_test.go Us 729 bytes Diff Download File
environ.go 1408.1.1 11 years ago John Arbash Meinel Start changing the imports of the middle level fil 5.3 KB Diff Download File
environ_test.go 1408.1.1 11 years ago John Arbash Meinel Start changing the imports of the middle level fil 1.4 KB Diff Download File
git.go 1408.1.1 11 years ago John Arbash Meinel Start changing the imports of the middle level fil 1 KB Diff Download File
http.go 1408.1.1 11 years ago John Arbash Meinel Start changing the imports of the middle level fil 4.4 KB Diff Download File
instance.go 1408.1.1 11 years ago John Arbash Meinel Start changing the imports of the middle level fil 750 bytes Diff Download File
locking.go 1310.1.9 11 years ago Jeroen Vermeulen Review change: 'proceed' channel can be buffered. 2.3 KB Diff Download File
locking_test.go 1408.1.1 11 years ago John Arbash Meinel Start changing the imports of the middle level fil 966 bytes Diff Download File
log.go 1260.1.1 11 years ago Tim Penhey Changes needed for latest (as yet unpushed) loggo. 971 bytes Diff Download File
mgo.go 1408.1.1 11 years ago John Arbash Meinel Start changing the imports of the middle level fil 6 KB Diff Download File
mgo_test.go 1408.1.1 11 years ago John Arbash Meinel Start changing the imports of the middle level fil 1.7 KB Diff Download File
targz.go 1206.2.1 11 years ago Martin Packman Add copyright statement at the top of all go files 1.4 KB Diff Download File