Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

see https://github.com/mhansonp/geode/tree/BlogCode

What you are going to need to get your REST command working

...

?

OperationController this is what specifies the endpoints and the security to allow access to the thing you want to do. The main thing the OperationController does is map the REST commands to function calls. For this example our class name is BlogCodeOperationController. Using the endpoint and command type (POST or GET) it tells what command is being executed. There are three commands that necessary to be compliant the the ClusterManagementOperation POST, GET, and List. Please also note that the security settings are custom to the command type... Please see https://cwiki.apache.org/confluence/display/GEODE/Finer+grained+security to understand where your code might sit in terms of security.

...