This file contains hidden or 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
/* global vertx */ | |
var logger = org.slf4j.LoggerFactory.getLogger('vertx.tests.AddingVerticle'); | |
module.exports = { | |
vertxStartAsync: function (startFuture) { | |
logger.info('verticle started'); | |
vertx.executeBlocking(function (blockingFuture) { | |
logger.debug('requiring dependency'); | |
var adder = require('./onePlusOne'); |
This file contains hidden or 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
module.exports = { | |
vertxStartAsync: function (startFuture) { | |
vertx.executeBlocking(function (blockingFuture) { | |
try { | |
var Router = require("vertx-web-js/router"); | |
var router = Router.router(vertx); | |
var handler = require("vertx-health-checks-js/health_check_handler").create(vertx); | |
handler.register("complete-with-ok", function (future) { |
This file contains hidden or 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 vertxunit.tests; | |
import io.vertx.core.AsyncResult; | |
import io.vertx.core.Future; | |
import io.vertx.core.Handler; | |
import io.vertx.core.Vertx; | |
import io.vertx.core.json.JsonObject; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; |
This file contains hidden or 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
apply plugin: 'com.moowork.node' | |
buildscript { | |
repositories { | |
maven { | |
url "https://plugins.gradle.org/m2/" | |
} | |
} | |
dependencies { |
This file contains hidden or 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
vagrant.exe : INFO global: Vagrant version: 1.7.4At line:1 char:1 | |
+ vagrant --debug up 1> debug.txt 2>&1 | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : NotSpecified: ( INFO global: Vagrant version: 1.7.4:String) [], RemoteException | |
+ FullyQualifiedErrorId : NativeCommandError | |
INFO global: Ruby version: 2.0.0 | |
INFO global: RubyGems version: 2.0.14 | |
INFO global: VAGRANT_EXECUTABLE="C:\\HashiCorp\\Vagrant\\embedded\\gems\\gems\\vagrant-1.7.4\\bin\\vagrant" |
This file contains hidden or 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 ot.publishing.vertx.service.publisher.tests; | |
import java.util.concurrent.TimeUnit; | |
import static org.junit.Assert.*; | |
import org.junit.Test; | |
import rx.Observable; | |
public class RetryWhenRetriesRootObservable { |