Juan Ramos created GEODE-7351:
---------------------------------

             Summary: Tests to 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


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)

Reply via email to