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

Using object for RecipientBox rather than bytearray #1100

Merged
merged 6 commits into from
Jul 17, 2020
Merged

Conversation

namtruong
Copy link
Collaborator

Create specific immutable type for RecipientBox rather than byte[].
Make list unmodifiable

…om/jpmorganchase/tessera into strong-typed-object

� Conflicts:
�	tessera-core/src/test/java/com/quorum/tessera/transaction/TransactionManagerTest.java
�	tessera-partyinfo/src/main/java/com/quorum/tessera/partyinfo/ResendManagerImpl.java
@codecov-commenter
Copy link

codecov-commenter commented Jul 17, 2020

Codecov Report

Merging #1100 into master will decrease coverage by 0.02%.
The diff coverage is 96.42%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1100      +/-   ##
============================================
- Coverage     99.37%   99.34%   -0.03%     
- Complexity     2297     2309      +12     
============================================
  Files           354      355       +1     
  Lines          6400     6440      +40     
  Branches        363      372       +9     
============================================
+ Hits           6360     6398      +38     
  Misses            5        5              
- Partials         35       37       +2     
Flag Coverage Δ Complexity Δ
#unittests 99.34% <96.42%> (-0.03%) 2309.00 <14.00> (+12.00) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
...om/quorum/tessera/partyinfo/ResendManagerImpl.java 93.75% <86.66%> (-3.75%) 8.00 <0.00> (ø)
...n/java/com/quorum/tessera/enclave/EnclaveImpl.java 100.00% <100.00%> (ø) 17.00 <0.00> (ø)
...ava/com/quorum/tessera/enclave/EncodedPayload.java 100.00% <100.00%> (ø) 18.00 <12.00> (+11.00)
...ava/com/quorum/tessera/enclave/PayloadEncoder.java 100.00% <100.00%> (ø) 1.00 <1.00> (ø)
...com/quorum/tessera/enclave/PayloadEncoderImpl.java 100.00% <100.00%> (ø) 8.00 <0.00> (ø)
.../java/com/quorum/tessera/enclave/RecipientBox.java 100.00% <100.00%> (ø) 1.00 <1.00> (?)

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 f4f2e6a...8062c37. Read the comment docs.

@melowe melowe merged commit 4e47501 into master Jul 17, 2020
@melowe melowe deleted the strong-typed-object branch July 17, 2020 09:22
melowe added a commit that referenced this pull request Jul 21, 2020
* Reduce dependnecy on spring and make modules for creating their object factories. Provide more fine gran control of db transactions.

* Reremove travis changes that weren't merged to QE repo and PSV branch
* provide TransactionManagerFactory . Make PartyInfoServiceFactory work the same way.
* test create part info service function

* Add EntityManagerTemplate to control database transactions.
Improve unit tests
Upgrade version of eclipselink
* Use HikariCP for connection pooling datasource
* Update spring xml file. TransactionManager to use save with publish callback
* add test coverage for transactionmanager
* catch exceptions and fix some tests
* fix eclipselink version in gradle
* Propagate version headers (#1098)

Bare minimum population of version info in http headers. Integraton test to insure these are propagated also over unix socket file. Initial default behaviour reads manifest file for version.Use ApiVersion definition from service loader as a means for defining the supported versions.

* Using object for RecipientBox rather than bytearray (#1100)
* Using object for RecipientBox rather than byte[]
* update transactionmanager unit tests
* update encodedpayloadbuilder unit tests
* merge master to encapsulation improvements branch. a few renamed files didn't seem to get merged.

* only add additional classpath elements arg if there are any elements

Co-authored-by: namtruong <nam.p.truong@outlook.com>
Co-authored-by: Krish1979 <39480483+Krish1979@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants