Alex Coseru
39938ec9c0
refactor compute ( #731 )
...
WARNING! This is a breaking change!
* Refactor compute functions to use a new interface (ComputeAlgorithm) instead of passing 4-5 params to different functions.
* add new test to prevent running a computeJob is both asset/algo are having compute services and they are not served from the same provider
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-04-13 17:34:34 +02:00
mihaisc
23f319b8a8
Optimize compute job status calls ( #717 )
...
* optimize status calls
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update computeJob interface
* fix typo
* more details
* fix tests
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix tests
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* throw errors instead of return null
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: alexcos20 <alex.coseru@gmail.com>
2021-04-13 14:38:54 +03:00
Alex Coseru
b1967534e8
add allowAllPublishedAlgorithms ( #686 )
...
* add allowAllPublishedAlgorithms
2021-03-23 21:00:15 +02:00
alexcos20
228c01c98f
more tests
2021-03-02 00:42:10 -08:00
Alex Coseru
8fbd09c615
Feature/compute nextv ( #612 )
...
* Update .travis.yml
* compute support for additionalInputs
* small getPreviousValidOrders improvment
* small refactor for utils.fetch
* fetch refactor & add timeout
* more tests
* use 2nd provider as well
* use the 2nd provider in travis
* compute and order refactor, more tests
* remove unused functions
* add provider version
* secures algos
* more tests
* fix tests
* make checksums optional
* make checksum optional
* improve coverage
* fix tests
2021-02-22 16:11:45 +02:00
alexcos20
100e5c5767
refactor
2021-01-26 09:46:41 -08:00
Alex Coseru
16c21e1ecb
add updateServiceTimeout and edit ddo updates ( #544 )
...
* add updateServiceTimeout
* remove unnecessary code
* fix travis
* fix
* add fileinfo endpoint
* fix did problem
* namings refactor
* lint fix
2021-01-18 12:02:38 +02:00
alexcos20
1aefaf8116
update compute status
2020-10-22 04:50:27 -07:00
Alex Coseru
b9ec4b4660
Merge pull request #396 from oceanprotocol/feature/compute_job_status
...
allow compute status without signature
2020-10-22 12:02:30 +03:00
alexcos20
2371124213
allow compute status without signature
2020-10-22 00:30:55 -07:00
Ahmed Ali
d3d1667093
fix more log level errors
2020-10-21 10:55:40 +02:00
Ahmed Ali
d574782b14
handle error messages
2020-10-15 17:52:33 +02:00
Alex Coseru
a55da41ac7
Merge branch 'main' into feature/metadatacache
2020-10-13 16:03:19 +03:00
d0b4bb537e
metadataStore → metadataCache
2020-10-13 14:49:12 +02:00
97b182f4ab
more typings updates
2020-10-13 14:35:39 +02:00
alexcos20
2d989df445
fix namings
2020-09-22 04:06:05 -07:00
alexcos20
62f27b0157
fix tests
2020-09-19 15:27:11 -07:00
alexcos20
86656490d8
use custom provider
2020-09-19 15:11:37 -07:00
alexcos20
34022360e3
Merge branch 'feature/customProvider' of https://github.com/oceanprotocol/ocean-lib-js into feature/customProvider
2020-09-19 00:53:49 -07:00
alexcos20
67f6e16330
more customProvider code
2020-09-19 00:52:27 -07:00
alexcos20
d10766d967
extra checks
2020-09-19 00:51:35 -07:00
alexcos20
5655909623
allow customProvider on publish
2020-09-19 00:50:01 -07:00
alexcos20
796b7021f9
more customProvider code
2020-09-19 00:39:34 -07:00
alexcos20
554ab76dc6
extra checks
2020-09-19 00:39:05 -07:00
alexcos20
f75e45500c
allow customProvider on publish
2020-09-19 00:39:05 -07:00
alexcos20
11b58cb8c0
more customProvider code
2020-09-19 00:14:02 -07:00
Alex Coseru
071f706997
Merge branch 'feature/startOrder' into feature/customProvider
2020-09-16 18:01:38 +03:00
alexcos20
960e90f9ec
extra checks
2020-09-16 06:44:01 -07:00
alexcos20
17e61d0108
allow customProvider on publish
2020-09-16 06:28:08 -07:00
alexcos20
fc6a515630
update contracts & provider
2020-09-16 05:19:15 -07:00
alexcos20
60fc9530ae
add startOrder
2020-09-11 02:41:20 -07:00
7b1403c854
formatting and typings and lint fixes
2020-08-18 11:23:46 +02:00
alexcos20
1b2522e679
moved everything to wei
2020-07-14 02:33:54 -07:00
Ahmed Ali
85776919ec
minor cleaning
2020-07-13 11:59:22 +02:00
alexcos20
f8ef12f8dc
add compute stop and fix job with algodid
2020-07-13 02:51:17 -07:00
Ahmed Ali
61786ce532
comment restart for now
2020-07-13 11:24:05 +02:00
Ahmed Ali
27168cc64d
Merge branch 'feature/compute-interface' into feature/compute-test
2020-07-13 11:17:47 +02:00
alexcos20
fdbc692064
add compute test with published algo
2020-07-13 02:12:34 -07:00
alexcos20
2bf04170d7
minor doc fix
2020-07-13 01:14:52 -07:00
alexcos20
4e45956eda
add more complex tests
2020-07-13 01:11:53 -07:00
alexcos20
8174709bbf
add more tests
2020-07-13 00:10:47 -07:00
alexcos20
3071dc1de7
add more tests
2020-07-13 00:08:27 -07:00
ssallam
7a47201ca4
update compute.start interface.
2020-07-10 16:28:39 +02:00
ssallam
dad7a56c1e
wip: compute module, compute tests, create compute service.
2020-07-10 16:17:57 +02:00
Ahmed Ali
95325a733d
move compute to separate file
2020-07-10 13:17:43 +02:00