mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
update testdata DDO with compute service
This commit is contained in:
parent
f1e15c9eda
commit
93d3490783
56
test/testdata/ddo.json
vendored
56
test/testdata/ddo.json
vendored
@ -146,8 +146,60 @@
|
|||||||
{
|
{
|
||||||
"type": "compute",
|
"type": "compute",
|
||||||
"index": 1,
|
"index": 1,
|
||||||
"serviceEndpoint": "http://mybrizo.org/api/v1/brizo/services/compute?pubKey=${pubKey}&serviceId={serviceId}&algo={algo}&container={container}",
|
"serviceEndpoint": "http://mybrizo.org/api/v1/brizo/services/compute",
|
||||||
"templateId": "044852b2a670ade5407e78fb2863c51000000000000000000000000000000002"
|
"templateId": "804932804923850985093485039850349850439583409583404534231321131a",
|
||||||
|
"attributes": {
|
||||||
|
"main": {
|
||||||
|
"creator": "0x00Bd138aBD70e2F00903268F3Db08f2D25677C9e",
|
||||||
|
"datePublished": "2019-04-09T19:02:11Z",
|
||||||
|
"price": "10",
|
||||||
|
"timeout": 86400,
|
||||||
|
"provider": {
|
||||||
|
"type": "Azure",
|
||||||
|
"description": "",
|
||||||
|
"environment": {
|
||||||
|
"cluster": {
|
||||||
|
"type": "Kubernetes",
|
||||||
|
"url": "http://10.0.0.17/xxx"
|
||||||
|
},
|
||||||
|
"supportedContainers": [
|
||||||
|
{
|
||||||
|
"image": "tensorflow/tensorflow",
|
||||||
|
"tag": "latest",
|
||||||
|
"checksum": "sha256:cb57ecfa6ebbefd8ffc7f75c0f00e57a7fa739578a429b6f72a0df19315deadc"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"image": "tensorflow/tensorflow",
|
||||||
|
"tag": "latest",
|
||||||
|
"checksum": "sha256:cb57ecfa6ebbefd8ffc7f75c0f00e57a7fa739578a429b6f72a0df19315deadc"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"supportedServers": [
|
||||||
|
{
|
||||||
|
"serverId": "1",
|
||||||
|
"serverType": "xlsize",
|
||||||
|
"price": "50",
|
||||||
|
"cpu": "16",
|
||||||
|
"gpu": "0",
|
||||||
|
"memory": "128gb",
|
||||||
|
"disk": "160gb",
|
||||||
|
"maxExecutionTime": 86400
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"serverId": "2",
|
||||||
|
"serverType": "medium",
|
||||||
|
"price": "10",
|
||||||
|
"cpu": "2",
|
||||||
|
"gpu": "0",
|
||||||
|
"memory": "8gb",
|
||||||
|
"disk": "80gb",
|
||||||
|
"maxExecutionTime": 86400
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "metadata",
|
"type": "metadata",
|
||||||
|
Loading…
Reference in New Issue
Block a user