-
Notifications
You must be signed in to change notification settings - Fork 36
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
Added manual settlement rail #20
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
a884342
fix warnings and ignore file
c08fbea
fix warnings and ignore file
4a0cb83
synced with upstream
c93d505
synced with upstream
7d753db
fix error when testing from gradle
91b9ae2
add UpdatePaymentStatus flow for manual settlement
a4ad166
fixes and updates and warning fixes
40ca1de
merged upstream
5828095
fix build.gradle
2b1593c
got deploying to our artifactory repo
0bcdffc
updating to Corda 4
7cdf102
working on manual settlement type
8debbea
Merge branch 'master' of git://github.com/corda/corda-settler
310454c
working on getting UpdateSettlementMethod to work
07d4b5a
add dummy contracts so jar attachments work correctly
120b607
working on making payments
464c2fb
fixes for UpdatePaymentStatus flow
3dd615b
add id of canceled obligation for use in notifications
169d805
Removed SNAPSHOT from version
8e7a5a2
Removed SNAPSHOT from version in build.gradle
0615cc5
trying to merge upstream
e134158
merged upstream
275a708
got working after upstream merge
6ae3dff
Merge branch 'master' of git://github.com/corda/corda-settler
bfcc691
update build files with upstream versions
8df8d01
revert change to .gitignore
5e99fda
changes suggested by roger3cev
e8b7fd1
added manual tests, fixed checkInvariantProperties to throw exception…
5b57694
added manual tests, fixed checkInvariantProperties to throw exception…
84c6d9f
disable jar sealing
436eb42
work lining up send/receive on CreateObligation and OffLedgerSettleOb…
20e0c61
Merge branch 'master' of git://github.com/corda/corda-settler
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,4 +30,7 @@ cordapp { | |
signing { | ||
enabled false | ||
} | ||
sealing { | ||
enabled false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,9 @@ cordapp { | |
signing { | ||
enabled false | ||
} | ||
sealing { | ||
enabled false | ||
} | ||
} | ||
|
||
configurations { | ||
|
8 changes: 8 additions & 0 deletions
8
cordapp/src/main/kotlin/com/r3/corda/finance/obligation/client/DummyContract.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package com.r3.corda.finance.obligation.client | ||
|
||
import net.corda.core.contracts.Contract | ||
import net.corda.core.transactions.LedgerTransaction | ||
|
||
class DummyContract : Contract { | ||
override fun verify(tx: LedgerTransaction) = Unit | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yah, I'm not quite sure how the jar attachment and class loader works here. I was getting errors about not finding the attachment for certain classes. I can try again without this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried again without the DummyContract and got:
and
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes, my bad. I forgot about this... To enable CorDapp dependencies to work, the transaction class loader searches for jars containing the needed classes but it will only search JARs with contract implementations in. Presumably we'll get to fixing this in the next point release. Cheers