52 Commits

Author SHA1 Message Date
Scott Frederick
68744a312e Upgrade Jackson to 2.9.9.1. 2019-07-08 14:10:17 -05:00
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
Scott Frederick
f58be0c8ca Cleanup build. 2018-11-16 17:20:43 -06:00
Jake Zingler
e59086ac96 Adds test for special chars in postgres url
Signed-off-by: Biju Kunjummen <biju.kunjummen@gmail.com>
2018-01-02 16:53:48 -08:00
Jake Zingler
c4aae87e0a Supports special characters in mysql jdbc urls
Signed-off-by: Biju Kunjummen <biju.kunjummen@gmail.com>
2018-01-02 14:01:38 -08:00
Jake Zingler
c504111f24 Supports user info with special uri chars "%, :, +"
Signed-off-by: Biju Kunjummen <biju.kunjummen@gmail.com>
2018-01-02 13:47:31 -08:00
Scott Frederick
e716122f0c Change Cloud Foundry detection for Cassandra to use required credentials fields. Add Cassandra to docs. 2017-10-26 18:03:12 -05:00
Scott Frederick
5896a0b8b1 Make all tags comparisons case-insensitive in Cloud Foundry connector. 2017-10-25 16:01:24 -05:00
Scott Frederick
d4179cbd1d Provide a default value for the AMQP port if not provided in the URI. 2017-10-23 16:03:40 -05:00
Scott Frederick
1361518db0 Support RabbitMQ URLs with URL-encoded vhost. 2017-10-23 14:56:04 -05:00
Scott Frederick
8b774ea392 Merge pull request #176 from mp911de/cassandra
Add support for Cassandra
2017-10-20 16:13:57 -05:00
Scott Frederick
0cb7c25754 Add service data postprocessor extension point to cf connector. 2017-05-09 09:47:19 -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
61cfcd1c32 Use consistent formatting in test json files. 2016-11-02 20:27:36 -05:00
Scott Frederick
eff000d30f Handle missing or empty credentials in VCAP_SERVICES environment variable in CloudFoundryConnector without throwing NPE. 2016-11-02 20:26: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
1790affa29 Update gradle to 2.10. Update versions used in matrixTest. 2016-06-29 22:17:48 -04: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
86780fbc60 Prevent errors when only a JDBC URL is given in Cloud Foundry connectors. 2015-08-21 12:00:01 -05:00
Scott Frederick
6f1b17d12d Provide access to URL fields when jdbcUrl is provided in Cloud Foundry connector. 2015-08-20 18:43:48 -05:00
Scott Frederick
9b4139c8dd Polish SQL Server support and fix unit tests. 2015-07-24 11:13:53 -05: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
7b32fceb6f Fix failing unit test. 2015-06-11 08:57:03 -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
mariobriggs
14c5ffc2e9 support for DB2 in cloud properties 2015-05-25 19:41:09 +05:30
Scott Frederick
9e1277c7c2 Use getId() convenience method in Cloud Foundry ServiceInfoCreators to reduce duplication. 2015-05-22 09:47:44 -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
494695fd3c Add test for parsing Qpid AMQP URLs. 2015-05-18 16:14:26 -05:00
Scott Frederick
b6882df6ae If a jdbcUrl field is present in the credentials field in relational service connectors, prefer to use it unchanged over building a jdbcUrl from other credentials fields. 2015-05-11 18:56:17 -05:00
William Gautier
a439c0268f Add null check for credentials map 2015-04-30 11:43:27 -07:00
Allan Baril
085f1033fc @xtreme-allan: Switched indentation to tabs instead of spaces. 2015-02-23 12:15:12 -05:00
Allan Baril
e689f15739 @xtreme-allan: Added support for pulling out "http_api_uri" for the CF AMQP connector [Finished #104] 2015-02-20 14:19:31 -05:00
Scott Frederick
32e278b284 Added detection of Cloud Foundry service type based on uriScheme in credentials key. 2015-01-13 12:59:15 -06:00
Chris Schaefer
58ef61296a Move spring-cloud-pcf-connector to its own repo, modify test jar creation in spring-cloud-cloudfoundry-connector to build a jar with the classes 2015-01-12 22:18:20 -05:00
Chris Schaefer
f2be5e9430 GitHub issue #96: Direct dependency on log4j framework
* Remove log4j dependency from spring-cloud-spring-service-connector build.gradle
   & version var in main build.gradle
* Remove log4j.properties files from test resource packages
2014-11-24 15:46:29 -05:00
Scott Frederick
a310863890 Made parsing of SMTP credentials on Cloud Foundry more flexible. Changed Spring connector for SMTP to return JavaMailSender instead of MailSender. 2014-11-17 13:34:05 -06:00
Scott Frederick
20c7aba1f6 Add support for multiple URI schemes for service type detection. Add verification of detected ServiceInfo type in CloudFoundryConnector tests. 2014-10-31 15:33:51 -05:00
Christopher Smith
1b675fa5e7 Overhaul Markdown documentation. Spring connector still needs rework.
link check

rewrite main README

link check

rewrite core doc

rephrase heading for clarity

weird GFM indentation in code blocks

info on adding ServiceInfos

update docs for Heroku and CF connectors

improve docs for local connector

tweak description of service connectors

edits as discussed in #54

reword Spring registration
2014-07-18 14:16:37 -05:00
Christopher Smith
488cd6aaeb typo in constant name 2014-07-14 15:21:09 -05:00
Christopher Smith
a184e7b0d8 pull up SMTP URI scheme 2014-07-14 15:21:09 -05:00
Christopher Smith
0fcfa7c653 pull up Redis URI scheme 2014-07-14 15:21:09 -05:00
Christopher Smith
eb732d792e pull up Postgres URI schema, split out JDBC URL types--this should
probably be done in the interface instead of ad-hocky
2014-07-14 15:21:09 -05:00
Christopher Smith
dfa8b87670 pull up Oracle URI scheme 2014-07-14 15:21:09 -05:00
Christopher Smith
9ef5d5da70 pull up MySQL URI scheme 2014-07-14 15:21:09 -05:00
Christopher Smith
5987c05c6e pull up URI scheme for RabbitMQ 2014-07-14 15:21:09 -05:00
Christopher Smith
5ce0b402bf constant for MongoDB URI scheme 2014-07-14 15:21:08 -05:00
Scott Frederick
d0ab849909 Added support for "host" in addition to "hostname" in credentials for RedisServiceInfoCreator. 2014-05-28 13:02:58 -05:00