I hereby claim:
- I am dazraf on github.
- I am dazraf (https://keybase.io/dazraf) on keybase.
- I have a public key ASAmnX9p3KgchojenENzV6qz_uhjBL59m8b12DkoNb3cfgo
To claim this, I am signing this object:
import io.cordite.commons.database.executeCaseInsensitiveQuery | |
import io.cordite.commons.utils.transaction | |
import net.corda.core.contracts.StateRef | |
import net.corda.core.crypto.SecureHash | |
import net.corda.core.node.AppServiceHub | |
import net.corda.core.node.services.CordaService | |
import net.corda.core.serialization.SingletonSerializeAsToken | |
import net.corda.core.utilities.loggerFor | |
import net.corda.node.services.statemachine.StateMachineManager | |
import java.util.* |
package yourpackage | |
import net.corda.node.internal.StartedNode | |
import net.corda.testing.node.MockNetwork | |
import org.h2.tools.Server | |
class H2Server(nodes: MockNetwork.BasketOfNodes, private val port : Int = 9092) { | |
companion object { | |
private val H2_NAME_RE = "^jdbc:h2:(mem:[^;:]+).*$".toRegex() | |
} |
➤ jstack -l 15513 | |
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.112-b16 mixed mode): | |
"Attach Listener" #83 daemon prio=9 os_prio=31 tid=0x00007fd61515c800 nid=0x8b07 waiting on condition [0x0000000000000000] | |
java.lang.Thread.State: RUNNABLE | |
Locked ownable synchronizers: | |
- None | |
"DestroyJavaVM" #69 prio=5 os_prio=31 tid=0x00007fd615149800 nid=0x1c03 waiting on condition [0x0000000000000000] |
I hereby claim:
To claim this, I am signing this object:
package io.dazraf.vertx.async; | |
import io.vertx.core.AsyncResult; | |
import io.vertx.core.Vertx; | |
import io.vertx.core.eventbus.Message; | |
import io.vertx.core.json.JsonObject; | |
import org.junit.Test; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; |
curl -XDELETE "http://localhost:9200/wibble" | |
curl -XPUT "http://localhost:9200/wibble" -d' | |
{ | |
"mappings": { | |
"_default_": { | |
"_all": { | |
"enabled": true | |
}, | |
"dynamic_templates": [ |
curl -XDELETE "http://localhost:9200/contests" | |
curl -XPUT "http://localhost:9200/contests" -d' | |
{ | |
"mappings": { | |
"contest": { | |
"properties": { | |
"contestant": { | |
"type": "nested", | |
"properties": { | |
"id": { |
curl -XPUT "http://localhost:9200/contests/" -d' | |
{ | |
"settings": { | |
"index.number_of_replicas": 0, | |
"index.number_of_shards": 1, | |
"index.refresh_interval": -1 | |
}, | |
"mappings": { | |
"contest": { | |
"properties": { |
curl -XPUT "http://localhost:9200/_template/logstash" -d' | |
{ | |
"template": "logstash-*", | |
"settings": { | |
"index.refresh_interval": "5s" | |
}, | |
"mappings": { | |
"_default_": { | |
"dynamic_templates": [ | |
{ |