Spring Cloud Connectors 1.2.0 发布
欢迎加入运维网交流群:263444886Spring Cloud Connectors 1.2.0 发布,使用 Spring Cloud Connectors 的应用程序,以及扩展了 core Connectors 库的库,应重新编译的版本1.2.0。目前还没有1.1.1版本和1.2.0之间的后向兼容的API变化,但一些内部实现的更改,使得 1.2.0 无法不用重新编译就能更换为1.1.1。
1.2.0 的更新内容如下:
Additional Databases Supported
The Cloud Foundry Connector and Spring Connector now support IBM DB2 and Microsoft SQL Server relational databases.
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 ClassNotFoundexceptions 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.
[*] The Tomcat connection pooling support will now work with Tomcat 7 or Tomcat 8 DBCP 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.
更多内容请查看:发行说明。
Spring Framework 是一个开源的Java/Java EE全功能栈(full-stack)的应用程序框架,以Apache许可证形式发布,也有.NET平台上的移植版本。该框架基于 Expert One-on-One Java EE Design and Development(ISBN 0-7645-4385-7)一书中的代码,最初由 Rod Johnson 和 Juergen Hoeller等开发。Spring Framework 提供了一个简易的开发方式,这种开发方式,将避免那些可能致使底层代码变得繁杂混乱的大量的属性文件和帮助类。
页:
[1]