diff --git a/src/main/java/org/ntlab/nemophila/resources/shops/ShopRest.java b/src/main/java/org/ntlab/nemophila/resources/shops/ShopRest.java new file mode 100644 index 0000000..538bd22 --- /dev/null +++ b/src/main/java/org/ntlab/nemophila/resources/shops/ShopRest.java @@ -0,0 +1,26 @@ +package org.ntlab.nemophila.resources.shops; + +import org.ntlab.nemophila.models.shops.Shop; +import org.ntlab.nemophila.models.shops.ShopManager; +import org.springframework.stereotype.Component; + +import javax.ws.rs.*; +import javax.ws.rs.core.MediaType; +import java.util.Collection; + +@Component +@Path("/shops") +public class ShopRest { + + @GET + @Path("/{sid}") + @Produces(MediaType.APPLICATION_JSON) + public String getID(@PathParam("sid") String sid) { + ShopManager sm = ShopManager.getInstance(); + Shop shop = sm.getShop(sid); + + return null; + } + + +} \ No newline at end of file