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

Patch release 0.7.3 branch back to master #527

Merged
merged 46 commits into from
Nov 19, 2018
Merged

Conversation

melowe
Copy link
Contributor

@melowe melowe commented Nov 16, 2018

No description provided.

melowe and others added 27 commits November 14, 2018 12:35
a network is created by discovery over configuration.
Add start acceptance tests to ensure that empty key values are
validated and startup is supressed.
debug level the message and status is returned to the client.
…n vaultId is invalid - not the whole filepath.

This test case used an invalid filepath - which might or might not result in InvalidPathException depending on the default filesystem encoding.
Conflicts:
	argon2/pom.xml
	config-cli/pom.xml
	config-migration/pom.xml
	config/pom.xml
	data-migration/pom.xml
	encryption/encryption-api/pom.xml
	encryption/encryption-jnacl/pom.xml
	encryption/encryption-kalium/pom.xml
	encryption/pom.xml
	grpc-api/pom.xml
	grpc-service/pom.xml
	grpc/pom.xml
	jaxrs-client/pom.xml
	jaxrs-service/pom.xml
	key-generation/pom.xml
	key-vault/azure-key-vault/pom.xml
	key-vault/key-vault-api/pom.xml
	key-vault/pom.xml
	pom.xml
	security/pom.xml
	server/grpc-server/pom.xml
	server/jersey-server/pom.xml
	server/pom.xml
	server/resteasy-server/pom.xml
	server/server-api/pom.xml
	server/unix-socket-server/pom.xml
	service-locator/pom.xml
	service-locator/service-locator-api/pom.xml
	service-locator/service-locator-spring/pom.xml
	shared/pom.xml
	tessera-app/pom.xml
	tessera-core/pom.xml
	tests/acceptance-test/pom.xml
	tests/pom.xml
	tests/test-util/pom.xml
@codecov-io
Copy link

codecov-io commented Nov 16, 2018

Codecov Report

Merging #527 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #527      +/-   ##
============================================
+ Coverage     99.41%   99.42%   +<.01%     
- Complexity     1234     1257      +23     
============================================
  Files           209      211       +2     
  Lines          3935     3975      +40     
  Branches        210      212       +2     
============================================
+ Hits           3912     3952      +40     
  Misses            5        5              
  Partials         18       18
Impacted Files Coverage Δ Complexity Δ
.../quorum/tessera/config/keypairs/DirectKeyPair.java 100% <ø> (ø) 5 <0> (ø) ⬇️
...rum/tessera/config/keypairs/FilesystemKeyPair.java 100% <ø> (ø) 12 <0> (ø) ⬇️
.../quorum/tessera/config/keypairs/InlineKeypair.java 100% <ø> (ø) 7 <0> (ø) ⬇️
.../quorum/tessera/node/PartyInfoParserException.java 100% <100%> (ø) 1 <1> (?)
...sera/config/constraints/ValidContentValidator.java 100% <100%> (ø) 9 <9> (?)
.../java/com/quorum/tessera/node/PartyInfoParser.java 100% <100%> (ø) 20 <14> (+12) ⬆️
...in/java/com/quorum/tessera/api/ConfigResource.java 100% <100%> (ø) 5 <1> (ø) ⬇️
...main/java/com/quorum/tessera/node/model/Party.java 100% <100%> (ø) 7 <1> (+1) ⬆️
.../com/quorum/tessera/node/PartyInfoServiceImpl.java 100% <100%> (ø) 13 <2> (ø) ⬇️
... and 1 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 470153e...90b8002. Read the comment docs.


final byte[] urlBytes = new byte[urlLength];
byteBuffer.get(urlBytes);
final String url = new String(urlBytes, UTF_8);

final int numberOfRecipients = (int) byteBuffer.getLong();
final int numberOfRecipients = (int) toIntExact(byteBuffer.getLong());
checkLength(urlLength);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be checkLength(numberOfRecipients); ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well spotted Nicolae!

@melowe melowe changed the title Patch release 0.7.1 branch back to master Patch release 0.7.2 branch back to master Nov 16, 2018
@melowe melowe changed the title Patch release 0.7.2 branch back to master Patch release 0.7.3 branch back to master Nov 16, 2018
@Krish1979 Krish1979 merged commit 1b8fc88 into master Nov 19, 2018
@Krish1979 Krish1979 deleted the patch-release-0.7.1 branch November 19, 2018 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants