...
- take into account the given name and version
- check if the concept with the given name and version has no child concepts
- check if the given name and concept version is not listed as a parent for other concepts
- check if the concept policy is not deployed.
Verification:
- It would be simpler to check if the policy is implemented in PAP. So at this level there are only concepts with undeployed policies.
- Checking the relationship between the concepts should be in Dao or SimpleToscaServiceTemplateProvider. If there is any parent-child relationship, then PfModelException with a corresponding code will be thrown, and no database change will be made.