Merge OS -> ENT

This commit is contained in:
szymonsztuka 2018-03-21 09:53:28 +00:00
commit b81c005230
3 changed files with 12 additions and 3 deletions

View File

@ -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())

View File

@ -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,

View File

@ -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()
}
}
}