Sync docs from master to gh-pages
This commit is contained in:
@@ -866,7 +866,7 @@ table.CodeRay td.code>pre{padding:0}
|
||||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-text">
|
||||
Last updated 2015-08-07 17:17:07 CDT
|
||||
Last updated 2015-08-07 17:53:54 CDT
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -997,7 +997,7 @@ spring.cloud.database: mysql://user:pass@host:1234/dbname</code></pre>
|
||||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-text">
|
||||
Last updated 2015-08-07 17:37:42 CDT
|
||||
Last updated 2015-08-07 17:53:54 CDT
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -541,7 +541,7 @@ table.CodeRay td.code>pre{padding:0}
|
||||
<h2 id="_cloud_detection">Cloud Detection</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Coming soon…​</p>
|
||||
<p>This connector checks for the presence of a <code>DYNO</code> environment variable. This variable is specific to and provided by Heroku; it is set to the identifier of an application’s dyno. If the variable exists, the connector will be activated.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -549,12 +549,23 @@ table.CodeRay td.code>pre{padding:0}
|
||||
<h2 id="_service_detection">Service Detection</h2>
|
||||
<div class="sectionbody">
|
||||
<div class="paragraph">
|
||||
<p>Coming soon…​</p>
|
||||
<p>Heroku exposes the URL of a service instance (add-on) as a <em>config var</em>, which is made available to an application as an environment variable. The Spring Cloud Heroku Connector checks for environment variables which contain URLs used by add-ons and uses their presence to detect the relevant services.</p>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>As an example, consider a RabbitMQ service provided by CloudAMQP. After adding the CloudAMQP add-on to a Heroku application, you can run <code>heroku config</code> to see a new <code>CLOUDAMQP_URL</code> config var.</p>
|
||||
</div>
|
||||
<div class="listingblock">
|
||||
<div class="content">
|
||||
<pre class="CodeRay highlight"><code data-lang="term">$ heroku config
|
||||
=== frozen-oasis-1234 Config Vars
|
||||
CLOUDAMQP_URL: amqp://sfdkjdj:6eknfh-4xlw1u6fec3@foo.bar.cloudamqp.com/lyfkue
|
||||
...</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_supported_services">Supported Services</h3>
|
||||
<div class="paragraph">
|
||||
<p>Coming soon…​</p>
|
||||
<p>This connector comes with built-in support for several service types and providers. The variables and URI schemes with which it establishes availability of each service are described below.</p>
|
||||
</div>
|
||||
<div class="sect3">
|
||||
<h4 id="_postgresql_heroku">PostgreSQL (Heroku)</h4>
|
||||
@@ -577,7 +588,20 @@ table.CodeRay td.code>pre{padding:0}
|
||||
<div class="sect3">
|
||||
<h4 id="_mongodb_mongolab_mongohq_mongosoup">MongoDB (MongoLab, MongoHQ, MongoSoup)</h4>
|
||||
<div class="paragraph">
|
||||
<p>Coming soon…​</p>
|
||||
<p>The connector will check for:</p>
|
||||
</div>
|
||||
<div class="ulist">
|
||||
<ul>
|
||||
<li>
|
||||
<p>a <code>MONGOLAB_URI</code> config var with value using the scheme <code>mongodb</code></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>a <code>MONGOHQ_URL</code> config var with value using the scheme <code>mongodb</code></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>a <code>MONGOSOUP_URL</code> config var with value using the scheme <code>mongodb</code></p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect3">
|
||||
@@ -630,7 +654,7 @@ table.CodeRay td.code>pre{padding:0}
|
||||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-text">
|
||||
Last updated 2015-08-07 17:17:07 CDT
|
||||
Last updated 2015-08-10 17:34:27 CDT
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -603,7 +603,7 @@ table.CodeRay td.code>pre{padding:0}
|
||||
<div class="sect2">
|
||||
<h3 id="_connecting_to_generic_services">Connecting to Generic Services</h3>
|
||||
<div class="paragraph">
|
||||
<p>The Java configuration supports access to generic services (services which don’t have a directly mapped method; this is typical for a newly-introduced service or when connecting to a private service in a private PaaS) through the <code>service()</code> method. It follows the same pattern as <code>dataSource()</code> etc.,whico except that it allows you to supply the connector type as an additional parameter.</p>
|
||||
<p>The Java configuration supports access to generic services (services which don’t have a directly mapped method; this is typical for a newly-introduced service or when connecting to a private service in a private PaaS) through the <code>service()</code> method. It follows the same pattern as <code>dataSource()</code> etc., except that it allows you to supply the connector type as an additional parameter.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
@@ -740,7 +740,7 @@ table.CodeRay td.code>pre{padding:0}
|
||||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-text">
|
||||
Last updated 2015-08-07 17:39:57 CDT
|
||||
Last updated 2015-08-07 17:53:54 CDT
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user