Recent Posts

Testing Vert.x with Spock
12 December 2017

Recently I was trying to test some components in Vert.x, to make sure of the behavior of the message’s receptions, how to store correctly in the Shared Map?, is the value in the Map?, and so on… So, Vert.x includes a testing tool, is based in JUnit, the best, it has a Runner the VertxUnitRunner.class for JUnit, and for scripts tests you can use TestSuite.create, but what is the thing, the sentence: Async async = context. ... Read More

Develop with VertX
24 July 2017

Recently we used the project Vertx for develop a project. Now I’m going to talk about the basic functionality. VertX is a tool-kit for building reactive applications on the JVM. It has many interesting features: Actor model based. It’s polyglot: you can use with Java, Groovy, Ruby, Scala, Ceylon, Javascript, and Kotlin. If you want to install vertx, please use Sdk Manager Verticles For the beginning it’s important know that VertX has a nervous system called Event Bus, where you can write and run Verticles. ... Read More
After copying a file to Vagrant and creating a basic file structure. We can continue with our series. So, in this post, we are going to talk about the following topics: Assign an IP address Add your public key Access to vagrant machine without vagrant ssh For the first point and taking the file structure previously mentioned, we modify as follow: Vagrant.configure("2") do |config| = "centos/7" "public_network", bridge: "en0: Wi-Fi (AirPort)", auto_config: false config. ... Read More
Well, one of the common things to do in Vagrant is copying files. So for achieve that task we need to prepare a file like this. Once we have that file, we change = "ubuntu/trusty64" for = "centos/7". And modify it like follow: Vagrant.configure("2") do |config| = "centos/7" config.vm.provision "file", source: "lorem_ipsum.txt", destination: "~/lorem_ipsum.txt" end Alright we run the command for execute our file. ❯ vagrant up Bringing machine 'default' up with 'virtualbox' provider. ... Read More