package org.gluu.demo.rest;

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

import org.slf4j.Logger;

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

	@Inject
	private Logger log;

	@GET
	@Path("/status")
	public Response listClients() {
		log.info("Get request to demo endpoint");
		return Response.ok("success").build();
	}

}

@@ -22,16 +22,67 @@
 .rest;%0A%0A
+import javax.enterprise.context.ApplicationScoped;%0A
 import j
@@ -226,16 +226,35 @@
 /demo%22)%0A
+@ApplicationScoped%0A
 public c

Fix logger injection to demo endpoint