Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Function Executions from Repositories [DATAGEODE-258] #307

Open
spring-projects-issues opened this issue Nov 2, 2019 · 0 comments
Assignees
Labels
in: api Issues with API in: functions Functions in: repository Repositories abstraction type: enhancement A general enhancement

Comments

@spring-projects-issues
Copy link

John Blum opened DATAGEODE-258 and commented

This feature request is meant to track the research and development of supporting Function Execution definitions in Spring Data Repositories.

Since all Repositories operate from the perspective of a GemFire Region (associated with @Region annotated domain object, or even the Repo annotated with @Region itself), then effectively, all Function Executions defined in the application Repository interface will execute @OnRegion.

This might look a little something like this...

@Region("Orders")
class Order { .. }

interface OrderRepository implements GemfireRepository<Order, Long> {

  List<Order> findByOrderId(Long id);
  ...
  @Function
  void processOrders(Status status, ...);

Reference URL: https://jira.spring.io/browse/SGF-452

@spring-projects-issues spring-projects-issues added in: functions Functions in: repository Repositories abstraction type: enhancement A general enhancement in: api Issues with API labels Dec 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: api Issues with API in: functions Functions in: repository Repositories abstraction type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants