Spring Operator
f9078c5fc9
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.
* [ ] http://ca30db57-a396:ddrnu58423q@12.34.567.89:12345/api (UnknownHostException) with 2 occurrences migrated to:
https://ca30db57-a396:ddrnu58423q@12.34.567.89:12345/api ([https](https://ca30db57-a396:ddrnu58423q@12.34.567.89:12345/api ) result UnknownHostException).
* [ ] http://datastax-opscenter-cassandra.cf-app.com/opscenter/index.html (UnknownHostException) with 3 occurrences migrated to:
https://datastax-opscenter-cassandra.cf-app.com/opscenter/index.html ([https](https://datastax-opscenter-cassandra.cf-app.com/opscenter/index.html ) result UnknownHostException).
* [ ] http://dev.mysql.com/doc/refman/5.1/en/connector-j-usagenotes-j2ee.html (301) with 1 occurrences migrated to:
https://dev.mysql.com/doc/refman/5.1/en/connector-j-usagenotes-j2ee.html ([https](https://dev.mysql.com/doc/refman/5.1/en/connector-j-usagenotes-j2ee.html ) result 404).
* [ ] http://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/column/CassandraClusterConfig.html (301) with 2 occurrences migrated to:
https://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/column/CassandraClusterConfig.html ([https](https://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/column/CassandraClusterConfig.html ) result 404).
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://brettwooldridge.github.io/HikariCP/ with 2 occurrences migrated to:
https://brettwooldridge.github.io/HikariCP/ ([https](https://brettwooldridge.github.io/HikariCP/ ) result 200).
* [ ] http://cloud.spring.io/spring-cloud-connectors/ with 1 occurrences migrated to:
https://cloud.spring.io/spring-cloud-connectors/ ([https](https://cloud.spring.io/spring-cloud-connectors/ ) result 200).
* [ ] http://cloud.spring.io/spring-cloud-connectors/spring-cloud-connectors.html with 1 occurrences migrated to:
https://cloud.spring.io/spring-cloud-connectors/spring-cloud-connectors.html ([https](https://cloud.spring.io/spring-cloud-connectors/spring-cloud-connectors.html ) result 200).
* [ ] http://commons.apache.org/proper/commons-lang/javadocs/api-release/index.html?org/apache/commons/lang3/text/StrSubstitutor.html with 1 occurrences migrated to:
https://commons.apache.org/proper/commons-lang/javadocs/api-release/index.html?org/apache/commons/lang3/text/StrSubstitutor.html ([https](https://commons.apache.org/proper/commons-lang/javadocs/api-release/index.html?org/apache/commons/lang3/text/StrSubstitutor.html ) result 200).
* [ ] http://docs.spring.io/autorepo/docs/spring-cloud/1.1.2.BUILD-SNAPSHOT/api/org/springframework/cloud/service/keyval/RedisConnectionFactoryConfig.html with 3 occurrences migrated to:
https://docs.spring.io/autorepo/docs/spring-cloud/1.1.2.BUILD-SNAPSHOT/api/org/springframework/cloud/service/keyval/RedisConnectionFactoryConfig.html ([https](https://docs.spring.io/autorepo/docs/spring-cloud/1.1.2.BUILD-SNAPSHOT/api/org/springframework/cloud/service/keyval/RedisConnectionFactoryConfig.html ) result 200).
* [ ] http://docs.spring.io/autorepo/docs/spring-cloud/current/api/index.html?org/springframework/cloud/CloudConnector.html with 2 occurrences migrated to:
https://docs.spring.io/autorepo/docs/spring-cloud/current/api/index.html?org/springframework/cloud/CloudConnector.html ([https](https://docs.spring.io/autorepo/docs/spring-cloud/current/api/index.html?org/springframework/cloud/CloudConnector.html ) result 200).
* [ ] http://docs.spring.io/autorepo/docs/spring-cloud/current/api/index.html?org/springframework/cloud/ServiceInfoCreator.html with 2 occurrences migrated to:
https://docs.spring.io/autorepo/docs/spring-cloud/current/api/index.html?org/springframework/cloud/ServiceInfoCreator.html ([https](https://docs.spring.io/autorepo/docs/spring-cloud/current/api/index.html?org/springframework/cloud/ServiceInfoCreator.html ) result 200).
* [ ] http://docs.spring.io/autorepo/docs/spring-cloud/current/api/index.html?org/springframework/cloud/service/ServiceConnectorCreator.html with 2 occurrences migrated to:
https://docs.spring.io/autorepo/docs/spring-cloud/current/api/index.html?org/springframework/cloud/service/ServiceConnectorCreator.html ([https](https://docs.spring.io/autorepo/docs/spring-cloud/current/api/index.html?org/springframework/cloud/service/ServiceConnectorCreator.html ) result 200).
* [ ] http://docs.spring.io/autorepo/docs/spring-cloud/current/api/index.html?org/springframework/cloud/service/ServiceInfo.html with 2 occurrences migrated to:
https://docs.spring.io/autorepo/docs/spring-cloud/current/api/index.html?org/springframework/cloud/service/ServiceInfo.html ([https](https://docs.spring.io/autorepo/docs/spring-cloud/current/api/index.html?org/springframework/cloud/service/ServiceInfo.html ) result 200).
* [ ] http://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/Cloud.html with 2 occurrences migrated to:
https://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/Cloud.html ([https](https://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/Cloud.html ) result 200).
* [ ] http://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/config/java/AbstractCloudConfig.ServiceConnectionFactory.html with 1 occurrences migrated to:
https://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/config/java/AbstractCloudConfig.ServiceConnectionFactory.html ([https](https://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/config/java/AbstractCloudConfig.ServiceConnectionFactory.html ) result 200).
* [ ] http://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/PooledServiceConnectorConfig.PoolConfig.html with 5 occurrences migrated to:
https://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/PooledServiceConnectorConfig.PoolConfig.html ([https](https://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/PooledServiceConnectorConfig.PoolConfig.html ) result 200).
* [ ] http://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/PooledServiceConnectorConfig.html with 1 occurrences migrated to:
https://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/PooledServiceConnectorConfig.html ([https](https://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/PooledServiceConnectorConfig.html ) result 200).
* [ ] http://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/UriBasedServiceInfo.html with 1 occurrences migrated to:
https://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/UriBasedServiceInfo.html ([https](https://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/UriBasedServiceInfo.html ) result 200).
* [ ] http://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/document/MongoDbFactoryConfig.html with 2 occurrences migrated to:
https://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/document/MongoDbFactoryConfig.html ([https](https://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/document/MongoDbFactoryConfig.html ) result 200).
* [ ] http://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/messaging/RabbitConnectionFactoryConfig.html with 2 occurrences migrated to:
https://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/messaging/RabbitConnectionFactoryConfig.html ([https](https://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/messaging/RabbitConnectionFactoryConfig.html ) result 200).
* [ ] http://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/relational/DataSourceConfig.ConnectionConfig.html with 1 occurrences migrated to:
https://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/relational/DataSourceConfig.ConnectionConfig.html ([https](https://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/relational/DataSourceConfig.ConnectionConfig.html ) result 200).
* [ ] http://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/relational/DataSourceConfig.html with 5 occurrences migrated to:
https://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/relational/DataSourceConfig.html ([https](https://docs.spring.io/autorepo/docs/spring-cloud/current/api/org/springframework/cloud/service/relational/DataSourceConfig.html ) result 200).
* [ ] http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/jdbc/datasource/SimpleDriverDataSource.html with 2 occurrences migrated to:
https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/jdbc/datasource/SimpleDriverDataSource.html ([https](https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/jdbc/datasource/SimpleDriverDataSource.html ) result 200).
* [ ] http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/mail/MailSender.html with 2 occurrences migrated to:
https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/mail/MailSender.html ([https](https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/mail/MailSender.html ) result 200).
* [ ] http://example.com with 18 occurrences migrated to:
https://example.com ([https](https://example.com ) result 200).
* [ ] http://github.com/ with 4 occurrences migrated to:
https://github.com/ ([https](https://github.com/ ) result 200).
* [ ] http://projects.spring.io/spring-data/ with 2 occurrences migrated to:
https://projects.spring.io/spring-data/ ([https](https://projects.spring.io/spring-data/ ) result 200).
* [ ] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 1 occurrences migrated to:
https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd ) result 200).
* [ ] http://www.springframework.org/schema/cloud/spring-cloud.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/cloud/spring-cloud.xsd ([https](https://www.springframework.org/schema/cloud/spring-cloud.xsd ) result 200).
* [ ] http://www.vmware.com/download/open_source.html with 1 occurrences migrated to:
https://www.vmware.com/download/open_source.html ([https](https://www.vmware.com/download/open_source.html ) result 200).
* [ ] http://cloudfoundry.org/ with 1 occurrences migrated to:
https://cloudfoundry.org/ ([https](https://cloudfoundry.org/ ) result 301).
* [ ] http://plugins.jetbrains.com/plugin/6546 with 1 occurrences migrated to:
https://plugins.jetbrains.com/plugin/6546 ([https](https://plugins.jetbrains.com/plugin/6546 ) result 301).
* [ ] http://raw.github.com/ with 4 occurrences migrated to:
https://raw.github.com/ ([https](https://raw.github.com/ ) result 301).
* [ ] http://myapp.com with 1 occurrences migrated to:
https://myapp.com ([https](https://myapp.com ) result 302).
# Ignored
These URLs were intentionally ignored.
* http://username:password@rabbitmq-broker:12345/api with 2 occurrences
* http://www.springframework.org/schema/beans with 4 occurrences
* http://www.springframework.org/schema/cloud with 4 occurrences
* http://www.springframework.org/schema/tool with 2 occurrences
* http://www.w3.org/2001/XMLSchema with 1 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 1 occurrences
2019-03-28 20:35:28 -10:00
Spring Operator
aa630e457b
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://www.apache.org/licenses/ with 2 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 20 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
2019-03-22 14:48:48 -05:00
Gareth Clay
8841c47d8f
Handle drivers which don't support URL-encoding
...
1.2.6 introduced a change to URL-encode credentials in JDBC connection
strings by default. This was to prevent special characters from
interfering with connections, but unfortunately some drivers can't
handle the encoding. Also in some clouds, the JDBC URL is passed to us
in URL encoded form. Again, in the case where the driver is unable to
URL-decode the URL itself, this causes connection failures.
This commit introduces `UrlDecodingDataSource`, which is returned in all
cases by whichever `DataSourceCreator` is in play.
`UrlDecodingDataSource` transparently delegates to an underlying
`DataSource`, except in the case where a connection attempt is made and
no previous connection attempt has been successful. In this case, if the
connection attempt with the configured JDBC URL fails, a test connection
is attempted using a URL-decoded version of the JDBC URL. If this is
successful, the underlying `DataSource` is updated with the decoded JDBC
URL and used to provide a final connection, which is returned to the
client.
Fixes gh-237
2018-11-02 15:15:09 +00:00
Scott Frederick
d0d80ce5a2
Fix RabbitMQ spring connector tests when run against RabbitMQ client 5.4.x.
2018-09-11 14:44:53 -05:00
Scott Frederick
0696867267
Turn down logging levels for common messages.
2017-10-26 13:44:29 -05:00
Scott Frederick
1361518db0
Support RabbitMQ URLs with URL-encoded vhost.
2017-10-23 14:56:04 -05:00
Mark Paluch
8bd5efb63c
Add support for Cassandra
...
Add connectors for Cassandra Cluster instances with Java and XML-based configuration. Cassandra configuration is obtained using the single-tenant Datastax/Cassandra tile.
2017-04-20 11:03:00 +02:00
Scott Frederick
9030d0f717
Add tests to verify ConnectionConfiguration mapping to pooled DataSource providers.
2017-01-30 18:21:22 -06:00
Scott Frederick
93631a2667
Fix typos in javadoc.
2016-10-24 16:22:38 -05:00
Scott Frederick
7d090c9993
Configure HikariCP with values from PoolConfig. Add tests to verify PoolConfig values are applied for all connection pool providers.
2016-10-24 16:17:58 -05:00
Scott Frederick
ff2b601d18
Handle missing or empty VCAP_SERVICES environment variable in CloudFoundryConnector without throwing NPE.
2016-10-21 16:19:43 -05:00
Scott Frederick
cdef9edcf1
Merge branch 'mongo-3-compatibility' of https://github.com/wilkinsona/spring-cloud-connectors into wilkinsona-mongo-3-compatibility
2016-06-29 22:34:54 -04:00
Scott Frederick
1790affa29
Update gradle to 2.10. Update versions used in matrixTest.
2016-06-29 22:17:48 -04:00
Scott Frederick
b677e18353
Merge pull request #169 from wilkinsona/amqp-channel-cache-size
...
Don't hardcode Spring AMQP's default channel cache size
2016-06-29 14:24:32 -04:00
Andy Wilkinson
faebcf2924
Update tests to also be compatible with Mongo 3.2.x
2016-06-28 09:29:24 +01:00
Andy Wilkinson
b4466020d6
Don't hardcode Spring AMQP's default channel cache size
...
The default channel cache size was changed as a result of
https://jira.spring.io/browse/AMQP-606 . This means that Cloud
Connectors tests are broken when run against Spring AMQP 1.6 (as
the IO Platform compatibility builds do).
Similar to bed0d7f8 , this commit updates the test helper to retrieve
the actual default via reflection rather than hardcoding it.
2016-06-27 17:20:32 +01:00
Glyn Normington
8d778905d6
typo
2016-06-10 16:58:56 +01:00
Mark Paluch
7d5d9aea3d
Add support for lettuce Redis client configuration.
...
Support lettuce as alternative Redis client. RedisConnectionFactory supports jedis and lettuce, depending on the available classes.
2016-05-01 19:42:54 +02:00
Scott Frederick
7166d7408d
Fix typo in log message.
2016-03-02 11:42:24 -06:00
Gary Russell
bed0d7f83c
GH-154 Fix Rabbit Tests with 3.6 Client
...
Fixes GH-154
2016-01-15 09:53:25 -05:00
Ben Klein
d34b3ee86e
remove subproject READMEs
2015-12-08 12:10:27 -06:00
Ben Klein
e73d48f597
remove docs from READMEs
2015-12-08 11:31:15 -06:00
Scott Frederick
a6d19e86d1
Add the ability to pass a map of connection properties to the DataSource service connection creator for more control over the created DataSource.
2015-11-20 17:01:04 -06:00
Scott Frederick
05930a4e73
Change order of DataSource selection to match Spring Boot.
2015-11-19 17:35:07 -06:00
Scott Frederick
f0eddbd615
Support XML config for customizing the order of pooled DataSource implementations in Spring connector.
2015-08-26 15:47:51 -05:00
Scott Frederick
eaa65c2bf1
All clients to customize the order of pooled DataSource implmentations in Spring connector.
2015-08-26 13:27:49 -05:00
Scott Frederick
c61f6a6fe7
Merge pull request #128 from ilayaperumalg/fix-typo
...
Fix typo
2015-08-21 12:40:34 -05:00
Scott Frederick
9e78abe2fc
Merge pull request #127 from gtantachuco-pivotal/master
...
Added support for MS-SQL and Azure SQL DB
2015-07-24 10:46:03 -05:00
Scott Frederick
bde7ae2048
Merge pull request #130 from dsyer/fix/gh-129
...
Use MongoOptions and MongoClientURI to build MongoClient
2015-07-24 10:32:04 -05:00
Scott Frederick
e3eae31995
Support tomcat 7 and tomcat 8 datasource connection pooling.
2015-07-23 20:04:05 -05:00
Dave Syer
e1fdc3ff2b
Use MongoOptions and MongoClientURI to build MongoClient
...
The way that Spring Data Mongo conctructs a MongoDb has changed in
Spring Data 1.8.0 to align with the recommended way from 10gen. This
involves leaving the user credentials embedded in the URI if they are
there, which they always are in Spring Cloud Connectors.
Fixes gh-129
2015-07-22 16:17:57 +01:00
Ilayaperumal Gopinathan
88d75569b5
Fix typo
2015-07-14 09:40:14 -07:00
GuillermoTantachuco
fb27a51656
Adding tests for MS-SQL/Azure SQL
2015-07-14 10:03:41 -05:00
GuillermoTantachuco
0ab513cd94
Added support for MS-SQL and Azure SQL DB
...
Added support for MS-SQL and Azure SQL DB
2015-07-13 22:04:29 -05:00
Scott Frederick
6ab5fd9a34
Merge branch 'master' of https://github.com/spring-cloud/spring-cloud-connectors
2015-06-11 08:14:29 -05:00
Scott Frederick
3592f34bf3
Use tabs for indentation consistently.
2015-05-27 09:50:09 -05:00
mariobriggs
5f91189fd9
Added DB2DataSourceCreator and related tests. Fixed tags &
...
username/password in jdbcurl of DB2ServiceInfo
2015-05-27 12:14:28 +05:30
Scott Frederick
4a3f169252
Polish Hikari pooling PR.
2015-05-22 11:13:38 -05:00
Scott Frederick
0a77349303
Merge branch 'HikariCP' of https://github.com/AssuredLabor/spring-cloud-connectors into AssuredLabor-HikariCP
2015-05-22 11:08:16 -05:00
Scott Frederick
625040ca1a
Fix issue with eager class loading of nested @Configuration classes extending AbstractCloudConfig.
2015-05-21 18:07:35 -05:00
Scott Frederick
66b582c396
Add support for multiple URIs in credentials for AMQP/RabbitMQ.
2015-05-20 14:52:30 -05:00
Scott Frederick
6c61048fcc
Rationalize handling of URIs in UriBasedServiceInfo and supporting classes. If a URI string is provided, use it without parsing and rebuilding. If URI parts are provided, build a URI from the parts and save the resulting URI string.
2015-05-18 18:53:17 -05:00
Scott Frederick
06b9fd1bb4
Allow empty path in AMQP URIs to support using the default vhost.
2015-05-11 17:04:29 -05:00
Scott Frederick
30c40dd0d8
Add the ability to pass a map of connection properties to the Redis service connection creator for more control over the created ConnectionFactory. Move connection properties in Rabbit XML configuration up one level.
2015-05-08 17:10:57 -05:00
Scott Frederick
e2cd8edda5
Add the ability to pass a map of connection properties to the Rabbit service connection creator for more control over the created ConnectionFactory.
2015-05-08 14:38:46 -05:00
Scott Frederick
2e3129a46f
Allow authSource in the Mongo URI to be passed along.
2015-05-07 15:09:50 -04:00
Scott Frederick
6a5115e3de
Merge branch 'master' of https://github.com/spring-cloud/spring-cloud-connectors
2015-05-07 11:06:27 -04:00
Scott Frederick
266cae35ab
Convert indentation from spaces to tabs.
2015-05-07 10:57:59 -04:00
Scott Frederick
5ab6a973bb
Add support for de-referencing FactoryBeans when returned from a ServiceConnectionCreator.
2015-05-07 10:54:58 -04:00
Spencer Gibb
337c572d2a
Support creation of a MongoDbFactory with default (no) credentials
2015-04-29 14:29:16 -06:00