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

Add feature toggle configuration & configurable key validation #825

Merged
merged 7 commits into from
Jul 25, 2019
Merged

Add feature toggle configuration & configurable key validation #825

merged 7 commits into from
Jul 25, 2019

Conversation

prd-fox
Copy link
Contributor

@prd-fox prd-fox commented Jul 23, 2019

Add feature toggle configuration for future features.
Either perform validation or disallow multiple URLs for a key, depending on the toggle activation.

This will allow breaking changes to be manually activated, until such a time as we want to do a release which enforces the breaking change to be active.

Either perform validation or disallow multiple URLs for a key, depending
on the toggle activation.
@codecov-io
Copy link

codecov-io commented Jul 23, 2019

Codecov Report

Merging #825 into master will decrease coverage by 0.02%.
The diff coverage is 96.36%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #825      +/-   ##
============================================
- Coverage     99.48%   99.45%   -0.03%     
- Complexity     2035     2050      +15     
============================================
  Files           305      306       +1     
  Lines          6001     6038      +37     
  Branches        299      306       +7     
============================================
+ Hits           5970     6005      +35     
  Misses            5        5              
- Partials         26       28       +2
Impacted Files Coverage Δ Complexity Δ
...c/main/java/com/quorum/tessera/p2p/P2PRestApp.java 100% <100%> (ø) 3 <2> (ø) ⬇️
...tessera/partyinfo/PartyInfoServiceFactoryImpl.java 100% <100%> (ø) 8 <1> (ø) ⬇️
...java/com/quorum/tessera/p2p/PartyInfoResource.java 100% <100%> (ø) 15 <3> (+1) ⬆️
...va/com/quorum/tessera/admin/ConfigServiceImpl.java 100% <100%> (ø) 8 <1> (+1) ⬆️
...java/com/quorum/tessera/config/FeatureToggles.java 100% <100%> (ø) 7 <7> (?)
...rc/main/java/com/quorum/tessera/config/Config.java 100% <100%> (ø) 31 <2> (+2) ⬆️
...quorum/tessera/partyinfo/PartyInfoServiceImpl.java 97.43% <90%> (-2.57%) 21 <8> (+4)

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 21fb82c...4c0b6ad. Read the comment docs.

@prd-fox prd-fox marked this pull request as ready for review July 23, 2019 12:01
…o node-validation-toggle

# Conflicts:
#	tessera-admin/src/main/java/com/quorum/tessera/admin/ConfigService.java
#	tessera-partyinfo/src/main/java/com/quorum/tessera/partyinfo/PartyInfoServiceFactory.java
#	tessera-partyinfo/src/main/java/com/quorum/tessera/partyinfo/PartyInfoServiceImpl.java
#	tessera-partyinfo/src/test/java/com/quorum/tessera/partyinfo/PartyInfoServiceFactoryTest.java
#	tessera-partyinfo/src/test/java/com/quorum/tessera/partyinfo/PartyInfoServiceTest.java
@melowe melowe merged commit 2972a3a into Consensys:master Jul 25, 2019
@prd-fox prd-fox deleted the node-validation-toggle branch July 26, 2019 15:31
@prd-fox
Copy link
Contributor Author

prd-fox commented Jul 26, 2019

Fixes #833

@prd-fox prd-fox added 0.10.0 feature User features labels Jul 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.10.0 feature User features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants