Skip to content

C-B4/unifiedpush-server

 
 

Repository files navigation

AeroGear UnifiedPush Server

Build Status License

AeroGear is a mobile/web platform that helps you quickly develop high-quality modern web and mobile applications.

AeroGear UnifiedPush Server releases additional functionality while maintaining AeroGear API compatibility:

  • Realtime DB - NoSQL Document Database, store & access your documents from both the server and the client.
  • Scalable & Fault Tolerant, Based on apache cassandra database.
  • Authentication - Add authentication to applications and secure services with minimum fuss.
  • OTP Registraion - Pluggable SMS/Email Verification process.
  • SSL Support and easy configuration.
  • Cloud Messaging - Push Notifications (Payload & Silent).
  • Centralized configuration/management using Chef Omnibus.
  • By default, every AeroGear package comes with an embedded NGINX, Wildfly 10.1 & KeyCloak 2.4, Cassandra 3.9.
  • Full-stack rpm/deb installers across a variety of platforms (RHEL, Debian, Fedora, Ubuntu).

Push Notification cloud providers

Project Info

Project Info
License: Apache License, Version 2.0
Build: Maven
Documentation: AeroGear Server Documentation
AeroGear API Documentaion
Issue tracker: JIRA

Getting started

Or for the on-premise version, execute the following steps to get going!

Now go to http://localhost/unifiedpush-server and enjoy the AeroGear Server. NOTE: the default user/password is admin:123

Getting Started with Clustered Servers

In order to test on a cluster of AeroGear servers, the default configuration serves pretty well, you just need to set 'contactpoints' to /etc/unifiedpush/unifiedpush.rb.

Docker-Compose

For your convenience, we do have an easy way of launch with our Docker compose file

Documentation

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

Generate REST Documentation

Up to date generated REST endpoint documentation can be found in http://ups.c-b4.com/C-B4-docs/. It is generated with every jaxrs module build.

Who is using it?

We have a list of users in our wiki. If you are using the UnifiedPush Server, please add yourself to the list!

Development

The above Getting started section covers the latest release of the UnifiedPush Server. For development and deploying SNAPSHOT versions, you will find information in this section.

Deployment & Development

For deployment of the master branch to a specific server (Wildfly-10 or EAP7), you need to build the WAR files and deploy them to a running and configured server.

First build the entire project:

mvn clean install

Note, this will build the also the WAR files for both, WildFly-10 and EAP7.

Deployment to WildFly-10/EAP7

For WildFly, invoke the following commands afer the build has been completed. This will deploy both WAR files to a running and configured Wildfly server.

cd servers
mvn wildfly:deploy -Pwildfly

AdminUI and its release

The sources for administration console UI are placed under admin-ui.

For a build of the admin-ui during release, you can just run a Maven build, the admin-ui will be compiled by frontend-maven-plugin during admin-ui module build.

For instructions how to develop admin-ui, refer to admin-ui/README.md.

These instructions contains also specific instructions how to upgrade NPM package dependencies.

Note that the {{frontend-maven-plugin}} may fail if you killed the build during its work - it may leave the downloaded modules in inconsistent state, see admin-ui/README.md.

Cleaning the Admin UI build

In order to clean the state of Admin UI build caches, run maven build with the following parameter

mvn clean install -Dfrontend.clean.force

Try this if the build fails e.g. after bower.json or package.json modifications to make sure no cache is playing with you.

Releasing the AeroGear UnifiedPush Server

The content of the Release Process is valid for this project as well. However, to build the distribution bundle, you need to include these profiles:

mvn release:GOAL -Pdist,test

Deprecation Notices

1.1.x

Chrome Packaged Apps

The Chrome Packaged App Variant will be removed. Google has deprecated the chrome.pushMessaging API in favor of the chrome.gcm API.

This change allows the UnifiedPush Server to now use the Android Variant for both Android and Chrome Apps.

If you are using this functionality, please convert your applications to use the new API and recreate your variants.

How to develop and run tests

There is a dedicated guide to running and developing tests in TESTS.md

Found a bug?

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

Packages

No packages published

Languages

  • Java 98.6%
  • Shell 1.2%
  • Other 0.2%