delphi-hub / delphi-crawler

Delphi's crawling and processing engine to extract facts on open-source software
https://delphi.cs.uni-paderborn.de/
Apache License 2.0
5 stars 11 forks source link

Implementation of the new IR API #26

Closed johannesduesing closed 6 years ago

johannesduesing commented 6 years ago

This PR upgrades the crawler to be compatible to the new instance registry API. This means that it will now check whether an environment variable named INSTANCE_ID is defined. If this is the case, the crawler will use the endpoints /reportStart, /reportStop & /reportFailure instead of /register and /deregister. If the variable is not defined, the old endpoints will be used.

codecov[bot] commented 6 years ago

Codecov Report

Merging #26 into develop will decrease coverage by 0.41%. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop     #26      +/-   ##
==========================================
- Coverage      8.6%   8.18%   -0.42%     
==========================================
  Files           43      43              
  Lines         1092    1148      +56     
  Branches        26      28       +2     
==========================================
  Hits            94      94              
- Misses         998    1054      +56
Impacted Files Coverage Δ
...a/de/upb/cs/swt/delphi/crawler/Configuration.scala 0% <ø> (ø) :arrow_up:
.../crawler/instancemanagement/InstanceRegistry.scala 0% <0%> (ø) :arrow_up:
...t/delphi/crawler/instancemanagement/Instance.scala 0% <0%> (ø) :arrow_up:
.../de/upb/cs/swt/delphi/crawler/control/Server.scala 0% <0%> (ø) :arrow_up:
...n/scala/de/upb/cs/swt/delphi/crawler/Crawler.scala 0% <0%> (ø) :arrow_up:

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 acba0c9...66353b5. Read the comment docs.