...
- The requested entity is returned
- Any data types referenced by the requested policy type or data type are returned
- Any Policy types from which a requested policy type inherits are returned
Creating Policy Types and Data Types
When creating policy types:
- If the existing explicitly defined policy type already exists, an error is returned
- If a parent of the policy type does not exist, it is created
- if a parent of the policy type exists
- If the parent definition is the same as whats in the database, then its OK
- If the parent definition is different on the incoming specification, then an error is reported
- For child data types specified on the incoming policy type definition
- If the data type definition does not exist, it is created
- If the data type definition exists
- If the data type definition is the same as whats in the database, then its OK
- If the incoming data type definition is different to whats in the database, then an error is reported
When creating data types:
- If the existing explicitly defined data type or data type already exists, an error is returned
- If a parent of the data type does not exist, it is created
- if a parent of the data type exists
- If the parent definition is the same as whats in the database, then its OK
- If the parent definition is different on the incoming specification, then an error is reported
- For child data types specified on the incoming data type definition
- If the data type definition does not exist, it is created
- If the data type definition exists
- If the data type definition is the same as whats in the database, then its OK
- If the incoming data type definition is different to whats in the database, then an error is reported