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 Fixes hyperledger-cacti#3293 Signed-off-by: adrianbatuto <adrian.batuto@accenture.com>
- Loading branch information
1 parent
d0e4539
commit 5e7ff7b
Showing
71 changed files
with
10,892 additions
and
123 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
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 | ||
) { | ||
|
||
} |
26 changes: 26 additions & 0 deletions
26
...rg/hyperledger/cactus/plugin/ledger/connector/corda/server/model/FlowStatusV1Responses.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.FlowStatusV1ResponsesFlowStatusResponsesInner | ||
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 flowStatusResponses | ||
*/ | ||
data class FlowStatusV1Responses( | ||
|
||
@field:Valid | ||
@get:JsonProperty("flowStatusResponses") val flowStatusResponses: kotlin.collections.List<FlowStatusV1ResponsesFlowStatusResponsesInner>? = null | ||
) { | ||
|
||
} |
44 changes: 44 additions & 0 deletions
44
...ugin/ledger/connector/corda/server/model/FlowStatusV1ResponsesFlowStatusResponsesInner.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,44 @@ | ||
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.FlowV1Error | ||
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 clientRequestId | ||
* @param flowError | ||
* @param flowId | ||
* @param flowResult | ||
* @param flowStatus | ||
* @param holdingIDShortHash | ||
* @param timestamp | ||
*/ | ||
data class FlowStatusV1ResponsesFlowStatusResponsesInner( | ||
|
||
@get:JsonProperty("clientRequestId") val clientRequestId: kotlin.String? = null, | ||
|
||
@field:Valid | ||
@get:JsonProperty("flowError") val flowError: FlowV1Error? = null, | ||
|
||
@get:JsonProperty("flowId") val flowId: kotlin.String? = null, | ||
|
||
@get:JsonProperty("flowResult") val flowResult: kotlin.String? = null, | ||
|
||
@get:JsonProperty("flowStatus") val flowStatus: kotlin.String? = null, | ||
|
||
@get:JsonProperty("holdingIDShortHash") val holdingIDShortHash: kotlin.String? = null, | ||
|
||
@get:JsonProperty("timestamp") val timestamp: java.time.OffsetDateTime? = null | ||
) { | ||
|
||
} |
27 changes: 27 additions & 0 deletions
27
...n/kotlin/org/hyperledger/cactus/plugin/ledger/connector/corda/server/model/FlowV1Error.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,27 @@ | ||
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 message | ||
* @param type | ||
*/ | ||
data class FlowV1Error( | ||
|
||
@get:JsonProperty("message", required = true) val message: kotlin.String, | ||
|
||
@get:JsonProperty("type", required = true) val type: kotlin.String | ||
) { | ||
|
||
} |
Oops, something went wrong.