package org.gluu.demo.rest;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.core.Response;

@Path("/demo")
public class DemoEndpoint {

	@GET
	@Path("/status")
	public Response listClients() {
		return Response.ok("success").build();
	}

}

@@ -22,16 +22,44 @@
 .rest;%0A%0A
+import javax.inject.Inject;%0A
 import j
@@ -134,16 +134,42 @@
 ponse;%0A%0A
+import org.slf4j.Logger;%0A%0A
 @Path(%22/
@@ -204,16 +204,47 @@
 oint %7B%0A%0A
+%09@Inject%0A%09private Logger log;%0A%0A
 %09@GET%0A%09@
@@ -292,16 +292,60 @@
 nts() %7B%0A
+%09%09log.info(%22Get request to demo endpoint%22);%0A
 %09%09return

Add log message about request to demo endpoint