Граф коммитов

103 Коммитов

Автор SHA1 Сообщение Дата
Jason Konicki a378d53f4e Add moved notice to the readme 2019-05-15 09:52:20 -04:00
Tim Hess b7f232410a http/s, cleanup 2019-03-27 14:29:05 -05:00
Tim Hess 52bd7ee748
Merge pull request #18 from spring-operator/polish-urls-remaining-dev
URL Cleanup
2019-03-27 07:03:24 -05:00
Tim Hess c4217690bc
Merge pull request #14 from spring-operator/polish-urls-apache-license-dev
URL Cleanup
2019-03-27 07:02:36 -05:00
Tim Hess 4290789e0c
Merge pull request #21 from macsux/dev
Add IApplicationTask for cf tasks implementation
2019-03-27 06:56:14 -05:00
Andrew Stakhov 6a6f1ea3c5 Add IApplicationTask for cf tasks implementation 2019-03-26 22:57:01 -04:00
Spring Operator 795a240724 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://network.pivotal.io/open-source (301) with 1 occurrences migrated to:
  https://network.pivotal.io/open-source ([https](https://network.pivotal.io/open-source) result ReadTimeoutException).
* [ ] http://localhost/foobar (AnnotatedConnectException) with 4 occurrences migrated to:
  https://localhost/foobar ([https](https://localhost/foobar) result AnnotatedConnectException).
* [ ] http://foo/bar (UnknownHostException) with 2 occurrences migrated to:
  https://foo/bar ([https](https://foo/bar) result UnknownHostException).
* [ ] http://foo/test (UnknownHostException) with 2 occurrences migrated to:
  https://foo/test ([https](https://foo/test) result UnknownHostException).
* [ ] http://foo/test/bar/foo?test=1&test2=2 (UnknownHostException) with 2 occurrences migrated to:
  https://foo/test/bar/foo?test=1&test2=2 ([https](https://foo/test/bar/foo?test=1&test2=2) result UnknownHostException).
* [ ] http://foo:8080/test (UnknownHostException) with 2 occurrences migrated to:
  https://foo:8080/test ([https](https://foo:8080/test) result UnknownHostException).
* [ ] http://foundit:5555 (UnknownHostException) with 2 occurrences migrated to:
  https://foundit:5555 ([https](https://foundit:5555) result UnknownHostException).
* [ ] http://foundit:5555/test/bar/foo?test=1&test2=2 (UnknownHostException) with 2 occurrences migrated to:
  https://foundit:5555/test/bar/foo?test=1&test2=2 ([https](https://foundit:5555/test/bar/foo?test=1&test2=2) result UnknownHostException).
* [ ] http://fruitservice/api (UnknownHostException) with 2 occurrences migrated to:
  https://fruitservice/api ([https](https://fruitservice/api) result UnknownHostException).
* [ ] http://replaceme/api (UnknownHostException) with 3 occurrences migrated to:
  https://replaceme/api ([https](https://replaceme/api) result UnknownHostException).
* [ ] http://someresolvedhost/api (UnknownHostException) with 2 occurrences migrated to:
  https://someresolvedhost/api ([https](https://someresolvedhost/api) result UnknownHostException).
* [ ] http://vegetableservice/api (UnknownHostException) with 4 occurrences migrated to:
  https://vegetableservice/api ([https](https://vegetableservice/api) result UnknownHostException).

## 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://redis.io/ with 1 occurrences migrated to:
  https://redis.io/ ([https](https://redis.io/) result 200).
* [ ] http://redis.io/documentation with 1 occurrences migrated to:
  https://redis.io/documentation ([https](https://redis.io/documentation) result 200).
* [ ] http://redis.io/topics/license with 1 occurrences migrated to:
  https://redis.io/topics/license ([https](https://redis.io/topics/license) result 200).
* [ ] http://aspnetwebstack.codeplex.com/wikipage?title=Contributors with 1 occurrences migrated to:
  https://aspnetwebstack.codeplex.com/wikipage?title=Contributors ([https](https://aspnetwebstack.codeplex.com/wikipage?title=Contributors) result 301).

# Ignored
These URLs were intentionally ignored.

* http://test-server/ with 8 occurrences
2019-03-25 20:47:42 -05:00
Spring Operator 00ed17ec74 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 141 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-03-20 23:47:14 -05:00
Tim Hess ec6fdcff03 Steeltoe.Common.Net should target netstandard, move compatiblity check to MPR, fix mono build 2019-03-14 14:49:06 -05:00
Tim Hess e8aeda37db Add SourceLink [#158000056] 2019-03-14 13:51:21 -05:00
Tim Hess 9aac9bad5c add reference to Steeltoe.Common in Steeltoe.Common.Net, interface calls to mpr.dll for testability closes #9 [delivers #163132411] 2019-03-14 13:35:29 -05:00
Tim Hess 806489317d comments and a couple tests for WindowsNetworkFileShare #9 2019-03-14 12:03:23 -05:00
Tim Hess 760006c46f Include bouncycasle in other props files 2019-03-07 09:56:53 -06:00
Tim Hess bbd6b12877 Merge branch 'dev' 2019-03-07 09:53:05 -06:00
Tim Hess f0f8e4bd76 Add ILoadBalancer code comments 2019-03-07 09:50:53 -06:00
Dave Tillman 506e008d12 Fix Security csproj file 2019-02-26 07:50:24 -07:00
Dave Tillman 53d058817c Add Steeltoe.Common.Security package
Adds file based configuration provider to read PEM encoded certs and Keys and supports reload if the keys are rotated (i.e. Cloud Foundry)

Adds a IConfigureNamedOptions which reads from PEM config provider and converts the PEM files into PFX object and then into an X509Certificate2.

Adds a CertificateOptions that can be configured with the certificate and injected using the Options framework
2019-02-26 07:34:11 -07:00
Dave Tillman e4e762fa7b InetOptions enable setters for defaults 2019-02-24 15:22:56 -07:00
Dave Tillman 32fe4eae5e Add spring compat InetUtils 2019-02-24 14:47:42 -07:00
Tim Hess ffeeccded1 Merge branch 'dev' 2019-02-22 10:44:07 -06:00
Tim Hess 40d06a5252 Pluggable HttpClient-side load balancing (both loadbalancer-first and discovery-first options available), config-based service discovery [#161604101, #164080439]
allow async load balance determination, DelegatingHandlers should be Transient. initial RoundRobinLoadBalancer (non-distributed) [#159706042}

Add a distributed round robin load balancer [#159706042]

remove unused references

move potentially more generic classes up to .Common from .Http, ditch IDiscoveryLoadBalancer

Consolidate RoundRobins, add cache support for IServiceInstances

Alternate HttpMessageHandler registration method, non-generic handlers, singleton roundrobin load balancer, more tests

Mark LoadBalancerDelegatingHandler public

Pluggable load balancer and basic implementations

* Pluggable HttpClient-side load balancing (both loadbalancer-first and discovery-first options available) [delivers #161604101]
* Config-based service discovery [delivers #164080439]
* Automatic caching of service instance lookups when IDistributedCache is provided
* Random LoadBalancer
* RoundRobin LoadBalancer, optionally using IDistributedCache for index storage [delivers #159706042}
2019-02-22 10:42:27 -06:00
Tim Hess ef66c7e8c3 UrlEncode the access token uri when logging it guring a GetAccessToken operation 2019-02-14 14:19:29 -06:00
Dave Tillman b3dad42361 Change GetStatus signature in IServiceRegistry 2019-02-02 12:40:44 -07:00
Dave Tillman a692de496c Some Spring Cloud updates for servicce discovery 2019-02-01 08:35:36 -07:00
Hananiel Sarella 27020c563d
Merge pull request #7 from hananiel/targeting_packs
Enable cross platform compilation of the solution.
2019-01-04 17:23:04 -05:00
Dave Tillman 31b534ff07 Add a ReflectionHelpers (code from Connectors) to Common 2019-01-04 10:29:22 -07:00
Hananiel Sarella 0224c26431 Enable cross platform compilation of the solution.
Without a targeting pack running dotnet build on a mac/ubuntu will fail with a "Reference assemblies were not found".Adding these targeting pack will allow happy roundtripping between windows and mac or ubuntu. See https://github.com/dotnet/sdk/issues/335 for more details
2018-12-21 17:37:40 -05:00
Tim Hess f6e66b4c24 Fix typo in method name, mark typo version as deprecated closes #6 2018-12-17 12:45:59 -06:00
Tim Hess 56b952a87d Add an IConfigurationBuilder extension for property placeholder resolution closes #5 [delivers #162485771] 2018-12-06 12:02:47 -06:00
Tim Hess 575d8714c7 Loosen the coupling between DiscoveryHttpClientHandlerBase and HttpClientHandler to prevent breakage when used by a DelegatingHandler #4 2018-12-05 12:26:45 -06:00
Tim Hess 7a1927ad99 Add a method for iterating all config entries to evaluate property placeholders 2018-10-19 12:10:26 -05:00
Tim Hess 0068f76cfb Sign Nuget packages 2018-10-18 13:44:21 -05:00
Tim Hess bee2ed5f1c build 2.2.0, don't build tags, update sdk used in Travis 2018-10-12 11:49:53 -05:00
Tim Hess 658bd965f3 build version 2.1.1 2018-10-11 14:33:29 -05:00
Dave Tillman 25e165327c Update asp.net core test ref 2018-07-26 09:16:24 -06:00
Dave Tillman 9eb2316caf Update refs, ASP.NET Core 2.0.0, Extensions 2.0.0, unit tests run on 2..0,2.1,461 2018-07-26 09:13:38 -06:00
Dave Tillman 27521df48e Update Newton Soft version to 11.0.2 2018-07-13 10:53:11 -06:00
Tim Hess 412a9e9b47 expect the dotnet sdk to already be available in AppVeyor 2018-07-13 10:17:31 -05:00
Dave Tillman 899ddb54e8 Update refs 2018-07-13 09:03:04 -06:00
Dave Tillman 2c43d6cd2f DiagnosticsManager Dispose() should free up all resources 2018-07-12 13:39:43 -06:00
Dave Tillman 79ed23ba97 Enable DiagnosticManager to be used as singleton w/o DI 2018-07-06 11:51:04 -06:00
Tim Hess 55bffc448c Move Health interfaces to Common [#154972562] 2018-06-15 16:40:42 -05:00
Dave Tillman 1fb7f924d9 Add Platform.IsCloudFoundry property to check for VCAP_APPLICATION 2018-06-13 10:15:29 -06:00
Tim Hess ad1455d1a9 Service discovery HttpClientFactory work:
- Fix a logging glitch
- add some comments
- add a convenience method [delivers #158126903]
2018-06-07 15:47:22 -05:00
Tim Hess 9ff39bb99f Use asp.net core 2.1.0 RTM [delivers #155445875] 2018-06-01 11:17:13 -05:00
Tim Hess 9054125919 Add DiscoveryHttpMessageHandler, based on DiscoveryHttpClientHandlerBase [delivers #157634068] 2018-06-01 09:25:43 -05:00
Tim Hess 5c80129116 use the right .net sdk version in Travis [skip appveyor] 2018-05-16 12:49:28 -05:00
Tim Hess 2d996841c7 test against netcoreapp2.1 in TravisCI [skip appveyor] 2018-05-16 09:28:55 -05:00
Tim Hess 7f8540e55a install dotnet sdk 2.1.300-rc1 in appveyor builds 2018-05-16 09:27:18 -05:00
Tim Hess 75f8f80f90 tests target netcore2.1 [#157514780] 2018-05-16 08:45:17 -05:00