Hi Team,
Product Catalog User guide specifies the various states of an Entity goes through during the different phases of its existence.
As we find that the initial state defined as "In Study" and probably after validation of the attributes it goes to "In Design" and so on.
So, when an entity is created, it starts with the initial state and later goes through the different states.
I have queries on this-
- 1. There is no stated defined in the tmf specification named as "In Active" but, the same is found in the API Operations and their payloads, what is "In Active" state ? which is corresponding stated matching to this state in Lifecycle states ?
- 2. POST API operation sample payload contains the lifecycleStatus as "Active", could the entity be created directly with this state ? If not, what should be the default state while creating an entity?
- 3. In the mandatory attribute list lastUpdate and lifecycle status are present. Perhaps should these be mandatory in Response not in Request ?
- 4. When an entity is created (POST API) with initial lifecycle state say "In Study" or "In Design". What should be the expected state when Retrieving that entity via GET API ?Can that be in any state of lifecycle? or it has to be in "Active" state only and if not yet active then returns not found ?
- 5. CTK validation for GET API expects the "Active" state for entity in response while POST api creates with default ?
Thanks,
Vivek
------------------------------
Vivek Raghuwanshi
Oracle Corporation
------------------------------