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(connector-corda): support corda 5 RC via TS/HTTP (no JVM)
Fixes hyperledger-cacti#1480 Signed-off-by: adrian.batuto <[email protected]>
- Loading branch information
1 parent
5ad0ebf
commit 5a30cba
Showing
73 changed files
with
4,796 additions
and
109 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
packages/cactus-cmd-api-server/src/main/proto/generated/openapi/.openapi-generator/FILES
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
.openapi-generator-ignore | ||
README.md | ||
models/health_check_response_pb.proto | ||
models/memory_usage_pb.proto | ||
|
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
35 changes: 35 additions & 0 deletions
35
.../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,35 @@ | ||
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 | ||
import io.swagger.v3.oas.annotations.media.Schema | ||
|
||
/** | ||
* | ||
* @param name | ||
* @param version | ||
* @param signerSummaryHash | ||
*/ | ||
data class CPIIDV5( | ||
|
||
@Schema(example = "string", required = true, description = "") | ||
@get:JsonProperty("name", required = true) val name: kotlin.String, | ||
|
||
@Schema(example = "string", required = true, description = "") | ||
@get:JsonProperty("version", required = true) val version: kotlin.String, | ||
|
||
@Schema(example = "string", description = "") | ||
@get:JsonProperty("signerSummaryHash") val signerSummaryHash: kotlin.String? = null | ||
) { | ||
|
||
} | ||
|
29 changes: 29 additions & 0 deletions
29
...kotlin/org/hyperledger/cactus/plugin/ledger/connector/corda/server/model/CPIV5Response.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,29 @@ | ||
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.CPIV5ResponseCpisInner | ||
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 | ||
import io.swagger.v3.oas.annotations.media.Schema | ||
|
||
/** | ||
* | ||
* @param cpis | ||
*/ | ||
data class CPIV5Response( | ||
|
||
@field:Valid | ||
@Schema(example = "null", description = "") | ||
@get:JsonProperty("cpis") val cpis: kotlin.collections.List<CPIV5ResponseCpisInner>? = null | ||
) { | ||
|
||
} | ||
|
43 changes: 43 additions & 0 deletions
43
...in/org/hyperledger/cactus/plugin/ledger/connector/corda/server/model/CPIV5ResponseCpis.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.CPIIDV5 | ||
import org.hyperledger.cactus.plugin.ledger.connector.corda.server.model.CPIV5ResponseCpks | ||
import javax.validation.constraints.DecimalMax | ||
import javax.validation.constraints.DecimalMin | ||
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 CPIV5ResponseCpis( | ||
|
||
@field:JsonProperty("cpiFileChecksum") val cpiFileChecksum: kotlin.String? = null, | ||
|
||
@field:JsonProperty("cpiFileFullChecksum") val cpiFileFullChecksum: kotlin.String? = null, | ||
|
||
@field:Valid | ||
@field:JsonProperty("cpks") val cpks: kotlin.collections.List<CPIV5ResponseCpks>? = null, | ||
|
||
@field:JsonProperty("groupPolicy") val groupPolicy: kotlin.String? = null, | ||
|
||
@field:Valid | ||
@field:JsonProperty("id") val id: CPIIDV5? = null, | ||
|
||
@field:JsonProperty("timestamp") val timestamp: java.time.OffsetDateTime? = null | ||
) { | ||
|
||
} | ||
|
Oops, something went wrong.