mirror of
https://github.com/corda/corda.git
synced 2024-12-26 16:11:12 +00:00
commit
785891515e
@ -61,6 +61,13 @@ sealed class QueryCriteria : GenericQueryCriteria<QueryCriteria, IQueryCriteriaP
|
||||
@CordaSerializable
|
||||
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
|
||||
@CordaSerializable
|
||||
data class SoftLockingCondition(val type: SoftLockingType, val lockIds: List<UUID> = emptyList())
|
||||
|
@ -51,8 +51,8 @@ class PersistentUniquenessProvider(val clock: Clock) : UniquenessProvider, Singl
|
||||
@CordaSerializable
|
||||
class Request(
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.AUTO)
|
||||
val id: Int = 0,
|
||||
@GeneratedValue
|
||||
val id: Int? = null,
|
||||
|
||||
@Column(name = "consuming_transaction_id")
|
||||
val consumingTxHash: String,
|
||||
|
@ -35,6 +35,7 @@ import net.corda.testing.node.User
|
||||
import org.assertj.core.api.Assertions.assertThat
|
||||
import org.bouncycastle.util.io.Streams
|
||||
import org.junit.ClassRule
|
||||
import org.junit.Ignore
|
||||
import org.junit.Test
|
||||
import java.net.ConnectException
|
||||
import kotlin.test.assertTrue
|
||||
@ -139,6 +140,7 @@ class SSHServerTest : IntegrationTest() {
|
||||
}
|
||||
}
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
fun `ssh runs flows`() {
|
||||
val user = User("u", "p", setOf(startFlow<FlowICanRun>()))
|
||||
@ -196,4 +198,4 @@ class SSHServerTest : IntegrationTest() {
|
||||
|
||||
override val progressTracker: ProgressTracker? = ProgressTracker()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user