Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. The requested entity is returned
  2. Any data types referenced by the requested policy type or data type are returned
  3. Any Policy types from which a requested policy type inherits are returned

Creating Policy Types and Data Types

When creating policy types:

  1. If the existing explicitly defined policy type already exists, an error is returned
  2. If a parent of the policy type does not exist, it is created
  3. if a parent of the policy type exists
    1. If the parent definition is the same as whats in the database, then its OK
    2. If the parent definition is different on the incoming specification, then an error is reported
  4. For child data types specified on the incoming policy type definition
    1. If the data type definition does not exist, it is created
    2. If the data type definition exists
      1. If the data type definition is the same as whats in the database, then its OK
      2. If the incoming data type definition is different to whats in the database, then an error is reported

When creating data types:

  1. If the existing explicitly defined data type or data type already exists, an error is returned
  2. If a parent of the data type does not exist, it is created
  3. if a parent of the data type exists
    1. If the parent definition is the same as whats in the database, then its OK
    2. If the parent definition is different on the incoming specification, then an error is reported
  4. For child data types specified on the incoming data type definition
    1. If the data type definition does not exist, it is created
    2. If the data type definition exists
      1. If the data type definition is the same as whats in the database, then its OK
      2. If the incoming data type definition is different to whats in the database, then an error is reported