OceanProtocolEnterprise / ocean-node

Apache License 2.0
0 stars 0 forks source link

Lifecycle state per service #8

Open MBadea17 opened 5 months ago

MBadea17 commented 5 months ago

Add a lifecycle policy to each service: active, retired, deprecated. Similar to the dataNFT lifecycle policy.

MBadea17 commented 5 months ago

@alexcos20 , please define the policy.

alexcos20 commented 5 months ago

We already have nft state, at DDO level (https://docs.oceanprotocol.com/developers/ddo-specification#state)

We need to add a new field for each service in DDO, called "state". When service is accessed, ocean-node (and provider) should check if this field exists and if does, check if access is still permitted.

TO DO: