I was the author of this short section in the Resource Catalog API user guide (and it has found its way into other Catalog API user guides π).
As in everything in life, there are advantages and disadvantages to both approaches. We at Amdocs have been doing Product Ordering software for almost 25 years, and long before REST, SOAP, TMF Open API, etc. were thought of we have dabbled with both approaches.
- Dynamic catalog-driven approach was loved by customers because it gave shorter time to market.
- But completely catalog-driven UI was not so usable. And eventually (e.g. at provisioning/network layer) you need to transform into concrete APIs
Interesting to note that the MEF has taken a schema-based approach in their line-of-business-specific extensions to TMF Open APIs in the product, service, resource domains. See for example here:
https://www.mef.net/resource-tag/lso-sonata/------------------------------
Jonathan Goldberg
Amdocs Management Limited
Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
------------------------------
Original Message:
Sent: Aug 03, 2022 01:26
From: Arash Zolfaghari
Subject: Characteristic-Based or Schema-Based
Actually in the document it's mentioned to be always or. But i think it can be extend to support both of them. Characteristic has an "valueType" attribute which can be string, number, boolean etc. It can be extended to have Schema option as well..
------------------------------
Arash Zolfaghari
Tecnotree
Original Message:
Sent: Aug 02, 2022 23:10
From: Srinivasa Vellanki
Subject: Characteristic-Based or Schema-Based
Our preference is also to use of schema based, unless we encounter any short comings for some edge use-cases. Will revert back with our analysis once we are done.
Is it always "Characteristic-Based or Schema-Based"?
Or can we choose to use Schema-Based as our preference and if we hit JSON schema limitation for some future use-cases, can we use "Characteristic-Based" for a subset of Characteristics. i.e., "Schema-Based" and/or "Characteristic-Based"
------------------------------
Srinivasa Vellanki
Reliance Jio Infocomm Ltd
Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of my employer or TM Forum.
Original Message:
Sent: Aug 02, 2022 06:20
From: Arash Zolfaghari
Subject: Characteristic-Based or Schema-Based
Hi All,
TMF620 Product Catalog Management API User Guide has a "Characteristic-Based or Schema-Based" section. Currently we use characteristic based entities but it has some restriction specially when attributes and their value has relationship together. So we wanted to investigate on schema based characteristic. May i request you kindly share more information in this matter? As it's described very shortly on the "TMF620 Product Catalog Management API User Guide" document.
Below you can find some examples which i think it's more easier to configure using JSON schema:
When a product has two different storage class which each one has different storage size:
Class A: [10 TB, 20 TB]
Class B: [5TB, 10TB, 15TB]
In order to not create two different productSpecification for above configuration, of course we can use charValue relationship in Characteristic-Based. But we found schema based chars easier. So needed more info please.
------------------------------
Arash Zolfaghari
Tecnotree
------------------------------