@@ -0,0 +1,1148 @@
+package com.google.sps.servlets;%0A%0Aimport com.google.appengine.api.datastore.DatastoreService;%0Aimport com.google.appengine.api.datastore.DatastoreServiceFactory;%0Aimport com.google.appengine.api.datastore.Entity;%0Aimport com.google.appengine.api.datastore.EntityNotFoundException;%0Aimport com.google.appengine.api.datastore.KeyFactory;%0Aimport java.io.IOException;%0Aimport javax.servlet.ServletException;%0Aimport javax.servlet.annotation.WebServlet;%0Aimport javax.servlet.http.HttpServlet;%0Aimport javax.servlet.http.HttpServletRequest;%0Aimport javax.servlet.http.HttpServletResponse;%0A%0A@WebServlet(%22/envStatus%22)%0Apublic class GetEnvStatus extends HttpServlet %7B%0A  @Override%0A  protected void doGet(HttpServletRequest req, HttpServletResponse resp)%0A      throws ServletException, IOException %7B%0A    String envID = req.getParameter(%22envID%22);%0A%0A    try %7B%0A      DatastoreService datastore = DatastoreServiceFactory.getDatastoreService();%0A      Entity e = datastore.get(KeyFactory.stringToKey(envID));%0A%0A      resp.getWriter().print(e.getProperty(%22status%22));%0A    %7D catch (EntityNotFoundException e) %7B%0A      resp.sendError(HttpServletResponse.SC_NOT_FOUND);%0A    %7D%0A  %7D%0A%7D%0A

Add a servlet to get the status of an image pull.