Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Spring Cloud Connectors 1.2.0 RC1 released

DZone's Guide to

Spring Cloud Connectors 1.2.0 RC1 released

· Cloud Zone
Free Resource

Deploy and scale data-rich applications in minutes and with ease. Mesosphere DC/OS includes everything you need to elastically run containerized apps and data services in production.

[This article was written by Scott Frederick.]

I’m pleased to announce the availability of Spring Cloud Connectors 1.2.0 RC1.

This release should be fully backward compatible with 1.1.0.RELEASE for applications using the library. Libraries that extend the core Connectors library should be recompiled against 1.2.0 RC1, and may encounter a few small extension API changes. Barring any issues, this will be the only RC before 1.2.0.RELEASE.

Here’s an overview of what’s new in 1.2.0:

Spring Cloud Connectors Core

AMQP

  • AmqpServiceInfo no longer validates that the path element of a URI contains a value, which allows the default RabbitMQ vhost to be used.
  • URL validation in AmqpServiceInfo was relaxed such that QPID URL format is supported as well as RabbitMQ URL format.
  • AmqpServiceInfo now supports holding a list of URIs for providers that support multiple host connections.

Cloud Foundry Connector

Relational Databases

  • All relational database ServiceInfo parsers now honor a jdbcUrl field in the credentials contained in VCAP_SERVICES. If a jdbcUrl is found, its value is provided by RelationalServiceInfo.getJdbcUrl without modification. If a jdbcUrl is not found, then a JDBC URL will be constructed by RelationalServiceInfo as before.

AMQP

  • The AMQP ServiceInfo parser now supports multiple URIs as provided by Pivotal’s RabbitMQ for Pivotal Cloud Foundry version 1.4.
  • The AMQP ServiceInfo parser now parses the management API and makes it available to clients.
  • amqps was added as a valid scheme when detecting an AMQP service based on a url field in the credentials contained in VCAP_SERVICES.

Spring Connector

Java Configuration

  • There was an issue with nested @Configuration classes that extend AbstractCloudConfig triggering ClassNotFound exceptions when spring-data-jpa, spring-data-mongodb, spring-data-redis, or spring-amqp are not present on the runtime classpath. This issue has been resolved, so only the dependencies actually needed by the application are required at runtime.

Relational Databases

  • The HikariCP connection pooling library is now supported when creating a DataSource, along with Tomcat and Apache Commons pooling libraries.

RabbitMQ

  • RabbitConnectionFactoryConfig will now accept a map of key/value pairs to allow setting arbitrary properties of the created ConnectionFactory. This can be used by Java configuration or XML configuration.

Redis

  • RedisConnectionFactoryConfig will now accept a map of key/value pairs to allow setting arbitrary properties of the created RedisConnectionFactory. This can be used by Java configuration or XML configuration.
    MongoDB
  • MongoDbFactoryCreator now passes the authSource from the URI to the MongoDbFactory.
  • MongoDbFactoryCreator now accepts a URL that contains a list of replica sets.

Discover new technologies simplifying running containers and data services in production with this free eBook by O'Reilly. Courtesy of Mesosphere.

Topics:

Published at DZone with permission of Pieter Humphrey, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}