vertx auth

some starting points…

 

https://github.com/vert-x3/vertx-web/blob/master/vertx-web/src/test/java/io/vertx/ext/web/handler/BasicAuthHandlerTest.java

 

https://github.com/vert-x3/vertx-auth/blob/master/vertx-auth-jdbc/src/test/java/io/vertx/ext/auth/test/jdbc/JDBCAuthTest.java

vertx quartz integration

I found an old project (vertx 2.2), that show a possibleĀ integration between quartz scheduler and vertx:
https://github.com/bobmcwhirter/vertx-quartz-module

This project use vertx event bus to act when the job trigger is executed.

I would like to create a management interface with REST methods (to create/delete/list new job) and the execution of jobs is out of this verticle.

The job submission will be using a json object:
– cron expresion
– action: http url to call
– method: post/get/put/delete
– data to send when the trigger will be execute

[http://www.quartz-scheduler.org]

Clustered JDBC Job store configuration:
http://www.quartz-scheduler.org/documentation/quartz-2.2.x/configuration/ConfigJDBCJobStoreClustering.html

 

ubuntu: update nodeJS to latest

sudo npm cache clean -f
sudo npm install -g n
sudo n stable

sudo ln -sf /usr/local/n/versions/node/<VERSION>/bin/node /usr/bin/node
To upgrade to latest version (and not current stable) version, you can use

sudo n latest
To undo:

sudo apt-get install –reinstall nodejs-legacy # fix /usr/bin/node
sudo n rm 6.0.0 # replace number with version of Node that was installed
sudo npm uninstall -g n

[http://askubuntu.com/questions/426750/how-can-i-update-my-nodejs-to-the-latest-version]
[http://davidwalsh.name/upgrade-nodejs]