Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/whitelist filter #992

Merged
merged 29 commits into from
Feb 7, 2020
Merged

Bugfix/whitelist filter #992

merged 29 commits into from
Feb 7, 2020

Conversation

namtruong
Copy link
Collaborator

Remove use of whitelist filter on Q2TRestApp endpoints as the restrictions on requests from Quorum should not be based on peers' URLs.

Add local IPs to list of whitelisted to prevent issues when running upcheck from local nodes. Also fix whitelist acceptance tests

…aviour before 0.10. Log message to recommend users to switch on remote key validation for better security
# Conflicts:
#	cli/config-cli/src/test/java/com/quorum/tessera/config/cli/OverrideUtilTest.java
#	config/src/main/java/com/quorum/tessera/config/ServerConfig.java
#	tessera-jaxrs/jaxrs-client/src/main/java/com/quorum/tessera/jaxrs/client/ClientFactory.java
#	tessera-jaxrs/jaxrs-client/src/test/java/com/quorum/tessera/jaxrs/client/ClientFactoryTest.java
#	tessera-partyinfo/src/main/resources/tessera-partyinfo-spring.xml
# Conflicts:
#	tessera-jaxrs/sync-jaxrs/src/main/java/com/quorum/tessera/p2p/RestP2pClient.java
#	tessera-jaxrs/sync-jaxrs/src/main/java/com/quorum/tessera/p2p/RestResendClient.java
#	tessera-jaxrs/sync-jaxrs/src/main/java/com/quorum/tessera/p2p/RestResendClientFactory.java
#	tessera-partyinfo/src/main/java/com/quorum/tessera/sync/ResendClient.java
Krish1979
Krish1979 previously approved these changes Feb 7, 2020
@Krish1979 Krish1979 added 0.10.3 0.10.3 bug Something isn't working labels Feb 7, 2020
Krish1979
Krish1979 previously approved these changes Feb 7, 2020
@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (master@f96969c). Click here to learn what that means.
The diff coverage is 99.1%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #992   +/-   ##
=========================================
  Coverage          ?   99.31%           
  Complexity        ?     2235           
=========================================
  Files             ?      337           
  Lines             ?     6106           
  Branches          ?      364           
=========================================
  Hits              ?     6064           
  Misses            ?        5           
  Partials          ?       37
Impacted Files Coverage Δ Complexity Δ
...n/java/com/quorum/tessera/config/ServerConfig.java 100% <ø> (ø) 24 <0> (?)
...rc/main/java/com/quorum/tessera/config/Config.java 100% <ø> (ø) 33 <0> (?)
...om/quorum/tessera/config/cli/KeyUpdateCommand.java 100% <ø> (ø) 18 <0> (?)
...com/quorum/tessera/config/cli/PicoCliDelegate.java 98% <ø> (ø) 19 <0> (?)
...um/tessera/config/cli/KeyGenFileUpdateOptions.java 100% <100%> (ø) 4 <4> (?)
...tessera/config/util/PasswordFileUpdaterWriter.java 100% <100%> (ø) 8 <8> (?)
...era/config/constraints/ServerConfigsValidator.java 100% <100%> (ø) 7 <1> (?)
...uorum/tessera/config/cli/KeyGenCommandFactory.java 100% <100%> (ø) 3 <0> (?)
...quorum/tessera/config/adapters/KeyDataAdapter.java 96.49% <100%> (ø) 24 <0> (?)
...om/quorum/tessera/p2p/RestResendClientFactory.java 100% <100%> (ø) 3 <1> (?)
... and 19 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f96969c...e7c3dbd. Read the comment docs.

@Krish1979 Krish1979 merged commit 076b971 into master Feb 7, 2020
@prd-fox prd-fox deleted the bugfix/whitelist-filter branch February 11, 2020 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.10.3 0.10.3 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants