geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (GEODE-1025) Remove compile dependency on spring data gemfire/geode
Date Fri, 08 Apr 2016 16:26:25 GMT


ASF subversion and git services commented on GEODE-1025:

Commit 4c2d3091f86e0fb2fe3c07f459f71bb3bccb48d1 in incubator-geode's branch refs/heads/feature/GEODE-17-2
from [~upthewaterspout]
[;h=4c2d309 ]

GEODE-1025: Removing bundled SDG and special handling of spring jars

Spring Data Gemfire will no longer be bundled with geode, instead users
will be expected to manually add it to the classpath if they want to
start with spring.

Removing the spring jars from the lib directory, and the special code
that automatically adds the spring jars to the classpath when starting
with --spring-xml-location.

> Remove compile dependency on spring data gemfire/geode
> ------------------------------------------------------
>                 Key: GEODE-1025
>                 URL:
>             Project: Geode
>          Issue Type: Improvement
>          Components: build
>            Reporter: Dan Smith
>            Assignee: Dan Smith
>             Fix For: 1.0.0-incubating.M2
> We have a compile dependency on spring data gemfire in the ServerLauncher class to support
launching a server using a spring data gemfire configuration instead of a cache.xml file.
> That's a good feature to have, but it should be part of spring data gemfire, not geode.
Because of this compile dependency on SDG, we currently have a circular dependency on SDG
-> Geode -> SDG. That makes it difficult to do things like rename packages in geode
(GEODE-37) because SDG is still using the old packages.
> Instead of directly depending on spring data gemfire, we should provide an extension
point that SDG can plug into to override the cache server startup behavior.
> The easiest place way to do this is just to use the java ServiceLoader mechanism. We
can provide an interface for a plugin that replaces startup behavior of the server. SDG can
provide an implementation of this interface.

This message was sent by Atlassian JIRA

View raw message