[
https://issues.apache.org/jira/browse/GEODE-7351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Juan Ramos updated GEODE-7351:
------------------------------
Summary: Verify constraints when changing the MethodInvocationAuthorizer
(was: Tests to verify constraints when changing the MethodInvocationAuthorizer)
> 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
>
> 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}} *right away*, 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)