Commit Graph

824 Commits

Author SHA1 Message Date
Dave Syer
f9fc8ba8aa Change signature of RouteLocator.getRoutes()
If it returns Routes instead of Strings it's a lot more obvious
what it's supposed.
2016-01-15 15:34:42 +00:00
Dave Syer
2585798ab5 Consolidate RouteLocator features in base class 2016-01-15 15:34:42 +00:00
Marcin Grzejszczak
1d85260ccd Fixed wrong branch of the script for e2e 2016-01-15 12:36:54 +01:00
Marcin Grzejszczak
e4f81fb62e Updated e2e scripts 2016-01-15 12:36:03 +01:00
Marcin Grzejszczak
1e582dea0a Added killing of apps after e2e tests 2016-01-15 10:40:14 +01:00
Spencer Gibb
f00f761996 Support feign hystrix fallbacks.
Added @FeignClient(fallback).

Renamed FeignClientFactory to FeignContext.

fixes gh-762
2016-01-14 16:19:59 -07:00
Spencer Gibb
390f0016e6 Upgrade to Feign 8.14.1
fixes gh-727
2016-01-14 16:19:59 -07:00
Dave Syer
3ecd9cb0cf Move discovery related route locator stuff into a new package 2016-01-14 17:15:30 +00:00
Dave Syer
9161c54c43 Factor out common interface from ProxyRouteLocator
The RouteLocator interface wasn't very useful to anyone in its
1.0.x form. If ProxyRouteLocator features are consolidated into
the RouteLocator interface then users can supply their own
strategies more easily.

Also added RefreshableRouteLocator for implementations that need
to recompute routes when something changes. SimpleRouteLocator
doesn't need to do that because all the routes are in the configuration.
2016-01-14 17:15:30 +00:00
Spencer Gibb
b4cf375044 ignore ipr 2016-01-12 15:53:24 -07:00
Spencer Gibb
b894f8dbb3 Upgrade archaius to v 0.7.3
Added spring-cloud-starter-archaius so downstream projects
like consul and zookeeper don't need to maintain the list of
archaius depenencies.

fixes gh-765
2016-01-12 11:19:16 -07:00
Spencer Gibb
af88007cc3 Merge pull request #745 from jkschneider/metrics-deconflict-services
Servo and Spectator metrics defer to other Counter/GaugeServices
2016-01-12 10:42:47 -07:00
Spencer Gibb
c1e567afc7 Move eureka-client code to separate module.
This move should be transparant to users of spring-cloud-starter-eureka.

fixes gh-579
2016-01-11 16:45:30 -07:00
Marcin Grzejszczak
1ee1a924ba Reverting changes before adding acceptance tests 2016-01-08 22:16:38 +01:00
Dave Syer
704fa7a1be Ensure we are using dependencies poms from other projects 2016-01-08 16:40:06 +00:00
Dave Syer
682b71565d Add profile for repos 2016-01-08 13:24:31 +00:00
Dave Syer
3f742d9675 Add spring-cloud-netflix-dependencies module as a BOM
The new module is a BOM that doesn't have any parent or direct
dependency management in spring-boot-*. So users can include it
in their dependency management without polluting the spring boot
dependency versions.

Luckily it can also be used in the main spring-cloud-netflix pom,
which should no longer be used as a BOM.
2016-01-07 13:45:46 +00:00
Dave Syer
0e8ce13c07 Copy javadocs from interfaces to config property fields 2015-12-30 17:55:05 +00:00
Dave Syer
e4a1b50edb Change name of mispelled class 2015-12-30 17:54:03 +00:00
Dave Syer
832bd41f5d Add some docs for config properties 2015-12-30 15:06:30 +00:00
Jon Schneider
af5c2360ea Servo and Spectator metrics defer to other Counter/GaugeService implementations 2015-12-28 14:31:10 -06:00
Marcin Grzejszczak
86e16f58b9 Analysing the stalling test issue 2015-12-28 18:34:37 +01:00
Marcin Grzejszczak
13aa5be9b9 Changing maven logging level 2015-12-28 17:40:03 +01:00
Marcin Grzejszczak
1e13740bda Trying to fix the hanging build 2015-12-28 17:10:52 +01:00
Marcin Grzejszczak
7e738dedc5 Temporarilly adding more logging to maven 2015-12-28 16:43:50 +01:00
Spencer Gibb
d809ac9999 fix eureka-first test 2015-12-23 17:34:30 -07:00
Marcin Grzejszczak
952be93124 Removed unnecessary sudo: false 2015-12-23 18:56:16 +01:00
Marcin Grzejszczak
096f452cfa Trying to make the build pass 2015-12-23 16:28:08 +01:00
Marcin Grzejszczak
7b8a02ede8 Added running of acceptance-tests 2015-12-23 10:43:45 +01:00
Spencer Gibb
94c73da943 Use new InetUtils bean to determin nic.
Allows for more fine-grained configuration of what to ignore.
2015-12-22 18:10:56 -07:00
Spencer Gibb
03f6d12e50 Implement ServiceInstance.getMetadata.
Introduce ServerIntrospector.getMetadata(Server).

fixes gh-419
2015-12-22 15:04:57 -07:00
Spencer Gibb
8938aa4621 Revert "Update SNAPSHOT to MILESTONE 1.1.0.M4"
This reverts commit 721fdc5918.
2015-12-22 11:25:47 -07:00
Spencer Gibb
721fdc5918 Update SNAPSHOT to MILESTONE 1.1.0.M4 2015-12-22 11:21:20 -07:00
Marcin Grzejszczak
ad2716c361 Removed increased polling interval 2015-12-21 14:59:53 +01:00
Marcin Grzejszczak
fae2c5d1b5 Increasing polling interval for e2e tests even more 2015-12-21 13:39:30 +01:00
Marcin Grzejszczak
de1021e20c Increased polling interval for e2e tests 2015-12-21 13:05:27 +01:00
Marcin Grzejszczak
e5a58ef7c1 Removed version param to use default BOM Brixton Snapshot version 2015-12-18 23:12:44 +01:00
Spencer Gibb
d36fff1772 remove outdated RUNNING.md 2015-12-18 13:46:41 -07:00
Spencer Gibb
8d259b9d8f Merge pull request #669 from zanella/invalid_hostname
* invalid_hostname:
  Added check for invalid hostname
2015-12-18 13:11:53 -07:00
Rafael Zanella
7c7513ee25 Added check for invalid hostname
The exception class has to be "fixed"

You may register a serviceId with invalid URI characters (e.g.: '_'), but the URI::getHost() fails when such chars are found.
2015-12-18 13:11:22 -07:00
Spencer Gibb
4ffeff200e Merge pull request #734 from hscholz/master
* pull734:
  fixes gh-716 adds option to decode 404s
2015-12-18 12:47:55 -07:00
hscholz
66c047e6d5 fixes gh-716 adds option to decode 404s 2015-12-18 12:12:29 -07:00
Spencer Gibb
a00fd2c348 Merge pull request #663 from jettro/master
* pull663:
  Case insensitive Content-Encoding check
2015-12-18 11:22:07 -07:00
Jettro Coenradie
f707e5f053 Case insensitive Content-Encoding check
Fixes a problem with a header in the response containing
content-encoding in lowercase letters. Uses HttpHeaders for case
insensitve check.

Also fixes an issue checking if a request is made for gzip content.
If headers has more than gzip (ie gzip,deflate,sdch), checks if
contains gzip instead of equals to.

Fixes gh-662
2015-12-18 11:21:18 -07:00
Spencer Gibb
a61c18c69c polish 2015-12-18 10:50:31 -07:00
Spencer Gibb
7234a99756 Merge pull request #735 from jkschneider/metrics-gauge-deconflict
* jkschneider-metrics-gauge-deconflict:
  Deconflict GaugeService provided by Servo/Spectator integration
2015-12-18 10:50:10 -07:00
Jon Schneider
33d651847d Deconflict GaugeService provided by Servo/Spectator integration 2015-12-18 09:07:41 -08:00
Dave Syer
2bb6befbca Add vanilla integration tests 2015-12-18 11:48:47 +00:00
Dave Syer
2f0d425b66 Allow URL to be host only (per javadocs) 2015-12-18 11:33:34 +00:00
Spencer Gibb
bad20d3fcc Migrate SpringClientFactory and FeignClientFactory
Now uses spring-cloud-context NamedContextFactory.

see https://github.com/spring-cloud/spring-cloud-commons/issues/69
2015-12-17 14:33:11 -07:00