Feature Request: Private properties #2592
Replies: 3 comments 3 replies
-
@saschaisele-zf can you ping me so we can discuss at some point? I understand the use cases and motivations for private properties on Assets and ContractDefinitions, but I am unsure about the other entities. We also need to keep in mind a few things:
|
Beta Was this translation helpful? Give feedback.
-
Hello @jimmarino , The corresponding changes are ready, tested and we would like to contribute them. The changes, I did, are being done in the same way of implementation for the private properties of Asset entity (which is available as of now) |
Beta Was this translation helpful? Give feedback.
-
Hello @jimmarino , The corresponding changes are ready, tested and we would like to contribute them. The changes, I did, are being done in the same way of implementation for the private properties of Asset entity (which is available as of now) |
Beta Was this translation helpful? Give feedback.
-
Feature Request
Extend the following entities with private properties which are not exposed outside the Management API:
Assets, Policy Definitions, Contract Definitions, Contract Negotiations, Contract Agreements, Transfer Process
Which areas would be affected and how?
SPI Data Types
Add a field named 'privateProperties' to the following entities:
APIs, Models and Transformers
Allow reading and manipulation of the 'privateProperties' in the following APIs:
Management API
This includes adjusting existing models and transformers to accommodate the addition of the 'privateProperties'.
Why is this feature desired?
Enriching these entities with information not relevant for external consumers/providers is currently not possible.
To achieve this, it has to be done through an external storage.
Example:
Additional tags related to choosing policies for an asset are added to the private properties.
They govern which policies are recommended for the asset and help the user with the creation of contract offers.
Since those tags represent meta-information meant for internal use, there is no benefit to be had in sending this information with the asset inside the contract offer.
On the contrary, there is the possibility that an external consumer/provider may gleam information about internal processes which represents a potential risk.
Point of discussion:
How to contain the availability of 'privateProperties' to the Management API.
Beta Was this translation helpful? Give feedback.
All reactions