Displaying differences for changeset
 
display as  

src/java/m/wqm/nutrientslpsrp/V1_0.java

@@ -10,6 +10,7 @@
  * @author Shaun Case
  */
 import csip.ModelDataService;
+import csip.annotations.Polling;
 import csip.utils.JSONUtils;
 import java.util.ArrayList;
 import java.util.HashMap;
@@ -29,7 +30,7 @@
 @Name("WQM-21: Nutrient Soil Leaching and Runoff Loss Potentials for an Area of Analysis (NutrientSLP-SRP)")
 @Description("This service intersects area of analysis (AoA) and soil mapunit geometries, gets soil parameters, and computes nutrient soil leaching and runoff potentials as an end-to-end process. The services combines WQM-02, WQM-05, and WQM-06 services into a single service. It returns a results payload containing the relevant attributes for each soil component in the AoA, leaching (SLP) and runoff (SRP) potentials for each soil component, and weighted average leaching and runoff loss potential values for the AoA. The services allows for submitting parameter edits. For example, the request payload can contain just the AoA geometry and the services gets soil parameters and computes SLP and SRP and returns the results, including the parameters. If an application user edits the parameters, a subsequent request payload can contain the parameter edits and not the geometry.")
 @Path("m/nutrientslpsrp/1.0")
-
+@Polling(first = 5000, next = 2000)
 
 public class V1_0 extends ModelDataService {