diff --git a/spring-cloud-cloud-foundry-connector.html b/spring-cloud-cloud-foundry-connector.html index 7acb179..751741c 100644 --- a/spring-cloud-cloud-foundry-connector.html +++ b/spring-cloud-cloud-foundry-connector.html @@ -866,7 +866,7 @@ table.CodeRay td.code>pre{padding:0} diff --git a/spring-cloud-connectors.html b/spring-cloud-connectors.html index 0a74daf..7e52d39 100644 --- a/spring-cloud-connectors.html +++ b/spring-cloud-connectors.html @@ -997,7 +997,7 @@ spring.cloud.database: mysql://user:pass@host:1234/dbname diff --git a/spring-cloud-heroku-connector.html b/spring-cloud-heroku-connector.html index 24e256c..885ac82 100644 --- a/spring-cloud-heroku-connector.html +++ b/spring-cloud-heroku-connector.html @@ -541,7 +541,7 @@ table.CodeRay td.code>pre{padding:0}

Cloud Detection

-

Coming soon…​

+

This connector checks for the presence of a DYNO 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.

@@ -549,12 +549,23 @@ table.CodeRay td.code>pre{padding:0}

Service Detection

-

Coming soon…​

+

Heroku exposes the URL of a service instance (add-on) as a config var, 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.

+
+
+

As an example, consider a RabbitMQ service provided by CloudAMQP. After adding the CloudAMQP add-on to a Heroku application, you can run heroku config to see a new CLOUDAMQP_URL config var.

+
+
+
+
$ heroku config
+=== frozen-oasis-1234 Config Vars
+CLOUDAMQP_URL:         amqp://sfdkjdj:6eknfh-4xlw1u6fec3@foo.bar.cloudamqp.com/lyfkue
+...
+

Supported Services

-

Coming soon…​

+

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.

PostgreSQL (Heroku)

@@ -577,7 +588,20 @@ table.CodeRay td.code>pre{padding:0}

MongoDB (MongoLab, MongoHQ, MongoSoup)

-

Coming soon…​

+

The connector will check for:

+
+
+
    +
  • +

    a MONGOLAB_URI config var with value using the scheme mongodb

    +
  • +
  • +

    a MONGOHQ_URL config var with value using the scheme mongodb

    +
  • +
  • +

    a MONGOSOUP_URL config var with value using the scheme mongodb

    +
  • +
@@ -630,7 +654,7 @@ table.CodeRay td.code>pre{padding:0}
diff --git a/spring-cloud-spring-service-connector.html b/spring-cloud-spring-service-connector.html index 8b4799c..7a4fb1a 100644 --- a/spring-cloud-spring-service-connector.html +++ b/spring-cloud-spring-service-connector.html @@ -603,7 +603,7 @@ table.CodeRay td.code>pre{padding:0}

Connecting to Generic Services

-

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 service() method. It follows the same pattern as dataSource() etc.,whico except that it allows you to supply the connector type as an additional parameter.

+

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 service() method. It follows the same pattern as dataSource() etc., except that it allows you to supply the connector type as an additional parameter.

@@ -740,7 +740,7 @@ table.CodeRay td.code>pre{padding:0}