-
Notifications
You must be signed in to change notification settings - Fork 286
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
test(tools): fix Corda AIO flowdb image: JVM upgrade, flow permissions #3386
Merged
petermetz
merged 1 commit into
hyperledger-cacti:main
from
petermetz:test-tooling-fix-image-build-corda-aio-flowdb
Jul 9, 2024
Merged
test(tools): fix Corda AIO flowdb image: JVM upgrade, flow permissions #3386
petermetz
merged 1 commit into
hyperledger-cacti:main
from
petermetz:test-tooling-fix-image-build-corda-aio-flowdb
Jul 9, 2024
Conversation
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
1. Also removed the party B, C and notary because none of these are present in the ledger definition that we get handed down from the official kotlin samples Corda GitHub repository. 2. The above change also saves on resources to have only party A which makes this image boot very fast compared to the other Corda AIO images. 3. Also refactored the corda sample app enum so that the file-system paths declared in it are matching reality instead of pointing to non-existent directories. Signed-off-by: Peter Somogyvari <[email protected]>
petermetz
requested review from
takeutak,
izuru0,
jagpreetsinghsasan,
VRamakrishna,
sandeepnRES and
outSH
as code owners
July 8, 2024 20:28
petermetz
added a commit
to petermetz/cacti
that referenced
this pull request
Jul 8, 2024
1. The test case was broken due to a number of different issues related to the AIO image build an also the connector image build, but on top of those problems it also had misconfiguration issues where the port number wasn't set to what it should be for the RPC connection that the connector container uses to establish communications with the AIO ledger image. In order to properly verify that this test case is working, a few other pull requests have to be merged first and container images from those sources published as well. In addition to the pull request dependencies we also depend on a permission issue being resolved in the larger GitHub organization itself as well: hyperledger/governance#299 Depends on hyperledger-cacti#3386 Depends on hyperledger-cacti#3387 Signed-off-by: Peter Somogyvari <[email protected]>
5 tasks
jagpreetsinghsasan
approved these changes
Jul 9, 2024
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.
LGTM
outSH
approved these changes
Jul 9, 2024
petermetz
added a commit
to petermetz/cacti
that referenced
this pull request
Jul 9, 2024
Primary Change: --------------- 1. The test case was broken due to a number of different issues related to the AIO image build an also the connector image build, but on top of those problems it also had misconfiguration issues where the port number wasn't set to what it should be for the RPC connection that the connector container uses to establish communications with the AIO ledger image. Secondary Change(s): --------------------- 1. Fixed 2 bugs in the test tooling package where the port configuration was not randomizing the exposed ports of the corda connector container and the corda test ledger leading to accessibility issues. 2. Also introduced a createJvmInt(...) utility function on the corda connector package which allows the flowdb test case to construct the flow invocation requests with much less manual labor (manual coding). In order to properly verify that this test case is working, a few other pull requests have to be merged first and container images from those sources published as well. In addition to the pull request dependencies we also depend on a permission issue being resolved in the larger GitHub organization itself as well: hyperledger/governance#299 Depends on hyperledger-cacti#3386 Depends on hyperledger-cacti#3387 Signed-off-by: Peter Somogyvari <[email protected]>
petermetz
added a commit
to petermetz/cacti
that referenced
this pull request
Jul 10, 2024
Primary Change: --------------- 1. The test case was broken due to a number of different issues related to the AIO image build an also the connector image build, but on top of those problems it also had misconfiguration issues where the port number wasn't set to what it should be for the RPC connection that the connector container uses to establish communications with the AIO ledger image. Secondary Change(s): --------------------- 1. Fixed 2 bugs in the test tooling package where the port configuration was not randomizing the exposed ports of the corda connector container and the corda test ledger leading to accessibility issues. 2. Also introduced a createJvmInt(...) utility function on the corda connector package which allows the flowdb test case to construct the flow invocation requests with much less manual labor (manual coding). In order to properly verify that this test case is working, a few other pull requests have to be merged first and container images from those sources published as well. In addition to the pull request dependencies we also depend on a permission issue being resolved in the larger GitHub organization itself as well: hyperledger/governance#299 Depends on hyperledger-cacti#3386 Depends on hyperledger-cacti#3387 Signed-off-by: Peter Somogyvari <[email protected]>
petermetz
added a commit
to petermetz/cacti
that referenced
this pull request
Jul 10, 2024
Primary Change: --------------- 1. The test case was broken due to a number of different issues related to the AIO image build an also the connector image build, but on top of those problems it also had misconfiguration issues where the port number wasn't set to what it should be for the RPC connection that the connector container uses to establish communications with the AIO ledger image. Secondary Change(s): --------------------- 1. Fixed 2 bugs in the test tooling package where the port configuration was not randomizing the exposed ports of the corda connector container and the corda test ledger leading to accessibility issues. 2. Also introduced a createJvmInt(...) utility function on the corda connector package which allows the flowdb test case to construct the flow invocation requests with much less manual labor (manual coding). In order to properly verify that this test case is working, a few other pull requests have to be merged first and container images from those sources published as well. In addition to the pull request dependencies we also depend on a permission issue being resolved in the larger GitHub organization itself as well: hyperledger/governance#299 Depends on hyperledger-cacti#3386 Depends on hyperledger-cacti#3387 Signed-off-by: Peter Somogyvari <[email protected]>
petermetz
added a commit
that referenced
this pull request
Jul 10, 2024
Primary Change: --------------- 1. The test case was broken due to a number of different issues related to the AIO image build an also the connector image build, but on top of those problems it also had misconfiguration issues where the port number wasn't set to what it should be for the RPC connection that the connector container uses to establish communications with the AIO ledger image. Secondary Change(s): --------------------- 1. Fixed 2 bugs in the test tooling package where the port configuration was not randomizing the exposed ports of the corda connector container and the corda test ledger leading to accessibility issues. 2. Also introduced a createJvmInt(...) utility function on the corda connector package which allows the flowdb test case to construct the flow invocation requests with much less manual labor (manual coding). In order to properly verify that this test case is working, a few other pull requests have to be merged first and container images from those sources published as well. In addition to the pull request dependencies we also depend on a permission issue being resolved in the larger GitHub organization itself as well: hyperledger/governance#299 Depends on #3386 Depends on #3387 Signed-off-by: Peter Somogyvari <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
in the ledger definition that we get handed down from the official kotlin
samples Corda GitHub repository.
makes this image boot very fast compared to the other Corda AIO images.
declared in it are matching reality instead of pointing to non-existent
directories.
Signed-off-by: Peter Somogyvari [email protected]
Pull Request Requirements
upstream/main
branch and squashed into single commit to help maintainers review it more efficient and to avoid spaghetti git commit graphs that obfuscate which commit did exactly what change, when and, why.-s
flag when usinggit commit
command. You may refer to this link for more information.Character Limit
A Must Read for Beginners
For rebasing and squashing, here's a must read guide for beginners.