package de.atomfrede.github.karaoke.server.resource;

import com.codahale.metrics.annotation.Timed;
import de.atomfrede.github.karaoke.server.entity.Pong;

import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

@Path("/ping")
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)
public class PingResource {

    @GET
    @Timed
    @Path("pong")
    public Pong pong() {
        return new Pong();
    }
}

@@ -499,16 +499,56 @@
 ew Pong(
+InetAddress.getLocalHost().getHostName()
 );%0A    %7D

Update PingResource.java