1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

84 Commits

Author SHA1 Message Date
Kris Liew
5d4250f8e3
Improve Ocean.assets.isConsumable return interface and message (#869) 2021-06-28 15:26:28 +08:00
Alex Coseru
5555b2a73a
Add order checks for credentials (#827)
* Add order checks for credentials
2021-06-03 14:14:01 +03:00
kianyee
0f46959dfa
Feature/credentials support in asset (#787)
* [KianYee] Add credentials in DDO

Co-authored-by: alexcos20 <alex.coseru@gmail.com>
2021-06-02 16:51:13 +03:00
Kris Liew
2fb83f97a9
Add ocean.assets.isConsumable function (#786)
* isDisable check

* check isConsumable for order()

* Attempt add integration test

* feedback change

* Replace 'isDisabled' with 'isOrderDisabled'

* Update integration test

* Attempt 1 fix integration test

Co-authored-by: KRIS LIEW <iforte.intellege.liew@daimler.com>
2021-06-02 20:18:58 +08: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
Alex Coseru
497927a0f4
remove all doo price tests (#805) 2021-05-25 12:19:31 +03:00
TSS-LauKY
04c2a9b09a
[KianYee] #459 enhance file info function (#710)
* [KianYee] #459 enhance file info function

* [KianYee] #459 enhance file info function

* [KianYee] Fix issue

* [KianYee] #459 fix codeclimate

* [KianYee] #459 add intergration test

* [KianYee] Add integration test

* [KianYee] #459 Fix bug

* [KianYee] #459 Slipt function into 2

* [KianYee] removed unused import

* [KianYee] update test case description
2021-04-13 14:39:11 +03:00
Alex Coseru
bae7501842
Feature/more tests (#718)
* add compute dataset/compute algo

* add FRE create/update for aqua

* add pool tests for aqua
2021-04-08 13:48:02 +03:00
Alex Coseru
15617f23cf
improve tests speed (#691) 2021-03-30 01:13:17 +03: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
Bogdan Fazakas
9a832dc9b7
Merge pull request #598 from oceanprotocol/feature/sample-links-removal
Asset metadata sample links removal
2021-03-03 16:23:13 +02:00
Bogdan Fazakas
f528d6acc0 Merge branch 'main' into feature/sample-links-removal 2021-03-02 15:09:14 +02:00
alexcos20
5e7c6cb497 add ' tokens are not deducted' test for bad URL 2021-02-23 20:34:32 -08:00
mihaisc
34e40f81d9
Add polygon network (#627)
* add polygon network

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* package-lock

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* Update src/utils/ConfigHelper.ts

* Update ConfigHelper.ts

* Update ComputeFlow.test.ts

Increase sleep time for aqua

* Update Marketplaceflow.test.ts

increase sleep time for aqua

Co-authored-by: Alex Coseru <alex.coseru@gmail.com>
2021-02-23 21:45:40 +02: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
mariacarmina
687fd743c6 Fixed integration tests for Provider.ts and Marketplaceflow.ts. 2021-02-10 17:25:35 +02:00
Bogdan Fazakas
d6a84e7935 update integration test 2021-02-10 11:06:19 +02:00
Bogdan Fazakas
3608472e75 remove asset sample link if not send on metadata update 2021-02-08 16:46:22 +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
Ahmed Ali
19b009d8e5
Merge branch 'main' into fix/logger 2020-10-21 11:05:40 +02:00
Ahmed Ali
9cb6ea3dbe fix more datatokens related tests 2020-10-21 10:21:51 +02:00
alexcos20
efaa3f6d1d fix tests 2020-10-20 06:16:15 -07: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
413f3c7ae2 increase sleep in tests while waitting for aqua events monitor 2020-10-12 08:15:37 -07:00
alexcos20
eadaa7abb5 add order history 2020-10-01 05:57:04 -07:00
cde752f4ae
fix test spy 2020-09-29 14:36:00 +02:00
905fd99496
update tests 2020-09-23 21:39:35 +02:00
alexcos20
e563f556d1 fix all tests 2020-09-23 05:45:48 -07:00
d7dfa326d3
test fixes 2020-09-18 11:21:43 +02:00
7d34e1c99c
also check for validity of passed data token 2020-09-18 10:59:59 +02:00
127b0c2fcc
test tweaks 2020-09-18 10:56:12 +02:00
2ac93392b4
add data token address validity check 2020-09-18 10:10:02 +02:00
Alex Coseru
03c684fd1d
Merge branch 'feature/startOrder' into feature/decentralized_DDO 2020-09-16 17:39:34 +03:00
alexcos20
323e57e6f4 add edit helpers 2020-09-16 04:57:39 -07:00
alexcos20
2994cb5b8a add sleep for tests 2020-09-15 13:19:34 -07:00
alexcos20
c37c169d6a add decentralized DDO 2020-09-15 01:08:47 -07:00
alexcos20
bedd07ed2a search for previous valid orders 2020-09-11 05:58:42 -07:00
alexcos20
60fc9530ae add startOrder 2020-09-11 02:41:20 -07:00
455983f7b6
test tweaks 2020-09-08 17:20:16 +02:00
ca5e810eb2
and some more tests 2020-09-03 12:07:18 +02:00
alexcos20
220261cada update to contracts 0.4.0 2020-08-30 23:56:25 -07:00
76423a4ff8
never stop typing 2020-08-19 13:41:55 +02:00
9ea7ed70bd
more strict linting & typing 2020-08-19 12:33:51 +02:00
ffad644d73
artifacts path fix 2020-08-18 12:00:40 +02:00
7b1403c854
formatting and typings and lint fixes 2020-08-18 11:23:46 +02:00
Alex Coseru
df17eb2de4
Update Marketplaceflow.test.ts 2020-07-15 17:51:18 +03:00
alexcos20
a3824f91c6 always use Strings in Datatoken class 2020-07-15 04:22:37 -07:00