1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00
Commit Graph

520 Commits

Author SHA1 Message Date
1f552812f1
grantServiceExecution -> grantCompute 2020-01-29 16:29:26 +01:00
09c2f9f818
test fixes 2020-01-29 14:38:44 +01:00
768c69bdbd
service interface refactor and cleanup 2020-01-29 13:50:13 +01:00
b86caf343a
compute job interface update 2020-01-29 12:32:24 +01:00
9572b4eb3b
algorithm metadata cleanup 2020-01-28 18:59:06 +01:00
f11eacaabd
job status cleanup 2020-01-28 18:46:12 +01:00
138a6bf75a
remove index parameter from ocean.assets.consume() 2020-01-28 15:36:25 +01:00
f3cbf1ad01
use compute serviceEndpoint from DDO 2020-01-28 12:20:35 +01:00
40754ca46a
new ocean.utils.services
* refactor all .order() methods to use one single method
* remove `index` parameter from ocean.assets.order()
* update compute test flow
2020-01-27 19:14:12 +01:00
e7acadb2fe
DDO & compute test tweaks 2020-01-27 16:23:54 +01:00
83ea6723e0
algorithm metadata 2020-01-24 15:23:50 +01:00
c8ea5f77c2
merge fixes 2020-01-23 10:33:02 +01:00
ssallam
e31aa81dcc Merge branch 'master' into feature/compute
# Conflicts:
#	src/ocean/OceanAssets.ts
2020-01-23 09:34:40 +01:00
pfmescher
1862913f1c
Merge pull request #354 from oceanprotocol/decouple-aquarius-from-ocean
Decouple aquarius from ocean
2020-01-23 09:17:23 +01:00
ssallam
5f331bf467 Fix style issues. 2020-01-22 15:31:27 +01:00
ssallam
19353437ba Fix test and return value from createAgreement. 2020-01-22 15:16:35 +01:00
ssallam
26de27a31b Fix issues in creating agreement. Mainly the issue was using the publisher address in place of the provider's in the actors list when creating agreement. This also adds an optional provider argument to the order method. Add method to fetch providers of a did (via the didRegistry). 2020-01-22 13:46:10 +01:00
d0ab7f6c14
new compute.order method 2020-01-22 11:16:44 +01:00
8c4465eeb0
naming 2020-01-22 10:01:04 +01:00
6d1abfb3ab
remove workflow & algorithm from metadata 2020-01-21 22:10:19 +01:00
db689aab63
setup compute unit tests 2020-01-21 22:09:08 +01:00
6b52d4dbaa
consistent parameter order 2020-01-21 16:04:59 +01:00
04aa6d6700
add ocean.compute.result 2020-01-21 15:13:02 +01:00
5bad5fa9ec
new ocean.compute interface 2020-01-21 14:38:43 +01:00
ssallam
c7b41724ba Add event getter to agreementstoremanager, update the signature tests. 2020-01-21 12:25:53 +01:00
ssallam
9fe9422ff7 Update templateId type in agreement hash, fix signature and consumeasset tests. Update readme file regarding running integration tests. 2020-01-20 11:44:13 +01:00
ssallam
aae8172993 Fix errors. 2020-01-19 10:41:12 +01:00
ssallam
6c25ec5bbd Fix inheritance issue. 2020-01-17 22:24:37 +01:00
ssallam
1caf92e12f Remove obsolete class, remove unused variable. 2020-01-17 21:20:38 +01:00
ssallam
b7d9c1bc2b Fix build. 2020-01-17 16:51:46 +01:00
ssallam
7b5b110cec Fix lint errors. 2020-01-17 16:39:44 +01:00
ssallam
48c4f64599 Fix tests. 2020-01-17 15:35:11 +01:00
ssallam
eac7b172e6 Fix type. 2020-01-17 12:55:00 +01:00
ssallam
e22b63cc80 More updates. 2020-01-16 15:47:29 +01:00
ssallam
c6876ca9e2 New template interface almost completed. 2020-01-16 09:52:26 +01:00
3d978f792d
template refactoring 2020-01-15 19:28:04 +01:00
Jorge Shirai
df1c4fafd7
Fix lint errors. 2020-01-15 15:58:44 +01:00
Jorge Shirai
e0f533b469
Require logger argument in Aquarius constructor.
Improve Aquarius constructor comment/documentation.
2020-01-15 15:52:42 +01:00
Pablo F. Mescher
dd599c9f17 Fixed broken tests
Signed-off-by: Pablo F. Mescher <pfmescher@gmail.com>
2020-01-15 11:42:52 +01:00
Pablo F. Mescher
550ec76a35 Decoupled Aquarius class from Ocean class
and removed inheritance from Instantiable

Signed-off-by: Pablo F. Mescher <pfmescher@gmail.com>
2020-01-15 10:33:42 +01:00
619cd42db7
new OceanCompute submodule 2020-01-10 20:25:14 +01:00
ae7768253e
add execution of compute jobs 2020-01-09 12:20:19 +01:00
d6a233e590
typos 2019-12-06 09:57:26 +01:00
143fcbecf3
tweak printWidth 2019-11-22 12:14:17 +01:00
0552bcc577
fresh package-lock 2019-11-22 12:14:17 +01:00
7067b89fdc
web3.js v1.2.3 2019-11-22 12:14:17 +01:00
c122e06871
add allowSyntheticDefaultImports 2019-11-22 12:14:16 +01:00
2fd4e94f29
refactoring for web3.js 1.2.2 2019-11-22 12:14:16 +01:00
9f210b3a13
noZeroX the new owner address 2019-11-22 12:13:52 +01:00
b31a661dcb
transferOwnership fixes, add integration test 2019-11-22 12:13:52 +01:00
347915a41e
add ocean.assets.transferOwnership() 2019-11-22 12:13:51 +01:00
bd1b0d16d0
file.index typing fix 2019-11-22 12:13:23 +01:00
5a49cf01f9
remove legacy contentUrls for good 2019-11-22 12:12:05 +01:00
75a0de1b2c
remove ddo.addChecksum 2019-11-22 12:12:05 +01:00
b9b63dabe9
DDO updates, contentLength as string 2019-11-22 12:12:05 +01:00
Pedro Gutiérrez
476a624e89
Add integration test about adding permissions on DIDRegistry. 2019-11-22 12:08:35 +01:00
Pedro Gutiérrez
e3a7c54c6a
Update DDO service schema. 2019-11-22 12:07:14 +01:00
Pedro Gutiérrez
3d7d1f3972
Change linter config. 2019-11-22 12:07:14 +01:00
Pedro Gutiérrez
13e43d7b40
Inlcude new methods on DIDRegistry. 2019-11-22 12:07:14 +01:00
Pedro Gutiérrez
8761d2e087
Add EscrowComputeExecutionTemplate. 2019-11-22 12:07:14 +01:00
Pedro Gutiérrez
1f6e57fb60
Add ComputeExecutionCondition. 2019-11-22 12:07:14 +01:00
36a77c0d0b
linting fixes 2019-11-22 12:07:14 +01:00
e253e4c0bb
more DDO structure updates 2019-11-22 12:07:14 +01:00
b15022a4c1
test against latest Node.js 2019-11-22 12:07:14 +01:00
b1ff2e7a27
lowercase service type values 2019-11-22 12:07:14 +01:00
07d17fe32e
update metadata to OEP-8 v0.4 2019-11-22 12:07:14 +01:00
Pedro Gutiérrez
ba542f299a
Add initial workflow definition. 2019-11-22 12:07:13 +01:00
Pedro Gutiérrez
3f90ab2ef0
Added initial Computing service definition. 2019-11-22 12:07:13 +01:00
Alex Coseru
8aac9a9e86
added xDai 2019-11-22 10:53:37 +02:00
27f0734f22
revert esModuleInterop 2019-11-07 12:41:43 +01:00
7d393edc25
lock to web3.js 1.2.1 again 2019-11-06 13:55:34 +01:00
354149d2d4
test tweaks 2019-10-31 12:19:53 +01:00
c772324b34
signature test tweaks 2019-10-30 17:33:46 +01:00
9d95f149d5
typescript updates 2019-10-30 15:45:52 +01:00
c6bc0438de
bump packages 2019-10-30 12:04:16 +01:00
Pedro Gutiérrez
4205d9c8bf Add attribute name on File. 2019-09-03 12:13:15 +02:00
Pedro Gutiérrez
3235e4f930 Add a way to know if an address is provider of an asset. 2019-08-30 11:53:04 +02:00
adac2a0dbc
bump lint packages 2019-08-19 13:21:19 +02:00
2fd333ec3a
eslint updates 2019-08-15 14:13:21 +02:00
ccf0b39cf0
bump packages 2019-07-31 13:02:04 +02:00
Pedro Gutiérrez
a9ba23d2c3 Resolve the DDO using the service endpoint on registration event. 2019-07-16 14:56:56 +02:00
Pedro Gutiérrez
cdbc4c93a1 Fix linter errors. 2019-07-15 11:36:06 +02:00
Pedro Gutiérrez
88b8eb06c6 Allow using Secret Store to decrypt the files that are going to be downloaded. 2019-07-15 11:36:06 +02:00
Pedro Gutiérrez
ccbd0daead Restore decryption feature on Secret Store submodule. 2019-07-15 11:36:06 +02:00
Pedro Gutiérrez
a629a04dd4 Move download file behavior to utils. 2019-07-15 11:36:06 +02:00
Pedro Gutiérrez
d3f15e361a Detect the error when a condition is not correctly fulfilled. 2019-07-09 11:39:22 +02:00
Pedro Gutiérrez
031720ad5d Return the correct data format on agreement prepare. 2019-07-03 13:08:00 +02:00
Pedro Gutiérrez
bb082f0c8a Support integration tests on networks without Dispenser. 2019-06-27 14:31:28 +02:00
Pedro Gutiérrez
4c3f134942 Fix error on getting contract address of not loaded contracts. 2019-06-25 13:10:08 +02:00
Pedro Gutiérrez
d6b601effd Prevent error messages on optional contracts. 2019-06-25 12:00:37 +02:00
Pedro Gutiérrez
be95da79df Allow Disenser as optional contract. 2019-06-25 11:12:32 +02:00
9561f8e0c3
add pacific to network detection 2019-06-24 15:47:20 +02:00
Pedro Gutiérrez
a80b4aee18 Fix linter issues manually. 2019-06-24 13:06:46 +02:00
b61822e30c format all the things 2019-06-24 13:06:46 +02:00
Pedro Gutiérrez
ba9dc0930d Improve how is get the version data of the squid. 2019-06-18 12:29:51 +02:00
Pedro Gutiérrez
0ca5dae306 Improve version output. 2019-06-14 16:33:05 +02:00
Pedro Gutiérrez
21fa3495c5 Transform the versions object to an array with properties. 2019-06-14 12:05:59 +02:00
Pedro Gutiérrez
0438beef2b Create Versions module. 2019-06-14 00:34:53 +02:00
34308e867f ts-node fix 2019-06-12 14:27:13 +02:00
Pedro Gutiérrez
7b20b27e8b Improve error reporting on consumption. 2019-06-11 13:59:31 +02:00