support multiple services when viewing and downloading the asset (compute type was not tested). Edit asset was not updated yet
AccessDetails type on AssetExtended was changed to an array (1 accessDetails per each service)
AccessDetails are filled from offchain metadata (link to ocean-node issue). Previously it was fetched from Subgraph which is no longer supported in ocean-node
To publish an asset with multiple services you can use ocean-cli - this PR can help you. You need to do 3 steps:
publish asset
addService
edit metadata to contain offchain
What is missing?
downloading 2nd, 3rd, ... service doesn't work. Issue created in ocean-node
filling rest of AccessDetails with real data (isPurchasable, isOwned, validOrderTx, ...)
partially fixes #16
What was done?
AccessDetails
type onAssetExtended
was changed to an array (1 accessDetails per each service)offchain
metadata (link to ocean-node issue). Previously it was fetched from Subgraph which is no longer supported in ocean-nodeTo publish an asset with multiple services you can use ocean-cli - this PR can help you. You need to do 3 steps:
What is missing?
editing asset (editing services)DONE here https://github.com/OceanProtocolEnterprise/market/pull/42