For the older crowed I would have rather it replied:

Ah, I see you have the machine that goes 'ping!'.

Sent from my iPhone

> On Jul 13, 2017, at 10:23 AM, Jared Stewart <jstew...@pivotal.io> wrote:
> 
> I'm young enough to recognize it as a Harry Potter reference, but I have no
> idea what it's doing in our product code.
> 
> - Jared
> 
>> On Jul 13, 2017 10:14 AM, "Kirk Lund" <kl...@apache.org> wrote:
>> 
>> Anyone know why the response to a REST service PING returns "Mischief
>> Managed!?
>> 
>> @RequestMapping(method = {RequestMethod.GET, RequestMethod.HEAD}, value =
>> "/ping")
>> public ResponseEntity<String> ping() {
>>  return new ResponseEntity<String>("<html><body><h1>Mischief
>> Managed!</h1></body></html>",
>>      HttpStatus.OK);
>> }
>> 
>> <klund@Kirks-MacBook-Pro>/Users/klund/dev/geode [949]$ git grep 'Mischief
>> Managed'
>> geode-core/src/main/java/org/apache/geode/management/
>> internal/web/controllers/ShellCommandsController.java:
>>   return new ResponseEntity<String>("<html><body><h1>Mischief
>> Managed!</h1></body></html>",
>> 

Reply via email to