site Workflow

8 places 20 transitions

Places & Transitions

new Set
  • maintain maintenance
    If basic fetch works, then start background fetching
scrape_requested Set
active Set
inactive Set
  • maintain maintenance
    If basic fetch works, then start background fetching
maintenance Set
dead Set
unauthorized Set
probation Set
digraph workflow {
  ratio="compress" rankdir="TB" width="0.5" ranksep="0.2"
  node [fontsize="9" fontname="Arial" color="#333333" fillcolor="lightblue" fixedsize="false" width="0.5" shape="ellipse"];
  edge [fontsize="9" fontname="Arial" color="#333333" arrowhead="normal" arrowsize="0.5" shape="box"];

  place_new [label="new", shape=ellipse tooltip="new"];
  place_scrape_requested [label="scrape_requested", shape=ellipse tooltip="scrape_requested"];
  place_active [label="active", shape=ellipse tooltip="active"];
  place_inactive [label="inactive", shape=ellipse tooltip="inactive"];
  place_maintenance [label="maintenance", shape=doublecircle style="filled" color="#FF0000" tooltip="maintenance"];
  place_dead [label="dead", shape=ellipse tooltip="dead"];
  place_unauthorized [label="unauthorized", shape=ellipse tooltip="unauthorized"];
  place_probation [label="probation", shape=ellipse tooltip="probation"];
  place_maintenance -> place_maintenance [label="maintain" style="dotted" tooltip="If basic fetch works, then start background fetching"];
  place_maintenance -> place_inactive [label="deactivate" style="dotted" tooltip="deactivate"];
  place_maintenance -> place_active [label="activate" style="dotted" tooltip="activate"];
  place_new -> place_maintenance [label="maintain" style="dotted" tooltip="If basic fetch works, then start background fetching"];
  place_active -> place_maintenance [label="maintain" style="dotted" tooltip="If basic fetch works, then start background fetching"];
  place_active -> place_inactive [label="deactivate" style="dotted" tooltip="deactivate"];
  place_active -> place_scrape_requested [label="request_scrape" style="dotted" tooltip="Background process will scrape the headlines"];
  place_active -> place_unauthorized [label="bad_login" style="dotted" tooltip="Begin fetching headlines from this site"];
  place_active -> place_probation [label="report_bad_fetch" style="dotted" tooltip="report_bad_fetch"];
  place_scrape_requested -> place_maintenance [label="maintain" style="dotted" tooltip="If basic fetch works, then start background fetching"];
  place_scrape_requested -> place_scrape_requested [label="request_scrape" style="dotted" tooltip="Background process will scrape the headlines"];
  place_scrape_requested -> place_active [label="scrape_success" style="dotted" tooltip="Background process will scrape the headlines"];
  place_scrape_requested -> place_probation [label="scrape_fail" style="dotted" tooltip="scrape_fail"];
  place_scrape_requested -> place_dead [label="bad_dns" style="dotted" tooltip="bad_dns"];
  place_inactive -> place_maintenance [label="maintain" style="dotted" tooltip="If basic fetch works, then start background fetching"];
  place_probation -> place_scrape_requested [label="request_scrape" style="dotted" tooltip="Background process will scrape the headlines"];
  place_probation -> place_active [label="activate" style="dotted" tooltip="activate"];
  place_probation -> place_active [label="fetch_okay" style="dotted" tooltip="Starts working again (url fix, site up again, etc.)"];
  place_probation -> place_inactive [label="repeated_failure" style="dotted" tooltip="repeated_failure"];
  place_unauthorized -> place_active [label="fix_credentials" style="dotted" tooltip="Fix the login problem"];
}