Policy Package

The policy package is used to distribute policies, and register new policies through REST services.

A policy package is an archive that contains the following components:

Runtime.ear
  • META-INF/

  • META-INF/MANIFEST.MF

  • APP-INF

  • APP-INF/lib/

  • APP-INF/lib/config.jar

  • APP-INF/lib/runtime.jar

Policy.jar
  • META-INF/

  • META-INF/MANIFEST.MF

  • ui.zip

  • config.jar

  • runtime.ear

  • metadata.json

Policy_generated.ear
  • META-INF/MANIFEST.MF

  • APP-INF/lib/config.jar

  • APP-INF/lib/runtime.jar

  • metadata.json: A JSON document that contains either one metadata object or an array of metadata objects.

  • ui.zip: Contains web resources and localization files

  • config.jar: Contains configuration management binary classes

  • runtime.jar: Contains runtime binary classes

  • A manifest file is used to identify the nested files in the archive. An example of a MANIFEST file:
    Manifest-Version: 1.0
    Policy-Metadata: metadata.json
    Policy-UI: ui.zip
    Policy-Config: config.jar
    Policy-Runtime: runtime.ear