AeroGear SimplePush Server WildFly

A SimplePush Server Implementation.

License

License

Categories

Categories

JBoss Container Application Servers WildFly
GroupId

GroupId

org.jboss.aerogear
ArtifactId

ArtifactId

aerogear-simplepush-server-wildfly
Last Version

Last Version

0.12.1
Release Date

Release Date

Type

Type

jar
Description

Description

AeroGear SimplePush Server WildFly
A SimplePush Server Implementation.
Project URL

Project URL

http://aerogear.org
Project Organization

Project Organization

JBoss by Red Hat

Download aerogear-simplepush-server-wildfly

How to add to project

<!-- https://jarcasting.com/artifacts/org.jboss.aerogear/aerogear-simplepush-server-wildfly/ -->
<dependency>
    <groupId>org.jboss.aerogear</groupId>
    <artifactId>aerogear-simplepush-server-wildfly</artifactId>
    <version>0.12.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.jboss.aerogear/aerogear-simplepush-server-wildfly/
implementation 'org.jboss.aerogear:aerogear-simplepush-server-wildfly:0.12.1'
// https://jarcasting.com/artifacts/org.jboss.aerogear/aerogear-simplepush-server-wildfly/
implementation ("org.jboss.aerogear:aerogear-simplepush-server-wildfly:0.12.1")
'org.jboss.aerogear:aerogear-simplepush-server-wildfly:jar:0.12.1'
<dependency org="org.jboss.aerogear" name="aerogear-simplepush-server-wildfly" rev="0.12.1">
  <artifact name="aerogear-simplepush-server-wildfly" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.jboss.aerogear', module='aerogear-simplepush-server-wildfly', version='0.12.1')
)
libraryDependencies += "org.jboss.aerogear" % "aerogear-simplepush-server-wildfly" % "0.12.1"
[org.jboss.aerogear/aerogear-simplepush-server-wildfly "0.12.1"]

Dependencies

compile (16)

Group / Artifact Type Version
org.jboss.aerogear : aerogear-simplepush-datastore-in-memory jar 0.12.1
org.jboss.aerogear : aerogear-simplepush-datastore-jpa jar 0.12.1
org.jboss.aerogear : aerogear-simplepush-datastore-couchdb jar 0.12.1
org.jboss.aerogear : aerogear-simplepush-datastore-redis jar 0.12.1
org.jboss.aerogear : aerogear-simplepush-server-netty jar 0.12.1
org.jboss.as : jboss-as-controller jar 7.1.1.Final
org.jboss.as : jboss-as-server jar 7.1.1.Final
org.jboss.aerogear : aerogear-crypto jar 0.1.5
bouncycastle : bcprov-jdk16 jar 140
org.ektorp : org.ektorp jar 1.4.1
org.jboss.as : jboss-as-naming jar 7.1.1.Final
io.netty : netty-all jar 5.0.0.Alpha1
org.jboss.aerogear : aerogear-netty-codec-sockjs jar 0.12.1
com.fasterxml.jackson.core : jackson-core jar 2.3.0
com.fasterxml.jackson.core : jackson-databind jar 2.3.0
com.fasterxml.jackson.core : jackson-annotations jar 2.3.0

provided (3)

Group / Artifact Type Version
org.jboss.modules : jboss-modules jar 1.1.1.GA
mysql : mysql-connector-java jar 5.1.18
org.hibernate : hibernate-entitymanager jar 4.2.3.Final

test (5)

Group / Artifact Type Version
org.jboss.as : jboss-as-subsystem-test jar 7.1.1.Final
junit : junit jar 4.11
org.mockito : mockito-core jar 1.9.0
org.easytesting : fest-assert jar 1.4
com.h2database : h2 jar 1.3.172

Project Modules

There are no modules declared in this project.

Deprecated

SimplePush is no longer maintained by Mozilla, see: https://twitter.com/MozillaWebpush/status/896095563942318080

Aerogear SimplePush Server Build Status

This project is a Java server side implementation of the SimplePush Protocol specification from Mozilla that describes a JavaScript API and a protocol which allows backend/application developers to send notification messages to their web applications. Originally SimplePush was introduced for Firefox OS but there are plans to establish the API on the desktop and mobile browsers as well.

Firefox OS v1.1 uses SimplePush as its Push Notification technology. Firefox OS Push Notifications are designed for one thing – waking up apps. They do not deal with data, desktop notifications and other features, since there are other Web APIs that provide them. From the very beginning SimplePush was designed to explicitly not carry any payload. Instead a version number is sent to the client. Based on that version number the client can perfom an action, e.g. refresh a view of data.

Mozilla published a very detailed article that explains the API in depth.

Project Info
License: Apache License, Version 2.0
Build: Maven
Documentation: https://aerogear.org/push/
Issue tracker: https://issues.jboss.org/browse/AGPUSH
Mailing lists: aerogear-users (subscribe)
aerogear-dev (subscribe)

AeroGear SimplePush consists of the following modules:

  • common
    Just common classes used by multiple modules in the project.

  • datastores
    Contains implementations of various datastores. Please see the specific datastore's readme for further details.

  • protocol
    The SimplePush Server Protocol provides interfaces for the protocol.

  • server-api
    An API for AeroGear SimplePush Server

  • server-core
    An implementation of AeroGear SimplePush Server API.

  • server-netty
    The SimplePush Server implementation that uses Netty 4.x.

  • server-vertx
    The SimplePush Server implementation that uses vert.x.

  • wildfly-module
    A WildFly/AS7 module for the SimplePush Server.

Please refer to the above modules documentation for more information.

Docker

You can use Docker to build and run SimplePush server. Follow the instructions to install docker.

The Docker image provided contains CouchDB and Redis which enables the functional tests that use these databases to be run.

Build a SimplePush Container

Build using github path

docker build -t simplepush github.com/aerogear/aerogear-simplepush-server

Build using cloned project

docker build -t simplepush .

Run integration tests

docker run -it simplepush

Run standalone Netty server

docker run -p 7777:7777 -w /home/aerogear-simplepush-server/server-netty -it simplepush mvn exec:java

Manually running test

You may want to trigger test using a different branch, perhaps to run the integration tests against that code base. This can be done by starting the image using a shell:

docker run -it simplepush /bin/bash

You'll need to start the databases (currently CouchDB and Redis):

/startdbs.sh

Now, you can clone your fork and checkout a branch. To run all tests including the integration/functional tests:

mvn install -Pcouchdb,redis

Port forwarding for Mac OS X

You'll need to configure your VirtualBox to support port forwarding for port 7777:

VBoxManage modifyvm "boot2docker-vm" --natpf1 "guestnginx,tcp,,7777,,7777"

Documentation

For more details about the current release, please consult our documentation.

Development

If you would like to help develop AeroGear you can join our developer's mailing list, join #aerogear on Freenode, or shout at us on Twitter @aerogears.

Also takes some time and skim the contributor guide

Questions?

Join our user mailing list for any questions or help! We really hope you enjoy app development with AeroGear!

Found a bug?

If you found a bug please create a ticket for us on Jira with some steps to reproduce it.

org.jboss.aerogear

AeroGear

Modern App Dev begins here - RealTime GraphQL and Push

Versions

Version
0.12.1
0.12.0
0.10.0