[
https://issues.apache.org/jira/browse/USERGRID-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15291377#comment-15291377
]
Michael Russo commented on USERGRID-1244:
-----------------------------------------
Plan of attack to start this....
Add this dependency for the ALPN support in Java since JDK 9 is not out yet
it's the "uber jar" and platform independent which will be most flexible for
Usergrid at this time):
{code}
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-tcnative-boringssl-static</artifactId>
<version>1.1.33.Fork15</version>
</dependency>
{code}
Then add this dependency for alpn-api support:
{code}
<!-- http://mvnrepository.com/artifact/org.eclipse.jetty.alpn/alpn-api -->
<dependency>
<groupId>org.eclipse.jetty.alpn</groupId>
<artifactId>alpn-api</artifactId>
<version>1.1.2.v20150522</version>
</dependency>
{code}
Update Pushy dependency to:
{code}
<dependency>
<groupId>com.relayrides</groupId>
<artifactId>pushy</artifactId>
<version>0.7.2</version>
</dependency>
{code}
Double check these are available as dependencies as well ( likely are because
Pushy is already used):
{code}
netty 4.1.0
gson 2.5
slf4j 1.7.6
{code}
> Upgrade pushy library to use latest version (HTTP/2 APNS implementation)
> -------------------------------------------------------------------------
>
> Key: USERGRID-1244
> URL: https://issues.apache.org/jira/browse/USERGRID-1244
> Project: Usergrid
> Issue Type: Story
> Reporter: Michael Russo
> Assignee: Michael Russo
>
> Additional system requirements will need to be met
> (https://github.com/relayrides/pushy#system-requirements):
> 1) require openssl to be installed on servers running Usergrid and have
> specific compiled versions of usergrid for the supported platforms for
> running Usergrid (os version, etc.).
> http://netty.io/wiki/forked-tomcat-native.html
> 2) require an additional jar file added to the boot classpath of the jvm
> (alpn-boot) which is specific to the JDK version being used
> It may make sense to see about having the ability to disable push so that no
> push notification services are bootstrapped in the event someone wants to use
> Usergrid but does not require push and does not want to manage these
> additional system requirements.
> Option 1 preferred at the moment as having OpenSSL installed is an easy
> requirement and and the platform configurations for
> http://netty.io/wiki/forked-tomcat-native.html seem limited.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)