@@ -0,0 +1,1133 @@
+package com.github.bfh.study.slb.rest;%0A%0Aimport javax.ws.rs.GET;%0Aimport javax.ws.rs.Path;%0Aimport javax.ws.rs.PathParam;%0Aimport javax.ws.rs.core.Response;%0Aimport javax.ws.rs.core.Response.Status;%0A%0A@Path(%22allowed%22)%0Apublic class SearchPersonService %7B%0A%0A    @GET%0A    @Path(%22/%7BfirstName%7D/%7BlastName%7D%22)%0A    public Response isPersonAllowed(%0A            @PathParam(%22firstName%22) String firstName,%0A            @PathParam(%22lastName%22) String lastName) %7B%0A%0A        if (firstName.toUpperCase().contains(%22KIM%22)%0A                && lastName.toUpperCase().contains(%22JONG-UN%22)) %7B%0A            return Response%0A                    .status(Status.OK)%0A                    .header(%22Access-Control-Allow-Origin%22, %22*%22)%0A                    .header(%22Access-Control-Allow-Methods%22, %22GET%22)%0A                    .entity(Boolean.FALSE)%0A                    .build();%0A        %7D else %7B%0A            return Response%0A                    .status(Status.OK)%0A                    .header(%22Access-Control-Allow-Origin%22, %22*%22)%0A                    .header(%22Access-Control-Allow-Methods%22, %22GET%22)%0A                    .entity(Boolean.TRUE)%0A                    .build();%0A        %7D%0A    %7D%0A%7D%0A

add first draft of restService, search for person