package org.keycloak.example.oauth;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import java.util.ArrayList;
import java.util.List;

/**
 * @author <a href="mailto:bill@burkecentral.com">Bill Burke</a>
 * @version $Revision: 1 $
 */
@Path("customers")
public class CustomerService
{
   @GET
   @Produces("application/json")
   public List<String> getCustomers()
   {
      ArrayList<String> rtn = new ArrayList<String>();
      rtn.add("Bill Burke");
      rtn.add("Ron Sigal");
      rtn.add("Weinan Li");
      return rtn;
   }
}
