Skip to content

Instantly share code, notes, and snippets.

View corinnekrych's full-sized avatar
🐝

corinnekrych corinnekrych

🐝
View GitHub Profile
grails.servlet.version = "2.5" // Change depending on target container compliance (2.5 or 3.0)
grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
grails.project.target.level = 1.6
grails.project.source.level = 1.6
//grails.project.war.file = "target/${appName}-${appVersion}.war"
// uncomment (and adjust settings) to fork the JVM to isolate classpaths
//grails.project.fork = [
grails.servlet.version = "2.5" // Change depending on target container compliance (2.5 or 3.0)
grails.project.class.dir = "target/classes"
grails.project.test.class.dir = "target/test-classes"
grails.project.test.reports.dir = "target/test-reports"
grails.project.target.level = 1.6
grails.project.source.level = 1.6
//grails.project.war.file = "target/${appName}-${appVersion}.war"
// uncomment (and adjust settings) to fork the JVM to isolate classpaths
//grails.project.fork = [
//
// AGViewController.m
// AeroGearExample
//
// Created by Corinne Krych on 5/13/13.
// Copyright (c) 2013 red hat. All rights reserved.
//
#import "AGViewController.h"
#import <AeroGear/AeroGear.h>
- (ARCellData *)cellProject {
[self.tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:NSStringFromClass([UITableViewCell class])];
ARCellData *cellData = [[ARCellData alloc] initWithIdentifier:NSStringFromClass([UITableViewCell class])];
[cellData setCellConfigurationBlock:^(UITableViewCell *cell) {
//[cell setStyle:UITableViewCellStyleValue1];
cell.textLabel.text = @"Project";
cell.detailTextLabel.text = self.task[@"project"];
}];
return cellData;
}
if ([self.task objectForKey:@"project"] != nil) {
//dateCell.textLabel.text = [self.task objectForKey:@"project"];
dateCell.textLabel.text = [NSString stringWithFormat:@"Poject %@", [self.task objectForKey:@"project"]];
}
14:12:57,911 ERROR [org.jboss.weld.Bean] (http--0.0.0.0-8080-1) WELD-000019 Error destroying an instance Managed Bean [class org.aerogear.connectivity.jpa.dao.PushApplicationDaoImpl] with qualifiers [@Any @Default] of org.aerogear.connectivity.jpa.dao.PushApplicationDaoImpl@2c9d9b0c
14:12:57,912 ERROR [org.jboss.weld.Bean] (http--0.0.0.0-8080-1) WELD-000019 Error destroying an instance Managed Bean [class org.aerogear.connectivity.jpa.dao.SimplePushApplicationDaoImpl] with qualifiers [@Any @Default] of org.aerogear.connectivity.jpa.dao.SimplePushApplicationDaoImpl@6250cd56
14:12:57,914 ERROR [org.jboss.ejb3.invocation] (http--0.0.0.0-8080-1) JBAS014134: EJB Invocation failed on component SenderEndpoint for method public javax.ws.rs.core.Response org.aerogear.connectivity.rest.SenderEndpoint.notifyGivenChannels(java.util.Map,java.lang.String): javax.ejb.EJBException: java.lang.NullPointerException
at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:166) [jboss-as-ejb3-7.1.1.F
@corinnekrych
corinnekrych / gist:5712058
Last active December 18, 2015 02:38
MarJUG proposal

Purpose

Server wants to push notification to client. How to provide an unified way of pushing notification? Aerogear Unified push. See spec for explanation.

You want to contribute to this effort? What about writing functional tests! Yes... It's fun it's with Spock.

If you want to try it

Let's setup your environment for pushee (unified push server) + simplePush

Purpose
=======
Server wants to push notification to client. How to provide an unified way of pushing notification?
Aerogear Unified push. See [spec for explanation](https://github.com/aerogear/aerogear.org/blob/master/docs/specs/aerogear-server-push/index.markdown).
You want to contribute to this effort? what about writing functional test.
If you want to try it
======================
Let's setup your environment. Note that this is a work in progress.
package org.aerogear.pushee.tests
import com.jayway.restassured.RestAssured
import groovy.json.JsonBuilder
import org.jboss.arquillian.container.test.api.Deployment
import org.jboss.arquillian.test.api.ArquillianResource
import org.jboss.shrinkwrap.api.spec.WebArchive
import spock.lang.Specification
import spock.lang.Shared
Libtool build/AeroGear-iOS/Build/Products/Debug-iphonesimulator/libAeroGear-iOS.a normal i386
cd /Users/corinne/aerogear/aerogear-ios/AeroGear-iOS
setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only i386 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -L/Users/corinne/aerogear/aerogear-ios/AeroGear-iOS/build/AeroGear-iOS/Build/Products/Debug-iphonesimulator -filelist /Users/corinne/Library/Developer/Xcode/DerivedData/AeroGear-iOS-fkgkmyifcwjulcalwqjuiwywxbng/Build/Intermediates/AeroGear-iOS.build/Debug-iphonesimulator/AeroGear-iOS.build/Objects-normal/i386/AeroGear-iOS.LinkFileList -ObjC -framework CoreGraphics -framework Securit