Giter Site home page Giter Site logo

vertx-bus-bower's Introduction

SockJS Event Bus bridge for Vert.x 3

The vertx-eventbus.js file is a SockJS-based event bus bridge to connect your JavaScript frontend application to Vert .x 3.x. You can use it in a front-end application or in a node.js application.

If you already use a previous version of the bridge, please check the changelog below.

Changelog

Changes from the 3.2 to 3.2.1

  • Update the eventbus client version to 3.2.1

Changes from the 3.1.1 to 3.2

  • Update the eventbus client version to 3.2.0

Changes from the 3.1 to 3.1.1

  • Update the main attribute in the bower.json file.

Changes from the 3.0.x to 3.1

  • IMPORTANT: The API has been changed to be compatible with node.js and to be closer to the vert.x eventbus API .Creating the bridge is made using var eb = new EventBus("http://localhost:8080/eventbus"); instead of new vertx .EventBus.... In addition, registering a handler use the node convention: eb.registerHandler("metrics", function(err, res) {...} instead of ev.registerHandler("metrics", res).
  • The file name has been updated to eventbus-client.js

Build

This project is exotic... It generate a git repository compliant with the Bower expectation. It:

  1. Compute the bower.json content and copy it to the root directory
  2. Download the vert.x event bus bridge and copy it to the root directory

Generation is triggered by mvn clean package

Updating

    1. Open the pom.xml file and edit the vertx.version property (~ project version) and the package.version (packaging iteration)
    1. Update using mvn clean package
    1. Add all modified files:

NOTE: the $VERSION is the package.version

git add bower.json vertx-eventbus.js pom.xml README.md
    1. Commit
git commit -m "update version to $VERSION"

    1. Create tag
git tag -a $VERSION -m "tag for version $VERSION"
    1. Push everything
git push origin --tags master

Done.

As the repository is already registered on Bower, the update should be automatic.

vertx-bus-bower's People

Contributors

cescoffier avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.