conveyal / analysis-backend

Server component of Conveyal Analysis
http://conveyal.com/analysis
MIT License
23 stars 12 forks source link

Resources #237

Closed trevorgerhardt closed 5 years ago

trevorgerhardt commented 5 years ago

Initial implementation of consolidating file/resource management.

Tasks

This PR adds a Task model and controller for consolidating how we store information about long running tasks. This will be useful to create dashboards for ourselves, access groups, and regions about things that are happening behind the scenes.

codecov-io commented 5 years ago

Codecov Report

Merging #237 into dev will increase coverage by 0.18%. The diff coverage is 29.87%.

Impacted file tree graph

@@             Coverage Diff              @@
##                dev     #237      +/-   ##
============================================
+ Coverage     22.75%   22.94%   +0.18%     
- Complexity      103      104       +1     
============================================
  Files            63       66       +3     
  Lines          2430     2506      +76     
  Branches        220      223       +3     
============================================
+ Hits            553      575      +22     
- Misses         1842     1896      +54     
  Partials         35       35
Impacted Files Coverage Δ Complexity Δ
...om/conveyal/taui/controllers/RegionController.java 78.26% <ø> (ø) 8 <0> (ø) :arrow_down:
...in/java/com/conveyal/taui/models/Modification.java 16.66% <ø> (-11.91%) 1 <0> (ø)
src/main/java/com/conveyal/taui/models/Task.java 0% <0%> (ø) 0 <0> (?)
...ava/com/conveyal/taui/persistence/Persistence.java 82.6% <100%> (+0.79%) 3 <0> (ø) :arrow_down:
...rc/main/java/com/conveyal/taui/AnalysisServer.java 43.29% <100%> (+0.59%) 4 <0> (ø) :arrow_down:
...c/main/java/com/conveyal/taui/models/Resource.java 27.27% <27.27%> (ø) 0 <0> (?)
.../conveyal/taui/controllers/ResourceController.java 39.47% <39.47%> (ø) 1 <1> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 225bbbf...0f3389a. Read the comment docs.

ansoncfit commented 5 years ago

Related to task tracking: https://github.com/conveyal/r5/issues/461

abyrd commented 5 years ago

Moved this branch over to the other repo.