You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Juan Ramos (Jira)" <ji...@apache.org> on 2019/12/06 16:15:00 UTC
[jira] [Resolved] (GEODE-7351) Verify constraints when changing the
MethodInvocationAuthorizer
[ https://issues.apache.org/jira/browse/GEODE-7351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juan Ramos resolved GEODE-7351.
-------------------------------
Fix Version/s: 1.12.0
Resolution: Fixed
> Verify constraints when changing the MethodInvocationAuthorizer
> ---------------------------------------------------------------
>
> Key: GEODE-7351
> URL: https://issues.apache.org/jira/browse/GEODE-7351
> Project: Geode
> Issue Type: Improvement
> Components: querying, tests
> Reporter: Juan Ramos
> Assignee: Juan Ramos
> Priority: Major
> Labels: GeodeCommons
> Fix For: 1.12.0
>
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> Add concurrent distributed tests to make sure the following conditions are met once there is an API implemented to change the {{MethodInvocationAuthorizer}} in runtime:
> * Once a query execution starts, the {{MethodInvocationAuthorizer}} used *can not be changed* for that particular query.
> * Once the {{MethodInvocationAuthorizer}} is changed through the API or the {{alter-query-service}} command, *all queries executed afterwards* use the newly configured {{MethodInvocationAuthorizer}}.
> * Any _continuous query_ already running should pick up the new {{MethodInvocationAuthorizer}} the *next time the query is internally executed* to detect whether a cache event matches or not. If the _continuous query_ has methods that are not authorized by the newly configured {{MethodInvocationAuthorizer}}, then any matching events from that moment on should invoke {{CqListener.onError}} instead of {{CqListener.onEvent}}.
> * Any configured _index_ should pick up the newly configured {{MethodInvocationAuthorizer}} the *next time an entry is added or removed from the index (regular region operations)*, and the index should be marked as invalid if it uses method invocations not authorized by the newly configured {{MethodInvocationAuthorizer}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)