-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(corda-connector): dsl to support collections, enums #622
Primary change ============ You can now express via the JSON DSL otherwise non-constructable types such as ByteArray, DoubleArrays, enums, lists, maps, sets, etc. The collections are being powered by a pre-populated map of so called "exotic" types which are named as such because they do not follow the Java OOP ideals of having a constructor responsible for creating the class instances. Added test coverage for all the above as well. Miscellaneous changes: =================== Deleted the Kotlin test that was dependent on a corda network being pulled up and cordapps deployed because we are covering all of this via the existing tests written in Typescript anyway. With the above done, now the dockerfile can be switched back to execute the tests of the corda plugin server (which are only unit tests at this point that is more than enough since we have coverage elsewhere). Tagged the container image built from this revision as: hyperledger/cactus-connector-corda-server:2021-03-25-feat-622 Fixes #622 Signed-off-by: Peter Somogyvari <[email protected]>
- Loading branch information
Showing
8 changed files
with
513 additions
and
304 deletions.
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
10 changes: 10 additions & 0 deletions
10
...yperledger/cactus/plugin/ledger/connector/corda/server/impl/ConstructorLookupException.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,10 @@ | ||
package org.hyperledger.cactus.plugin.ledger.connector.corda.server.impl | ||
|
||
import java.lang.RuntimeException | ||
|
||
|
||
open class InstantiationException(override val message: String, override val cause: Throwable? = null) | ||
: RuntimeException(message, cause) | ||
|
||
open class ConstructorLookupException(override val message: String, override val cause: Throwable? = null) | ||
: InstantiationException(message, cause) |
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.