forked from hyperledger-cacti/cacti
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(corda): support 5.1 via TS/HTTP (no JVM)
Fixes hyperledger-cacti#2978 Signed-off-by: adrianbatuto <[email protected]>
- Loading branch information
1 parent
6be6447
commit 0eb899e
Showing
68 changed files
with
4,905 additions
and
107 deletions.
There are no files selected for viewing
Empty file modified
0
packages/cactus-plugin-ledger-connector-corda/src/main-server/healthcheck.sh
100755 → 100644
Empty file.
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
Empty file modified
0
...ges/cactus-plugin-ledger-connector-corda/src/main-server/kotlin/gen/kotlin-spring/gradlew
100755 → 100644
Empty file.
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
30 changes: 30 additions & 0 deletions
30
.../main/kotlin/org/hyperledger/cactus/plugin/ledger/connector/corda/server/model/CPIIDV1.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,30 @@ | ||
package org.hyperledger.cactus.plugin.ledger.connector.corda.server.model | ||
|
||
import java.util.Objects | ||
import com.fasterxml.jackson.annotation.JsonProperty | ||
import javax.validation.constraints.DecimalMax | ||
import javax.validation.constraints.DecimalMin | ||
import javax.validation.constraints.Email | ||
import javax.validation.constraints.Max | ||
import javax.validation.constraints.Min | ||
import javax.validation.constraints.NotNull | ||
import javax.validation.constraints.Pattern | ||
import javax.validation.constraints.Size | ||
import javax.validation.Valid | ||
|
||
/** | ||
* | ||
* @param name | ||
* @param version | ||
* @param signerSummaryHash | ||
*/ | ||
data class CPIIDV1( | ||
|
||
@get:JsonProperty("name", required = true) val name: kotlin.String, | ||
|
||
@get:JsonProperty("version", required = true) val version: kotlin.String, | ||
|
||
@get:JsonProperty("signerSummaryHash") val signerSummaryHash: kotlin.String? = null | ||
) { | ||
|
||
} |
30 changes: 30 additions & 0 deletions
30
.../main/kotlin/org/hyperledger/cactus/plugin/ledger/connector/corda/server/model/CPIIDV5.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,30 @@ | ||
package org.hyperledger.cactus.plugin.ledger.connector.corda.server.model | ||
|
||
import java.util.Objects | ||
import com.fasterxml.jackson.annotation.JsonProperty | ||
import javax.validation.constraints.DecimalMax | ||
import javax.validation.constraints.DecimalMin | ||
import javax.validation.constraints.Email | ||
import javax.validation.constraints.Max | ||
import javax.validation.constraints.Min | ||
import javax.validation.constraints.NotNull | ||
import javax.validation.constraints.Pattern | ||
import javax.validation.constraints.Size | ||
import javax.validation.Valid | ||
|
||
/** | ||
* | ||
* @param name | ||
* @param version | ||
* @param signerSummaryHash | ||
*/ | ||
data class CPIIDV5( | ||
|
||
@get:JsonProperty("name", required = true) val name: kotlin.String, | ||
|
||
@get:JsonProperty("version", required = true) val version: kotlin.String, | ||
|
||
@get:JsonProperty("signerSummaryHash") val signerSummaryHash: kotlin.String? = null | ||
) { | ||
|
||
} |
26 changes: 26 additions & 0 deletions
26
...kotlin/org/hyperledger/cactus/plugin/ledger/connector/corda/server/model/CPIV1Response.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,26 @@ | ||
package org.hyperledger.cactus.plugin.ledger.connector.corda.server.model | ||
|
||
import java.util.Objects | ||
import com.fasterxml.jackson.annotation.JsonProperty | ||
import org.hyperledger.cactus.plugin.ledger.connector.corda.server.model.CPIV1ResponseCpisInner | ||
import javax.validation.constraints.DecimalMax | ||
import javax.validation.constraints.DecimalMin | ||
import javax.validation.constraints.Email | ||
import javax.validation.constraints.Max | ||
import javax.validation.constraints.Min | ||
import javax.validation.constraints.NotNull | ||
import javax.validation.constraints.Pattern | ||
import javax.validation.constraints.Size | ||
import javax.validation.Valid | ||
|
||
/** | ||
* | ||
* @param cpis | ||
*/ | ||
data class CPIV1Response( | ||
|
||
@field:Valid | ||
@get:JsonProperty("cpis") val cpis: kotlin.collections.List<CPIV1ResponseCpisInner>? = null | ||
) { | ||
|
||
} |
43 changes: 43 additions & 0 deletions
43
...g/hyperledger/cactus/plugin/ledger/connector/corda/server/model/CPIV1ResponseCpisInner.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,43 @@ | ||
package org.hyperledger.cactus.plugin.ledger.connector.corda.server.model | ||
|
||
import java.util.Objects | ||
import com.fasterxml.jackson.annotation.JsonProperty | ||
import org.hyperledger.cactus.plugin.ledger.connector.corda.server.model.CPIIDV1 | ||
import org.hyperledger.cactus.plugin.ledger.connector.corda.server.model.CPIV1ResponseCpisInnerCpksInner | ||
import javax.validation.constraints.DecimalMax | ||
import javax.validation.constraints.DecimalMin | ||
import javax.validation.constraints.Email | ||
import javax.validation.constraints.Max | ||
import javax.validation.constraints.Min | ||
import javax.validation.constraints.NotNull | ||
import javax.validation.constraints.Pattern | ||
import javax.validation.constraints.Size | ||
import javax.validation.Valid | ||
|
||
/** | ||
* | ||
* @param cpiFileChecksum | ||
* @param cpiFileFullChecksum | ||
* @param cpks | ||
* @param groupPolicy | ||
* @param id | ||
* @param timestamp | ||
*/ | ||
data class CPIV1ResponseCpisInner( | ||
|
||
@get:JsonProperty("cpiFileChecksum") val cpiFileChecksum: kotlin.String? = null, | ||
|
||
@get:JsonProperty("cpiFileFullChecksum") val cpiFileFullChecksum: kotlin.String? = null, | ||
|
||
@field:Valid | ||
@get:JsonProperty("cpks") val cpks: kotlin.collections.List<CPIV1ResponseCpisInnerCpksInner>? = null, | ||
|
||
@get:JsonProperty("groupPolicy") val groupPolicy: kotlin.String? = null, | ||
|
||
@field:Valid | ||
@get:JsonProperty("id") val id: CPIIDV1? = null, | ||
|
||
@get:JsonProperty("timestamp") val timestamp: java.time.OffsetDateTime? = null | ||
) { | ||
|
||
} |
41 changes: 41 additions & 0 deletions
41
...dger/cactus/plugin/ledger/connector/corda/server/model/CPIV1ResponseCpisInnerCpksInner.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,41 @@ | ||
package org.hyperledger.cactus.plugin.ledger.connector.corda.server.model | ||
|
||
import java.util.Objects | ||
import com.fasterxml.jackson.annotation.JsonProperty | ||
import org.hyperledger.cactus.plugin.ledger.connector.corda.server.model.CPIIDV1 | ||
import javax.validation.constraints.DecimalMax | ||
import javax.validation.constraints.DecimalMin | ||
import javax.validation.constraints.Email | ||
import javax.validation.constraints.Max | ||
import javax.validation.constraints.Min | ||
import javax.validation.constraints.NotNull | ||
import javax.validation.constraints.Pattern | ||
import javax.validation.constraints.Size | ||
import javax.validation.Valid | ||
|
||
/** | ||
* | ||
* @param hash | ||
* @param id | ||
* @param libraries | ||
* @param mainBundle | ||
* @param timestamp | ||
* @param type | ||
*/ | ||
data class CPIV1ResponseCpisInnerCpksInner( | ||
|
||
@get:JsonProperty("hash") val hash: kotlin.String? = null, | ||
|
||
@field:Valid | ||
@get:JsonProperty("id") val id: CPIIDV1? = null, | ||
|
||
@get:JsonProperty("libraries") val libraries: kotlin.collections.List<kotlin.String>? = null, | ||
|
||
@get:JsonProperty("mainBundle") val mainBundle: kotlin.String? = null, | ||
|
||
@get:JsonProperty("timestamp") val timestamp: java.time.OffsetDateTime? = null, | ||
|
||
@get:JsonProperty("type") val type: kotlin.String? = null | ||
) { | ||
|
||
} |
Oops, something went wrong.