Return-Path: X-Original-To: apmail-geode-issues-archive@minotaur.apache.org Delivered-To: apmail-geode-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DC375187D7 for ; Thu, 3 Mar 2016 21:13:23 +0000 (UTC) Received: (qmail 65019 invoked by uid 500); 3 Mar 2016 21:13:23 -0000 Delivered-To: apmail-geode-issues-archive@geode.apache.org Received: (qmail 64987 invoked by uid 500); 3 Mar 2016 21:13:23 -0000 Mailing-List: contact issues-help@geode.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.incubator.apache.org Delivered-To: mailing list issues@geode.incubator.apache.org Received: (qmail 64970 invoked by uid 99); 3 Mar 2016 21:13:23 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2016 21:13:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 457071A0644 for ; Thu, 3 Mar 2016 21:13:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.549 X-Spam-Level: X-Spam-Status: No, score=-3.549 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.329] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id t1daleEC2Qzf for ; Thu, 3 Mar 2016 21:13:20 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 995545F570 for ; Thu, 3 Mar 2016 21:13:19 +0000 (UTC) Received: (qmail 64749 invoked by uid 99); 3 Mar 2016 21:13:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2016 21:13:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3404F2C1F6B for ; Thu, 3 Mar 2016 21:13:18 +0000 (UTC) Date: Thu, 3 Mar 2016 21:13:18 +0000 (UTC) From: "Jens Deppe (JIRA)" To: issues@geode.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (GEODE-28) Gfsh's 'deploy' command needs enhancements to recognize Spring Data GemFire Annotated (deployed) Functions. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GEODE-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jens Deppe updated GEODE-28: ---------------------------- Component/s: (was: management) gfsh > Gfsh's 'deploy' command needs enhancements to recognize Spring Data GemFire Annotated (deployed) Functions. > ----------------------------------------------------------------------------------------------------------- > > Key: GEODE-28 > URL: https://issues.apache.org/jira/browse/GEODE-28 > Project: Geode > Issue Type: Improvement > Components: functions, gfsh > Environment: Apache Geode with Gfsh > Reporter: John Blum > Labels: ApacheGeode, DeployCommand, Function, Gfsh > > If developers want to "implement" _Apache Geode_ {{Functions}} using [_Spring Data GemFire's_ Function Annotation support|http://docs.spring.io/spring-data-gemfire/docs/current/reference/html/#function-annotations], then they are unable to leverage other _Geode_ features as a result. > One such feature is the ability to use _Gfsh's_ '{{deploy}}' command to (re-)deploy JAR files containing [Function|http://gemfire.docs.pivotal.io/latest/javadocs/japi/com/gemstone/gemfire/cache/execute/Function.html] classes "implementing" _Apache Geode_ {{Functions}} that may have been modified and _Geode_ will "automatically" +detect+ and subsequently +register+ those updated JAR packaged {{Function(s)}}. > I have been asked, "_what is *Spring Data GemFire* going to do to support the (hot) {{deploy}} feature?_" However, this is the +wrong+ question. > It is not what SDG can do since, technically, this is a limitation in _Geode_ (and by extension _GemFire_), and _Geode_ only detects _Geode_ specific types (in particular, and +only+... [com.gemstone.gemfire.cache.Function|http://gemfire.docs.pivotal.io/latest/javadocs/japi/com/gemstone/gemfire/cache/execute/Function.html] class types). While non-{{Function}} classes and resources are technically added to the "custom" CLASSPATH (defined by an "internal", _Geode_ {{ClassLoader}}), there is no recognition and "first-class" support for non-_Geode_ types thereby complicating the matter for technologies that integrate with _Geode_ such as _Spring_. > So, the right question is, "_what can _Geode_ do to recognize additional types (or rather, meta-data annotated class types) that are not part of the core _Geode_ types? > In essence, _Apache Goede's_ Gfsh '{{deploy}}' command needs to be enhanced to recognize SDG-defined Function Annotated POJOs and act accordingly, in this case. -- This message was sent by Atlassian JIRA (v6.3.4#6332)