Alex Coseru
6d9f9fed92
simple compute flow ( #1458 )
...
* refactor compute flow
2022-05-10 08:52:24 +03:00
Bogdan Fazakas
ec601a66d2
Fix get compute results ( #1386 )
...
* wip special chars
* clean ups
* update sha256 import from cryptojs lib
* update compute result and use alpha-26 contracts
* re-build with package-lock v1 and with dist
* ignore build files from dist
* delete build files
* removed console logs and updated ComputeResultType typing
* update compute integration test
* added more tests
* added some logs
* update file download method
* use fetch data
* remove download part
* delete console logs
* review fixes
* more fixes
Co-authored-by: Soon Huat <soon_huat.phan@daimler.com>
2022-04-14 23:58:25 +01:00
Alex Coseru
005c2d9760
Feature/bump contracts to alpha 28 ( #1392 )
...
* bump contracts to alpha 28
2022-04-04 14:56:41 +03:00
Soon Huat
4c5da01d66
change address[1] to paymentCollector based on smart contract ( #1375 )
...
Co-authored-by: Soon Huat <soon_huat.phan@daimler.com>
2022-03-29 15:40:30 +01:00
Bogdan Fazakas
4157e1e473
update compute status query and jsdoc ( #1361 )
2022-03-29 15:40:01 +01:00
Miquel A. Cabot
165b4c8680
refactor imports in the tests
2022-03-16 14:25:09 +01:00
Miquel A. Cabot
9a583e60e0
use configuration variables instead of constants
2022-03-16 14:07:00 +01:00
Miquel A. Cabot
35722239df
use configuration file to read variables
2022-03-16 13:06:10 +01:00
Miquel A. Cabot
896211b93f
read configHelperNetworks values for the tests
2022-03-15 19:13:58 +01:00
Miquel A. Cabot
41a8b6ef26
remove unused test config files
2022-03-15 19:00:27 +01:00
Alex Coseru
91a4431938
update to contracts alpha.19 ( #1286 )
2022-02-14 18:36:15 +02:00
Alex Coseru
9782af59a2
add aquarius to export list ( #1280 )
...
* export aquarius as well
* send timestamp in seconds, not ms
2022-02-12 19:03:11 +02:00
Alex Coseru
ee7a45e17a
use compute environments ( #1258 )
...
* use compute environments
2022-02-09 19:13:25 +02:00
Alex Coseru
9174baa3c0
Barge c2d & latest contracts bump ( #1248 )
...
* bump to latest contracts
2022-02-09 11:32:54 +02:00
Bogdan Fazakas
14862f6a3a
Moved interfaces under types and some small fixes ( #1253 )
...
* moved interfaces and some fixes
* throw proper error messages on try catch blocks in pool class
2022-02-07 08:06:58 -08:00
mihaisc
56a3aad20d
heleper+ remove old ibs ( #1238 )
...
* heleper+ remove old ibs
* fix tests
* fix gaslimt
* fix approve
* fix
* remove console.log
* upate package-lock
2022-01-25 08:32:55 -08:00
mihaisc
b880bee007
remove optional fetch method, add abort signal ( #1235 )
...
* remove optional fetch method, add abort signal
* fix encrypt
* fix encrypt
* fix lint,tests
* test
* fix adr
* test
* fix asset
* t
* t
2022-01-24 23:49:13 -08:00
Bogdan Fazakas
7c6ce6368a
Merge pull request #1212 from oceanprotocol/feature/default-http-fixes
...
Add default http function and fixes provider class
2022-01-20 09:04:36 +02:00
Bogdan Fazakas
d8a036e1ba
removed logs
2022-01-20 00:33:32 +02:00
Bogdan Fazakas
ccbbeae429
update validUntil type
2022-01-20 00:24:30 +02:00
Bogdan Fazakas
cc7de98b63
added logs
2022-01-20 00:13:31 +02:00
Bogdan Fazakas
f21f606b49
update provider initialize and computeflow
2022-01-19 23:43:24 +02:00
Bogdan Fazakas
555bdf583d
update startOrder in consume and compute integration tests
2022-01-19 23:18:31 +02:00
Bogdan Fazakas
456699f34d
updated aquarius class methods
2022-01-12 11:18:03 +02:00
Bogdan Fazakas
21bebf4747
updated provider order for params
2022-01-12 10:15:53 +02:00
Alex Coseru
4dc8898bad
compute start ( #1196 )
...
* compute start
* add getStatus
2022-01-07 11:16:36 +02:00
Bogdan Fazakas
3e9991e6f0
initial backbone commit
2021-10-13 09:10:55 +03:00
Alex Coseru
02cc911ce9
Custom user parameters ( #944 )
...
* enable create / passthrough of userData & algoData
* refactor bassed on reviews
* refactor balance check async flows
* more provider logs
* more debugs for provider
* provider debug
* more provider logs
* more provider debug
* revert ci changes
* naming & typings
* Release 0.18.0-next.0
* deal with pre-releases
* clarify instructions
* fix merge errors
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-09-24 13:52:11 +02:00
Alex Coseru
3bea2aaf90
Bump aqua queries
...
* remove aqua queries
* remove transformResult
* fix metadatacache test
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove unused
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* more commits
* move metadatacache to integration
* fix
* fix lint
* great improve an integration tests speed
* force aqua 3.1 on barge
* small typo fix
* fix ci
* fix import instead of require
* add ocean.assets.query
* Update ci.yml
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-09-24 11:55:28 +03:00
Alex Coseru
fba5965042
validate ddo before publish on chain ( #873 )
...
* validate ddo before publish on chain
2021-06-30 10:34:37 +03:00
Bogdan Fazakas
4f9ed04086
sent ocean instance param to asset resolve helper
2021-06-08 17:24:54 +03:00
Bogdan Fazakas
0786c32a7b
fixed lint errors
2021-06-08 14:06:23 +03:00
Bogdan Fazakas
ec2e67db35
used type guard to detect if ddo or did and resolve just when needed
2021-06-04 16:46:12 +03:00
Bogdan Fazakas
f0404f3204
added ddo object param to function that expect did and asset resolve is called
2021-06-03 12:43:15 +03:00
Bogdan Fazakas
a6c9c70e8e
Fix/ Order method should throw error messages ( #803 )
...
* throw error when order methods fail, updated integration tests accordingly
* throw error for startOrder method & update error messages
* updated assert messages and added asserts in try block
2021-05-25 16:00:13 +02:00
dependabot[bot]
ba64eeb39a
Bump prettier from 2.2.1 to 2.3.0 ( #793 )
...
* Bump prettier from 2.2.1 to 2.3.0
Bumps [prettier](https://github.com/prettier/prettier ) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.2.1...2.3.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* prettier updates
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2021-05-25 08:27:53 +02:00
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
3533695353
add compute dataset/compute algo ( #711 )
2021-04-05 20:34:55 +03:00
Alex Coseru
15617f23cf
improve tests speed ( #691 )
2021-03-30 01:13:17 +03:00
Alex Coseru
b1967534e8
add allowAllPublishedAlgorithms ( #686 )
...
* add allowAllPublishedAlgorithms
2021-03-23 21:00:15 +02:00
Alex Coseru
abcb1f8200
add encrypt ddo support ( #662 )
...
* bump aquarius
* add encrypted ddo & native query
* fix native queries
* fix code duplicates
* fix assets.create description
* fixed comments and added helper publishDdo
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update searchQuery
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-03-18 11:54:58 +02:00
alexcos20
57c1457b83
expand checks
2021-02-23 23:18:27 -08:00
alexcos20
753d253b35
typos
2021-02-23 22:56:30 -08:00
alexcos20
41290faac5
typo
2021-02-23 22:54:09 -08:00
alexcos20
8b464722ef
wip tests
2021-02-23 22:50:26 -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
mihaisc
002e38d8b0
Refactor OnChainMetadataCache
( #551 )
...
* update naming, add helper update
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix test
* fix
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix test
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix test
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-01-18 14:03:56 +02: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
4c4ef66b8f
fix tests
2020-10-22 05:52:05 -07:00