If you want to run the Unified Push Server behind a firewall, you still need to expose those RESTful endpoints that are accessed from the mobile apps running on the different devices:
With the help of the Fabric8 Gateway Servlet this is a fairly simple task!
I have created such a gateway that only exposes the above URLs, nothing else. Checkout therepository on github!
After reading a bit about Apache Mesos I wanted to play a bit with it. If you don’t know what Mesos is, it’s a cluster manager that provides efficient resource isolation and sharing across distributed applications, or frameworks.
Marathon is an Apache Mesos framework for long-running applications. Given that you have Mesos running as the kernel for your datacenter, Marathon is the
- Apache Zookeeper
- Apache Mesos
- Mesosphere’s Marathon
Once the above setup is done and your Apache Mesos system is running, it’s pretty simple to launch a WildFly server and deploy the UnifiedPush Server to it.
Download the following bundles and place them somewhere into your hosted infrastructure:
Now you need to save this JSON:
to a file and submit it to the Marathon server, using
curl -i -H 'Content-Type: application/json' -d @unifiedpush-server.json localhost:8080/v2/apps
After Apache Mesos is done with downloading the artifacts from the
uris section, it performs the steps chained in the
cmd section. This is basically a set of shell commands that copy the UnfiedPush Server and its database file to a WildFly, which uses a PORT provided by the custer manager, instead of the default
8080 http port.
You are done – that’s all you need. On the Marathon UI you now see the URL and the PORT of the WildFly, containing the UnifiedPush Server:
Have fun with WildFly and the UnifiedPushServer on Apache Mesos!
Today we are announcing the second beta release of our 1.0.0 version. This release contains several improvements
- WildFly 8.x support
- PostgreSQL fix
- Scheduler component for deleting analytics older than 30 days
- Improvements on the AdminUI
The complete list of included items are avialble on our JIRA instanceDocker
The team is extremely excited about the work that Docktor Bruno Oliveira did on our new Docker images:
Check them out!Documentation Demos
To get easily started using the UnifiedPush Server we have a bunch of demos, supporting various client platforms:
- Apache Cordova (with jQuery and Angular/Ionic)
Bruno Oliveira did Docker images for the Quickstart as well:Feedback
We hope you enjoy the bits and we do appreciate your feedback! Swing by on our mailing list! We are looking forward to hear from you!
NOTE: the Openshift online offering will be updated w/in the next day or two