golemfactory / clay

Golem is creating a global market for computing power.
https://golem.network
GNU General Public License v3.0
2.91k stars 286 forks source link

Load app definition files from Golem releases CDN #5114

Closed kmazurek closed 4 years ago

kmazurek commented 4 years ago

Resolves: https://github.com/golemfactory/golem/issues/5099

Adds logic for downloading app definition JSON files from CDN in Task API AppManager. The definition files are distinguished based on their file name (which, among other things, should contain the hash of the file's contents). Updating apps is done upon AppManager init and then periodically (once a day using DailyJobsService). For every new definition downloaded an RPC event is fired (evt.apps.new_definition).

codecov[bot] commented 4 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@6f4df24). Click here to learn what that means. The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop    #5114   +/-   ##
==========================================
  Coverage           ?   90.04%           
==========================================
  Files              ?      236           
  Lines              ?    22227           
  Branches           ?        0           
==========================================
  Hits               ?    20015           
  Misses             ?     2212           
  Partials           ?        0