Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
294 commits
Select commit Hold shift + click to select a range
3a237bd
zuul-core: avoid warnspam on SSL connections
carl-mastrangelo Apr 15, 2020
6373b6e
all: run CI with JDK14
carl-mastrangelo Apr 17, 2020
0770a85
all: use Mockito 3
carl-mastrangelo Apr 18, 2020
3928932
zuul-sample: fix module installation
carl-mastrangelo Apr 18, 2020
3988f9b
all: fix license exclude rules
carl-mastrangelo Apr 18, 2020
3c6bf8f
zuul-guice: fix lint warnings on test
carl-mastrangelo Apr 18, 2020
37b6c6e
zuul-core: fix javadoc lint warnings
carl-mastrangelo Apr 18, 2020
4b9ee15
all: bump to groovy 3.0.3
carl-mastrangelo Apr 18, 2020
3ac48f1
all: bump guava to 29.0
carl-mastrangelo Apr 18, 2020
1403911
zuul-guice: avoid AOP build to reduce jdk11 warnings
carl-mastrangelo Apr 18, 2020
e031117
zuul-core: make address selection logic overridable
carl-mastrangelo Apr 20, 2020
e7be794
zuul-processor: Make a Configuration based processor, and stop produc…
carl-mastrangelo Apr 21, 2020
9e0adb0
all: roll back groovy dep as it seems to break publishing
carl-mastrangelo Apr 21, 2020
ff934c2
all: pin version
carl-mastrangelo Apr 21, 2020
14cbe44
zuul-core,zuul-groovy: split groovy support to a separate package
carl-mastrangelo Apr 27, 2020
cab193e
zuul-core: avoid using servo api in direct memory monitor
carl-mastrangelo Apr 27, 2020
1742abb
zuul-core: fix direct memory usage by passing non-null ref
carl-mastrangelo Apr 28, 2020
269a9dc
Revert "all: roll back groovy dep as it seems to break publishing" (#…
carl-mastrangelo Apr 28, 2020
49abcdd
zuul-core: bump jmh to 1.23
carl-mastrangelo Apr 28, 2020
9615f98
zuul-core: avoid using servo api in ServerChannelMetrics
carl-mastrangelo Apr 29, 2020
98d91c5
zuul-core: remove a few more servo refs
carl-mastrangelo May 1, 2020
fe5c5b1
make use of adjust retry policy method before retrying
artgon May 5, 2020
84da02a
Merge pull request #806 from Netflix/adjust-retry-policy
artgon May 5, 2020
d700e2f
zuul-core: make filterOrder, type, and sync derived from the annotations
carl-mastrangelo May 5, 2020
d9f67b5
zuul-core: revert passport changes, as the parent class overrides the…
carl-mastrangelo May 6, 2020
41ceed1
zuul-core: allow expressing ApplyBefore rules
carl-mastrangelo May 6, 2020
85998d0
add ability to provide headers on request rejection
artgon May 12, 2020
a8e091c
update javadocs
artgon May 12, 2020
dbdc246
more javadoc updates
artgon May 12, 2020
cf8bff8
Merge pull request #809 from Netflix/rejection-headers
artgon May 12, 2020
9724dd4
all: update to netty 4.1.50
carl-mastrangelo May 14, 2020
568f82e
all: update to gradle 6.4
carl-mastrangelo May 14, 2020
b44d4fe
add blacklist for allowing XFF headers
artgon May 27, 2020
ab6a7a6
update license
artgon May 27, 2020
4eee88d
fixed the wrong file...
artgon May 27, 2020
76eaef5
add test for strip
artgon May 27, 2020
b33e5e2
replace lowercase with equalsIgnoreCase
artgon May 28, 2020
53e4ab0
casing test
artgon May 28, 2020
06e78f8
Merge pull request #816 from Netflix/allow-xff-blacklsit
artgon May 28, 2020
d9a45a0
Add counter to track HAPM decode failures when proxy protocol is enabled
argha-c Jun 10, 2020
1023d4f
zuul-core: minor clean up of SSL metrics
carl-mastrangelo Jun 11, 2020
ce79b07
zuul-core: use async mapping for SNI handling
carl-mastrangelo Jun 11, 2020
c68f98c
zuul-core: allow overriding the keymaterial setup of BaseSslContextBu…
carl-mastrangelo Jun 15, 2020
e6da17e
zuul-core: remove references to metatron in ssl config
carl-mastrangelo Jun 16, 2020
4bfdd88
zuul-core: avoid servo in RouteStatusCodeMonitor
carl-mastrangelo Jun 16, 2020
adf5921
all: remove references to Servo
carl-mastrangelo Jun 19, 2020
05dfa73
zuul-core: Add utility for case insensitive lookup of a query param
argha-c Jun 25, 2020
fe690b4
Update link to correct page
argha-c Jun 25, 2020
44b292b
Cleanup unused imports
argha-c Jun 25, 2020
5f58a38
enable Dependabot v2 (#832)
sullis Jun 27, 2020
43c0319
all: bump spectator and jackson
carl-mastrangelo Jul 6, 2020
40dfc18
all: bump perfmark to 0.22.0
carl-mastrangelo Jul 9, 2020
6deec50
zuul-core: use lighter weight perfmark tracing calls
carl-mastrangelo Jul 9, 2020
ab6680d
all: bump to netty 4.1.51
carl-mastrangelo Jul 9, 2020
d1cc4cd
build(deps): bump nebula.dependency-lock from 9.0.0 to 9.3.0 (#850)
dependabot[bot] Jul 14, 2020
433db6c
sanitize header fields and values
artgon Jul 15, 2020
e2884a6
set default size of StringBuilder
artgon Jul 15, 2020
8544768
all: update to tcnative 2.0.31
carl-mastrangelo Jul 15, 2020
6901735
modify to validate instead of sanitize
artgon Jul 15, 2020
6aeec00
add metric
artgon Jul 15, 2020
76f6ca7
Merge pull request #851 from Netflix/valid-headers
artgon Jul 15, 2020
2c8afd2
enable stacktrace for invalid headers
artgon Jul 15, 2020
97fb5af
use separate API for validation not to break existing functionality
artgon Jul 15, 2020
fa99187
Merge pull request #854 from Netflix/validate-api
artgon Jul 15, 2020
60ce350
add javadoc for exception throwing
artgon Jul 15, 2020
9a35563
zuul-core:fix 802,Null pointer Exception in PassportLoggingHandler
Jun 29, 2020
faabeb3
Assert status category set on TooLongFrameException
argha-c Jul 23, 2020
7aa64ad
Fix test naming
argha-c Jul 23, 2020
e0d3fcf
Fix variable typo. Remove unused code
argha-c Jul 23, 2020
dac408f
Revert "Fix variable typo. Remove unused code"
argha-c Jul 24, 2020
ec77b9e
restrict header validation to control characters
kyagna Jul 29, 2020
d8838c5
remove erroneous @Nullable annotations
ldayton Aug 3, 2020
97bca85
Respect Proxy Protocol value of original client IP address (#865)
ldayton Aug 3, 2020
fd6a5e4
fix bug where x-forwarded-for was using ppv2 source address instead o…
ldayton Aug 5, 2020
b04693d
refactor how PPv2 original client destination addr is set (#870)
ldayton Aug 6, 2020
06767fd
core: add a new API to modify header values only if valid
kyagna Aug 10, 2020
d24d972
make ATTR public
artgon Aug 11, 2020
3983193
Merge pull request #873 from Netflix/public-attr
artgon Aug 11, 2020
892e6a4
Add a basic test for HAPM channel handler
argha-c Aug 6, 2020
708118d
Add license
argha-c Aug 6, 2020
b67d383
add assertions for source address
argha-c Aug 6, 2020
edf4194
core: record initial channel accept time for use with child initializers
carl-mastrangelo Aug 12, 2020
48370bd
build(deps): bump log4j-core from 2.13.1 to 2.13.3 (#856)
dependabot[bot] Aug 18, 2020
9730da2
release 2.1.8
carl-mastrangelo Aug 18, 2020
3e461fd
Being 2.1.9-SNAPSHOT
carl-mastrangelo Aug 18, 2020
52c8d04
zuul-core: add a connection timer class (#878)
carl-mastrangelo Aug 20, 2020
ffe0b7c
Fix NPE when zuulRequest is null
jfernandez Aug 21, 2020
220db3f
Merge pull request #879 from Netflix/fix-npe
jfernandez Aug 21, 2020
d8b8572
zuul-core: use less sensitive timer
carl-mastrangelo Aug 21, 2020
696177d
add counter for null completions
artgon Aug 23, 2020
4ed35c4
remove NPE risk
artgon Aug 23, 2020
5c4cb11
Merge pull request #882 from Netflix/nullmetrics
artgon Aug 23, 2020
cde5724
increment counter
artgon Aug 23, 2020
2d8b820
core: work around http2 flow controller bug
carl-mastrangelo Sep 2, 2020
7465d89
all: update to netty 4.1.52
carl-mastrangelo Sep 8, 2020
a3beb99
all: bump to perfmark 0.23.0
carl-mastrangelo Sep 10, 2020
551a514
all: use correct lock update generator
carl-mastrangelo Sep 10, 2020
cd119fb
zuul-core: use new trace task method
carl-mastrangelo Sep 10, 2020
d14dda8
copy SourceAddressChannelHandler.ATTR_PROXY_PROTOCOL_DESTINATION_ADDR…
ldayton Sep 10, 2020
9d9c38d
Gradle wrapper validation
sullis Sep 10, 2020
7e3b5ca
core: rename app name extractor and make it allocate less memory
carl-mastrangelo Sep 11, 2020
f50ea05
all: bump dependency plugin
carl-mastrangelo Sep 16, 2020
9c7def3
test with jdk15
carl-mastrangelo Sep 16, 2020
a0d8356
zuul-core: Modify the type of the Chosen Host address to be an InetAd…
carl-mastrangelo Sep 25, 2020
1714239
downgrade ribbon to fix proxying
artgon Sep 29, 2020
ee8ca4d
Merge pull request #898 from Netflix/revert-ribbon
artgon Sep 29, 2020
c9d60f9
Add tests to verify uri encoding w/ query params
argha-c Sep 29, 2020
be48a05
core: remove some refs to the eureka client
carl-mastrangelo Oct 7, 2020
d4922e3
core: remove unused methods from request attempts
carl-mastrangelo Oct 8, 2020
06d34a0
core: remove some refs to server key
carl-mastrangelo Oct 8, 2020
3f91dfa
core: remove server from conn pool
carl-mastrangelo Oct 8, 2020
96a9891
Log client connection close errors as DEBUG instead of INFO
jfernandez Oct 9, 2020
eaaa746
Merge pull request #908 from jfernandez/logger-debug
jfernandez Oct 9, 2020
bf0b6fe
core: remove Timings class
carl-mastrangelo Oct 13, 2020
878756b
upgrade to Netty 4.1.53.Final
sullis Oct 14, 2020
95519f5
core: remove unused Timing class
carl-mastrangelo Oct 14, 2020
15179f4
zuul-core: only pick a new server address after deciding to create a …
carl-mastrangelo Nov 4, 2020
0ec80df
Always allow h2 for ALPN for h2 config
argha-c Nov 10, 2020
4508b43
Revert "Always allow h2 for ALPN for h2 config"
argha-c Nov 11, 2020
8199335
all: update netty 4.1.54
carl-mastrangelo Nov 11, 2020
af3d244
add SslContext builder with h2 disabled
argha-c Nov 12, 2020
4373bb5
Make builder public
argha-c Nov 13, 2020
d70d769
Always allow h2 for ALPN for h2 config
argha-c Nov 10, 2020
d8d26de
Delete unused code.Remove redundant casts
argha-c Nov 18, 2020
1ec3a08
zuul-core: add debugging and locking around CurrentPassport.
carl-mastrangelo Nov 18, 2020
6bc3f53
Basic tests for h2 codec swapping
argha-c Nov 18, 2020
17195fa
zuul-core: don't complain in Passport if held by the current thread.
carl-mastrangelo Nov 19, 2020
f2f3ae9
zuul-core: fix NPE in CurrentPassport debugging
carl-mastrangelo Nov 19, 2020
6aa44ba
zuul-core: remove unused debugging util deepcopy
carl-mastrangelo Nov 20, 2020
47071dc
Begin 2.2.0-snapshot, in prep for 2.2.0-release
argha-c Nov 20, 2020
97b86d4
[zuul-core] Remove deprecated port attrs. Use `_ADDRESS` instead.
argha-c Nov 16, 2020
232d7a8
With 2.20 released, move to 2.3.0-snapshot
argha-c Nov 20, 2020
16d644c
zuul-core: replace VIP, origin name, and clientName with a composite …
carl-mastrangelo Dec 2, 2020
6f4d9ce
zuul-core: record the live netty buffer usage, rather than Java's
carl-mastrangelo Dec 3, 2020
edfc6f9
Fix exception when XFF port is present, but empty
argha-c Dec 8, 2020
f94164b
all: bump to netty 4.1.55
carl-mastrangelo Dec 8, 2020
517e0c1
zuul-core: always cache full bodies, regardless of SSL
carl-mastrangelo Dec 9, 2020
203d851
zuul-core: add back in the plaintext cache avoidance for retries
carl-mastrangelo Dec 10, 2020
b957596
zuul-core: selectively increase precision on conn timer
carl-mastrangelo Dec 12, 2020
f234c84
combine injection condition so only one origin is ever created and/or…
artgon Dec 14, 2020
1f1f6e9
Merge pull request #956 from Netflix/reverse-custom-vip-logic
artgon Dec 14, 2020
4dca895
zuul-core: add an active connection counter for Zuul
carl-mastrangelo Dec 15, 2020
bae0b46
zuul-core: include HAPM port in server conn dimensions
carl-mastrangelo Dec 16, 2020
f0e5a0f
zuul-core: make sure to lock conn counters properly
carl-mastrangelo Dec 17, 2020
1e576dc
zuul-core: make conn time split metrics by name rather than tag
carl-mastrangelo Dec 17, 2020
5261ea9
all: bump to jackson 2.12.0
sullis Dec 20, 2020
e0485e8
core: avoid using deprecated X509Certificates
carl-mastrangelo Jan 5, 2021
5d8c899
zuul-core: add overload for connection counters for extra dimensions
carl-mastrangelo Jan 6, 2021
06a8f2b
all: upgrade to jackson 2.12.1 (#968)
sullis Jan 11, 2021
6215bf9
zuul-core: use Duration for ReadTimeouts
carl-mastrangelo Jan 11, 2021
08ac94a
spectator 0.123.1 (#970)
sullis Jan 13, 2021
73ecf3a
zuul-core: Selectively enable body caching on retries
carl-mastrangelo Jan 14, 2021
41beba1
Netty 4.1.58.Final (#972)
sullis Jan 20, 2021
dd64a3b
all: update to netty tcnative 2.0.36 (#979)
carl-mastrangelo Jan 20, 2021
12b62a9
core: add checks to chunked encoding for http/2
carl-mastrangelo Jan 20, 2021
a93cbf6
Ensure SessionContext isn't modified when iterating over it (#978)
kelnos Jan 20, 2021
21c534c
core: add a named socket class for use with Server startup
carl-mastrangelo Jan 22, 2021
4752fcf
core: separate Server starting and waiting, and expose listening sockets
carl-mastrangelo Jan 22, 2021
feeade8
core: silence uri exception spam in logs
carl-mastrangelo Jan 28, 2021
2b86803
zuul-core: silence SSL related failures that are normal
carl-mastrangelo Jan 29, 2021
cf528fe
all: upgrade to Gradle 6.8.1 (#987)
sullis Feb 1, 2021
001e4fc
downgrade to netty 4.1.57
artgon Feb 1, 2021
2bffe73
downgrade further to 4.1.55
artgon Feb 1, 2021
37cfe0c
Merge pull request #988 from Netflix/downgrade-netty-4157
artgon Feb 1, 2021
411aeff
core: avoid noisy assert in tests when NoopGauge is being used.
carl-mastrangelo Feb 2, 2021
9ce0f9b
[zuul-core] Counter for conn. close on idle state
argha-c Feb 8, 2021
ff472b3
Don't maintain reference to registry obj
argha-c Feb 8, 2021
9f10384
Remove duplicate counter. Fix eof weirdness
argha-c Feb 9, 2021
737e847
[zuul-core] Cleanup unused toggle. Remove deprecated API
argha-c Nov 23, 2020
65d302e
Move conn. throttled counter to its handler
argha-c Feb 9, 2021
88edc8d
Remove unnecessary event passing
argha-c Feb 9, 2021
235f1dd
all: gradle 6.8.2 (#990)
sullis Feb 10, 2021
daad0d7
zuul-sample: log4j 2.14.0
sullis Feb 10, 2021
4d9b536
Merge passport state with server conn metrics
argha-c Feb 10, 2021
4ae5c5a
Remove registry mocks from tests
argha-c Feb 12, 2021
834a93e
Basic tests for server conn counts
argha-c Feb 12, 2021
0b85220
Separate exception counters.Inject registry cleanly.
argha-c Feb 12, 2021
055f926
Fix race condition with conns Gauge
argha-c Feb 12, 2021
bec2832
Remove duplicate conns count. Reduce synchronization
argha-c Feb 15, 2021
f91b8d3
remove unnecessary Governator dependency
artgon Feb 22, 2021
7f94d93
cleanup, add license
artgon Feb 22, 2021
8b6011f
rename base test for clarity
artgon Feb 22, 2021
211546f
Merge pull request #1001 from Netflix/remove-governator
artgon Feb 23, 2021
c7a387c
zuul-core: include more netty handler tracing
carl-mastrangelo Mar 3, 2021
279b20d
Upgrade nebula.netflixoss to replace bintray publication and update T…
rpalcolea Mar 3, 2021
b2f43dc
Re-encrypt credentials file for publishing
rpalcolea Mar 3, 2021
0c2b916
Merge pull request #1009 from Netflix/fix-encrypted-file
rpalcolea Mar 3, 2021
dec7149
Replace TravisCI with github actions (#1010)
rpalcolea Mar 3, 2021
a6f6d89
zuul-core: enable plaintext body caching (#1008)
carl-mastrangelo Mar 3, 2021
9d4a4e5
OriginServer wraps discovery enabled backend server
argha-c Feb 10, 2021
96c56ef
Remove all references to Server type
argha-c Feb 24, 2021
a404df4
remove a couple ribbon deps.
argha-c Feb 26, 2021
4d598d2
Make pretty. Make tests pass.
argha-c Feb 26, 2021
7580153
Refine resolver result. Add tests
argha-c Mar 1, 2021
c6d1484
Add license headers
argha-c Mar 1, 2021
f3d6265
Incorporate feedback
argha-c Mar 2, 2021
d929953
Expose Server for read access
argha-c Mar 5, 2021
3acc68f
Allow resolver injection to be more pluggable
argha-c Mar 5, 2021
0c7491c
Delegate to Objects hashcode
argha-c Mar 5, 2021
d1df10b
Defensive checks for host/port
argha-c Mar 6, 2021
1b4257c
Add sentinel value for empty discovery result
argha-c Mar 6, 2021
494d79f
Check sentinel value when no origin servers resolved
argha-c Mar 6, 2021
1a47cc0
Fix bug with updating server ref on origin connect failures
argha-c Mar 6, 2021
3851d63
Force LB stats to use per server cache
argha-c Mar 8, 2021
9776b85
Add basic tests
argha-c Mar 8, 2021
803f9bc
abstract out origin timeout logic
artgon Mar 4, 2021
6f22bd5
add license
artgon Mar 4, 2021
74bd73d
null check
artgon Mar 5, 2021
38fed77
remove ribbon dep, downgrade other deps
artgon Mar 9, 2021
d04ba09
Add todo. Avoid string interpolation
argha-c Mar 10, 2021
6287879
Tests for DiscoveryResult ipAddr and equality
argha-c Mar 10, 2021
0e818fb
Tests for bug fix on server ref update during conn. acquire
argha-c Mar 10, 2021
fd331ad
revert dep downgrade
artgon Mar 12, 2021
042680e
Merge pull request #1012 from Netflix/timeout-refactor
artgon Mar 13, 2021
a505245
InstanceInfo is SoT for secure port advertisement
argha-c Mar 16, 2021
46ffcb6
simplify read timeout functionality and move to using Duration
artgon Mar 23, 2021
023b30f
Replace JCenter with MavenCentral (#1030)
rpalcolea Mar 23, 2021
f58d10b
add comments, clean up method signatures
artgon Mar 23, 2021
269c9af
fix timeout computation logic, add tests
artgon Mar 23, 2021
f71b274
add license
artgon Mar 23, 2021
4897653
fix test typo
artgon Mar 23, 2021
1b328f2
downgrade noise logging
artgon Mar 24, 2021
967a7fa
Merge pull request #1032 from Netflix/downgrade-log
artgon Mar 24, 2021
2e31fab
all: update to netty 4.1.62 (#1036)
carl-mastrangelo Mar 31, 2021
53aa752
all: update to netty 4.1.63
carl-mastrangelo Apr 1, 2021
a0cf67d
chore: enable Gradle wrapper validation in release.yml (#1025)
sullis Apr 7, 2021
5b78ee2
build(deps): bump actions/setup-java from v1 to v2 (#1039)
dependabot[bot] Apr 7, 2021
dc4d229
Cleanup star imports
argha-c Apr 7, 2021
8825757
build(deps): bump actions/cache from v2 to v2.1.4 (#1011)
dependabot[bot] Apr 7, 2021
9102c93
zuul-guice: use later guice which doesnt need aop work around
carl-mastrangelo Apr 9, 2021
79301af
Revert "zuul-guice: use later guice which doesnt need aop work around…
carl-mastrangelo Apr 9, 2021
941711a
Merge pull request #1031 from Netflix/simplify-timeouts
artgon Apr 13, 2021
6b36e09
Set statuscategory explicitly for http pipelining
argha-c Apr 13, 2021
de3a03b
Remove unnecessary event propagation
argha-c Apr 14, 2021
9b090bc
downgrade ClientResponseWriter logging
sullis Apr 14, 2021
8e99f22
Defer to localAddress since bind doesn't rely on it
argha-c Apr 15, 2021
d08b812
Tests for completion event reason (#1047)
argha-c Apr 15, 2021
941a79b
fix NPE
artgon Apr 15, 2021
1ce5cb0
try a different approach to fix null chosenServer
artgon Apr 15, 2021
f7e1e88
Merge pull request #1049 from Netflix/fixnpeproxyedpt
artgon Apr 15, 2021
530adfb
zuul-guice: update to Guice 5 (#1050)
carl-mastrangelo Apr 20, 2021
2ca73f0
Begin 2.3.1-snapshot (#1052)
argha-c Apr 29, 2021
3f8e4ee
zuul-core: add ability to create trusted origin name authority (#1055)
carl-mastrangelo May 11, 2021
e22dc37
Add a basic builder for request message (#1056)
argha-c May 12, 2021
56fa761
zuul-core: Add overload for OriginName trust
carl-mastrangelo May 20, 2021
6a26ade
Bug Fixed
visu83 May 21, 2021
ab96792
Fix issue
visu83 May 21, 2021
aeb6f71
Merge pull request #1 from BugBash-Test/Test
Vishnu-Amazon May 21, 2021
67fde95
Update Server.java
gurudevtest Jul 1, 2021
9cbaa0b
Merge pull request #3 from BugBash-Test/gurudevtest-patch-2
gurudevtest Jul 1, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "gradle"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
10 changes: 10 additions & 0 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: "Validate Gradle Wrapper"
on: [push, pull_request]

jobs:
validation:
name: "Gradle wrapper validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1
39 changes: 39 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: PR Build

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11, 15]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
- uses: actions/cache@v2.1.4
id: gradle-cache
with:
path: |
~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
- uses: actions/cache@v2.1.4
id: gradle-wrapper-cache
with:
path: |
~/.gradle/wrapper
key: ${{ runner.os }}-gradlewrapper-${{ hashFiles('gradle/wrapper/*') }}
- name: Build
run: ./gradlew build
validation:
name: "Gradle Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1
49 changes: 49 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Release

on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+
- v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 8
- uses: actions/cache@v2.1.4
id: gradle-cache
with:
path: |
~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
- uses: actions/cache@v2.1.4
id: gradle-wrapper-cache
with:
path: |
~/.gradle/wrapper
key: ${{ runner.os }}-gradlewrapper-${{ hashFiles('gradle/wrapper/*') }}
- name: Build candidate
if: contains(github.ref, '-rc.')
run: ./gradlew --info --stacktrace -Prelease.useLastTag=true candidate
env:
NETFLIX_OSS_SIGNING_KEY: ${{ secrets.ORG_SIGNING_KEY }}
NETFLIX_OSS_SIGNING_PASSWORD: ${{ secrets.ORG_SIGNING_PASSWORD }}
NETFLIX_OSS_REPO_USERNAME: ${{ secrets.ORG_NETFLIXOSS_USERNAME }}
NETFLIX_OSS_REPO_PASSWORD: ${{ secrets.ORG_NETFLIXOSS_PASSWORD }}
- name: Build release
if: (!contains(github.ref, '-rc.'))
run: ./gradlew --info -Prelease.useLastTag=true final
env:
NETFLIX_OSS_SONATYPE_USERNAME: ${{ secrets.ORG_SONATYPE_USERNAME }}
NETFLIX_OSS_SONATYPE_PASSWORD: ${{ secrets.ORG_SONATYPE_PASSWORD }}
NETFLIX_OSS_SIGNING_KEY: ${{ secrets.ORG_SIGNING_KEY }}
NETFLIX_OSS_SIGNING_PASSWORD: ${{ secrets.ORG_SIGNING_PASSWORD }}
NETFLIX_OSS_REPO_USERNAME: ${{ secrets.ORG_NETFLIXOSS_USERNAME }}
NETFLIX_OSS_REPO_PASSWORD: ${{ secrets.ORG_NETFLIXOSS_PASSWORD }}
38 changes: 38 additions & 0 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Snapshot

on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 8
- uses: actions/cache@v2.1.4
id: gradle-cache
with:
path: |
~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
- uses: actions/cache@v2.1.4
id: gradle-wrapper-cache
with:
path: |
~/.gradle/wrapper
key: ${{ runner.os }}-gradlewrapper-${{ hashFiles('gradle/wrapper/*') }}
- name: Build
run: ./gradlew build snapshot
env:
NETFLIX_OSS_SIGNING_KEY: ${{ secrets.ORG_SIGNING_KEY }}
NETFLIX_OSS_SIGNING_PASSWORD: ${{ secrets.ORG_SIGNING_PASSWORD }}
NETFLIX_OSS_REPO_USERNAME: ${{ secrets.ORG_NETFLIXOSS_USERNAME }}
NETFLIX_OSS_REPO_PASSWORD: ${{ secrets.ORG_NETFLIXOSS_PASSWORD }}
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,10 @@ atlassian-ide-plugin.xml
.settings
.metadata

zuul-sample/src/main/generated/

# NetBeans specific files/directories
.nbattrs

# publishing secrets
secrets/signing-key
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

59 changes: 27 additions & 32 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@

plugins {
id 'nebula.netflixoss' version '8.0.0'
id 'nebula.dependency-lock' version '8.0.0'
id 'nebula.netflixoss' version '9.1.0'
id 'nebula.dependency-lock' version '10.1.0'
id "com.google.osdetector" version "1.6.2"
id "me.champeau.gradle.jmh" version "0.5.0"
}

ext.githubProjectName = rootProject.name
Expand All @@ -19,39 +20,34 @@ configurations.all {
exclude group: 'asm', module: 'asm-all'
}

allprojects {
repositories {
mavenCentral()
}
}

subprojects {
apply plugin: 'nebula.netflixoss'
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'nebula.javadoc-jar'
apply plugin: 'nebula.dependency-lock'

repositories {
jcenter()
mavenLocal()
}
apply plugin: 'me.champeau.gradle.jmh'

license {
ignoreFailures = false
excludes([
"**/META-INF/services/javax.annotation.processing.Processor",
"**/META-INF/gradle/incremental.annotation.processors",
"**/*.cert",
"**/*.jks",
"**/*.key",
])
}

group = "com.netflix.${githubProjectName}"

sourceCompatibility = '1.8'

sourceSets {
test {
java {
srcDirs = ['src/main/java', 'src/test/java']
include '**/*.java'
}
groovy {
srcDirs = ['filters', 'src/main/groovy']
include '**/*.groovy'
}
}
}

eclipse {
classpath {
downloadSources = true
Expand All @@ -61,21 +57,20 @@ subprojects {

tasks.withType(Javadoc).each {
it.classpath = sourceSets.main.compileClasspath
// Ignore Javadoc warnings for now, re-enable after Zuul 3.
it.options.addStringOption('Xdoclint:none', '-quiet')
}

dependencies {
ext.versions_guice = "4.2.2"

// Use guice-4 while debugging a startup error that is hidden by guice-3's lack of java8 lambda support.
compile(group: 'com.google.inject', name: 'guice', version: "${versions_guice}")
compile(group: 'com.google.inject.extensions', name: 'guice-multibindings', version: "${versions_guice}")
compile(group: 'com.google.inject.extensions', name: 'guice-grapher', version: "${versions_guice}")
compile(group: 'com.google.inject.extensions', name: 'guice-assistedinject', version: "${versions_guice}")
compile(group: 'com.google.inject.extensions', name: 'guice-servlet', version: "${versions_guice}")
compile(group: 'com.google.inject.extensions', name: 'guice-throwingproviders', version: "${versions_guice}")
ext {
libraries = [
guava: "com.google.guava:guava:29.0-jre",
junit: "junit:junit:4.13",
mockito: 'org.mockito:mockito-core:3.+',
slf4j: "org.slf4j:slf4j-api:1.7.25",
truth: 'com.google.truth:truth:1.0.1'
]
}


test {
testLogging {
showStandardStreams = true
Expand Down
23 changes: 0 additions & 23 deletions buildViaTravis.sh

This file was deleted.

25 changes: 24 additions & 1 deletion dependencies.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
{

"jmh": {
"org.openjdk.jmh:jmh-core": {
"locked": "1.21"
},
"org.openjdk.jmh:jmh-generator-bytecode": {
"locked": "1.21"
}
},
"jmhCompileClasspath": {
"org.openjdk.jmh:jmh-core": {
"locked": "1.21"
},
"org.openjdk.jmh:jmh-generator-bytecode": {
"locked": "1.21"
}
},
"jmhRuntimeClasspath": {
"org.openjdk.jmh:jmh-core": {
"locked": "1.21"
},
"org.openjdk.jmh:jmh-generator-bytecode": {
"locked": "1.21"
}
}
}
7 changes: 4 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
versions_groovy=2.4.4
versions_ribbon=2.2.4
versions_netty=4.1.45.Final
versions_groovy=3.0.3
versions_ribbon=2.4.4
versions_netty=4.1.63.Final
release.scope=patch
release.version=2.3.1-SNAPSHOT
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading