mirror of
https://github.com/corda/corda.git
synced 2024-12-28 00:38:55 +00:00
commit
785891515e
@ -61,6 +61,13 @@ sealed class QueryCriteria : GenericQueryCriteria<QueryCriteria, IQueryCriteriaP
|
|||||||
@CordaSerializable
|
@CordaSerializable
|
||||||
data class TimeCondition(val type: TimeInstantType, val predicate: ColumnPredicate<Instant>)
|
data class TimeCondition(val type: TimeInstantType, val predicate: ColumnPredicate<Instant>)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Select states based on their locks.
|
||||||
|
*
|
||||||
|
* @param [type] Whether to select all locked states, all unlocked states,
|
||||||
|
* specific locked states, or all unlocked states plus specific locked states.
|
||||||
|
* @param [lockIds] The specific locked states to select (if applicable).
|
||||||
|
*/
|
||||||
// DOCSTART VaultQuerySoftLockingCriteria
|
// DOCSTART VaultQuerySoftLockingCriteria
|
||||||
@CordaSerializable
|
@CordaSerializable
|
||||||
data class SoftLockingCondition(val type: SoftLockingType, val lockIds: List<UUID> = emptyList())
|
data class SoftLockingCondition(val type: SoftLockingType, val lockIds: List<UUID> = emptyList())
|
||||||
|
@ -51,8 +51,8 @@ class PersistentUniquenessProvider(val clock: Clock) : UniquenessProvider, Singl
|
|||||||
@CordaSerializable
|
@CordaSerializable
|
||||||
class Request(
|
class Request(
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue(strategy = GenerationType.AUTO)
|
@GeneratedValue
|
||||||
val id: Int = 0,
|
val id: Int? = null,
|
||||||
|
|
||||||
@Column(name = "consuming_transaction_id")
|
@Column(name = "consuming_transaction_id")
|
||||||
val consumingTxHash: String,
|
val consumingTxHash: String,
|
||||||
|
@ -35,6 +35,7 @@ import net.corda.testing.node.User
|
|||||||
import org.assertj.core.api.Assertions.assertThat
|
import org.assertj.core.api.Assertions.assertThat
|
||||||
import org.bouncycastle.util.io.Streams
|
import org.bouncycastle.util.io.Streams
|
||||||
import org.junit.ClassRule
|
import org.junit.ClassRule
|
||||||
|
import org.junit.Ignore
|
||||||
import org.junit.Test
|
import org.junit.Test
|
||||||
import java.net.ConnectException
|
import java.net.ConnectException
|
||||||
import kotlin.test.assertTrue
|
import kotlin.test.assertTrue
|
||||||
@ -139,6 +140,7 @@ class SSHServerTest : IntegrationTest() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Ignore
|
||||||
@Test
|
@Test
|
||||||
fun `ssh runs flows`() {
|
fun `ssh runs flows`() {
|
||||||
val user = User("u", "p", setOf(startFlow<FlowICanRun>()))
|
val user = User("u", "p", setOf(startFlow<FlowICanRun>()))
|
||||||
|
Loading…
Reference in New Issue
Block a user