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
test-multichain/multichain-node-1[multichain]: *** Error in `multichaind': malloc(): memory corruption: 0x00007f7d9c017f70 *** | |
test-multichain/multichain-node-1[multichain]: ======= Backtrace: ========= | |
test-multichain/multichain-node-1[multichain]: [0x15521d1] | |
test-multichain/multichain-node-1[multichain]: [0x155ccca] | |
test-multichain/multichain-node-1[multichain]: [0x155ec51] | |
test-multichain/multichain-node-1[multichain]: [0x1431188] | |
test-multichain/multichain-node-1[multichain]: [0x83875b] | |
test-multichain/multichain-node-1[multichain]: [0x82cd8a] | |
test-multichain/multichain-node-1[multichain]: [0x81add7] | |
test-multichain/multichain-node-1[multichain]: [0x8240c1] |
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
I, Enrique Medina Montenegro, have read and do accept the MuleSoft Contributor Agreement | |
at http://www.mulesoft.org/legal/contributor-agreement.html | |
Accepted on Thu Dec 17 2015 18:04:39 GMT+0100 (Romance Standard Time) |
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
# XD Configuration file | |
# You can set properties here to override the default which | |
# are set in the application.yml file loaded by Spring Boot. | |
# | |
# Properties set in here will take precedence. | |
# | |
# Alternatively, you can set the environment variable XD_CONFIG | |
# to point to a file (use a file:// URL). That file will then be | |
# used instead. |
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
{ | |
"query": { | |
"filtered": { | |
"query": { | |
"match_all": {} | |
}, | |
"filter": { | |
"or": [ | |
{ | |
"and": [ |
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
# Remove all data. | |
curl -XDELETE 'http://127.0.0.1:9200/poc/' | |
# Create index with default settings. | |
curl -XPUT 'http://127.0.0.1:9200/poc/' | |
# Define mapping for taskA. | |
curl -XPUT 'http://127.0.0.1:9200/poc/taskA/_mapping' -d ' | |
{ | |
"taskA": { |
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
curl -XPUT http://localhost:9200/_river/test_mysql_river/_meta -d ' | |
{ | |
"type":"jdbc", | |
"jdbc": { | |
"strategy":"simple", | |
"poll":"1m", | |
"driver":"com.mysql.jdbc.Driver", | |
"url" : "jdbc:mysql://localhost:3306/ohim", | |
"user":"root", | |
"password":"", |
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
{ | |
"took": 5, | |
"timed_out": false, | |
"_shards": { | |
"total": 5, | |
"successful": 5, | |
"failed": 0 | |
}, | |
"hits": { | |
"total": 5, |
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
class Controller1Controller { | |
def atmosphere1() { | |
broadcaster['/atmosphere/atmosphere1'].broadcast("MY BROADCAST MESSAGE") | |
render "DONE BROADCASTING MESSAGE" | |
} | |
} |
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
class Atmosphere1Service { | |
static transactional = false | |
static atmosphere = [mapping: '/atmosphere/atmosphere1'] | |
def onRequest = { event -> | |
event.suspend() | |
} |
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
package unittestfailwithobjectid | |
import grails.test.* | |
import grails.datastore.test.DatastoreUnitTestMixin | |
import org.bson.types.ObjectId | |
import org.springframework.core.convert.converter.Converter | |
@Mixin(DatastoreUnitTestMixin) | |
class SampleTests extends GrailsUnitTestCase { | |
protected void setUp() { |