Skip to content

Instantly share code, notes, and snippets.

View cvasilak's full-sized avatar

Christos Vasilakis cvasilak

View GitHub Profile
cvasilak-MacBook-Pro:~ cvasilak$ curl --verbose -H "Accepts:application/json" "localhost:8080/aerogear-controller-demo/cars?color=black&offset=0&limit=5"
* About to connect() to localhost port 8080 (#0)
* Trying 127.0.0.1...
* connected
* Connected to localhost (127.0.0.1) port 8080 (#0)
> GET /aerogear-controller-demo/cars?color=black&offset=0&limit=5 HTTP/1.1
> User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5
> Host: localhost:8080
> Accept: */*
> Accepts:application/json

Easy enterprise iOS app

(with AeroGear)

Type: Tools in Action

Abstract: Today, it’s a fact: mobile and smartphones sales are double than personal computers. Tomorrow, enterprise applications will be mobile apps. What are the challenges of mobile apps: accessing RESTful services, paging, data storage, security features... But not only your device interacts with cloud services, enterprise applications interact with registered devices providing you valuable contextual information.

Easy enterprise iOS app

(with AeroGear)

Type: Tools in Action

Abstract: Today, it’s a fact: mobile and smartphones sales are double than personal computers. Tomorrow, enterprise applications will be mobile apps. What are the challenges of mobile apps: accessing RESTful services, paging, data storage, security features... But not only your device interacts with cloud services, enterprise applications interact with registered devices providing you valuable contextual information. How do you unified push notifications across different platforms?

$ mvn exec:java -Dexec.args="-host=localhost -port=7777 -tls=false -ack_interval=10000 -useragent_reaper_timeout=60000"
...
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:java (default-cli) on project aerogear-simplepush-server-netty: An exception occured while executing the Java class. null: InvocationTargetException: No 'tokenKey' must be configured!
..

AeroGear iOS 1.5.0 is out!

Bye bye iOS 5/6 (gone all the hooks to cater for version bugs), we love iOS7!

Spring cleaning obliged, another important shift for this release was the move from AFNetworking 1.x series to AFNetworking 2.x. Going forward, this move will allow us to take advantage some of the new capabilities provided by AFnet, such as the support of pluggable serializers, to offer some great new features in the future. Although the move needed a significant internal refactoring on our libraries, the interfaces stay the same. The only minor noticeable change is the usage of progress bar in pipe. Check out our recipe Shoot on cookbook to see new usage.

Still internal refactoring, aerogear-push-ios-registration went lighter in its dependencies, removing it's usage on AFNetworking and

@cvasilak
cvasilak / iOS.md
Created July 8, 2014 07:28 — forked from matzew/iOS.md

Requirements

  • Have gpg-agent installed, configured and running. One way to be sure to check if your gpg agent is running correctly is to encrypt and decrypt a file, using the gpg tool, don't forget to pass the --use-agent option, you should be prompted with a dialog (depending on your OS asking for your pass phrase). Now try to decrypt again, you hsould not be asked again for your pass phrase : your agent is working.

Release process

Preparation

Once the code is ready to be released, create a branch that indicates the version, e.g. 0.5.0-release and send a heads-up (or vote) email to the mailing list asking to test the bits before we do release.

@cvasilak
cvasilak / iOS.md
Last active August 29, 2015 14:03 — forked from matzew/iOS.md

Requirements

  • Have gpg-agent installed, configured and running. One way to be sure to check if your gpg agent is running correctly is to encrypt and decrypt a file, using the gpg tool, don't forget to pass the --use-agent option, you should be prompted with a dialog (depending on your OS asking for your pass phrase). Now try to decrypt again, you hsould not be asked again for your pass phrase : your agent is working.

Release process

Preparation

Once the code is ready to be released, create a branch that indicates the version, e.g. 0.5.0-release and send a heads-up (or vote) email to the mailing list asking to test the bits before we do release.

@cvasilak
cvasilak / gist:7f47ca7e429c15f78d86
Created July 15, 2014 06:45
with 'contributor-settings.xml'
/Projects/JBoss/AeroGear/aerogear-push-quickstarts/server/contacts-mobile-picketlink-secured (master)$ mvn clean install
[INFO] Scanning for projects...
Downloading: http://jboss-developer.github.io/temp-maven-repo/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.6.0-build-1/jboss-javaee-6.0-with-tools-2.6.0-build-1.pom
Downloaded: http://jboss-developer.github.io/temp-maven-repo/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.6.0-build-1/jboss-javaee-6.0-with-tools-2.6.0-build-1.pom (8 KB at 6.8 KB/sec)
Downloading: http://jboss-developer.github.io/temp-maven-repo/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.6.0-build-1/jboss-wfk-bom-parent-2.6.0-build-1.pom
Downloaded: http://jboss-developer.github.io/temp-maven-repo/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.6.0-build-1/jboss-wfk-bom-parent-2.6.0-build-1.pom (7 KB at 14.4 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-7/jboss-javaee-6.0-3.0.2.Final-redhat-7.pom
Downloading: http://repo.maven.apache.org
[{"id":1,"name":"iPhone","filename":null},{"id":2,"name":"iPad","filename":null},{"id":3,"name":"iPad","filename":null}]
diff --git a/article.txt b/article.txt
index 5ce0226..23ce3b2 100644
--- a/article.txt
+++ b/article.txt
@@ -1,8 +1,12 @@
-Creating an App for managing WildFly application server
+Managing a WildFly/EAP application server on the road!
-In this tutorial we will show how to create an app that allows you to remotely administer a JBoss 7, WildFly or JBoss EAP using the server's exposed http management interface.
+Already WildFly(http://www.wildfly.org] and EAP(http://www.jboss.org/products/eap/overview/) come equipped with a powerful web-based administration console to manage most of the inner-workings of the application server. Ease of administration and usage of the application server is one of it's strategic themes (apart from its blazing fast speed!) with constant improvements (http://hbraun.info/2014/10/updated-management-console-in-wildfly-8-2/).