Versions Compared

Key

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

...

Policy creation in PolicyDevelopment follows the general sequence shown in the sequence diagram below. An API_USER is any component that wants to create a policy from a policy template. PolicyDevelopment supplies a REST interface that exposes the API and also provides a command line tool and general purpose client that wraps the API. DrawiobordertrueviewerToolbartruefitWindowfalsediagramNamePolicyCreationOverAPIsimpleViewerfalsewidthdiagramWidth747revision11



A PolicyDevAPIUser first gets a reference to and the metadata for the Policy Template for the policy they want to work on from PolicyDevelopmentPolicyDevelopment reads the metadata for the template from the database and reads the policy template artifact from Nexus. The API_User then asks for a reference and the metadata for the policy. PolicyDevelopment looks up the policy in the database. If the policy already exists, PolicyDevelopment reads the artifact from Nexus and returns the reference of the existing policy to the PolicyDevAPIUser with the metadata for the existing policy. If the policy does not exist, PolicyDevelopment creates and new reference and metadata and returns that to the API_User.

...