Versions Compared

Key

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

...

There is a new Import-Export utility in Grouper v1.6

Grouper v1.2.0+ includes XML import / export tools. Exported XML may be used for:

...

Command

Summary of args. 

      args: -h

Prints this message

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="e249d23323f8effa-0a021754-47c04bf9-89eea973-4a96c4ee9d9c1c2af9f5c537"><ac:plain-text-body><![CDATA[

      args: 

subjectIdentifier [(-id] [-name )] [-relative] [-childrenOnly] [-includeParent] fileName [properties]

]]></ac:plain-text-body></ac:structured-macro>

...

An XML Schema which describes the exported XML is available here|^xml-tool-export.xsd|\.

If a relative export is performed, the export tool treats group members, list members or privilegees which are groups, and which are descendants of the export stem in a special manner. The Subject Identifier, which, for groups, is usually the group name, is modified so that the export stem name is replaced by an asterix, thus, if performing a relative export of uob:artf, a reference to the staff group would become *staff rather than uob:artf:staff. The import tool will replace the asterix with the import stem name. In this way the relationship between groups can be maintained.

Examples of exported data are available here|^xml-tool-export-examples.html|\.

Import Tool in More Detail

...

  Command   

Summary of args.

    args: -h

Prints this message

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="be0bd02801ca335c-7be7c800-427e4cae-a60ca956-c97c7869e58c4f6cc4602134"><ac:plain-text-body><![CDATA[

    args:

subjectIdentifier [(-id -name -list)] [-ignoreInternal] [-noprompt] filename [properties]

]]></ac:plain-text-body></ac:structured-macro>

...

An XML Schema which describes the format of XML which can be loaded is available here|^xml-tool-import.xsd|\.

It is possible to generate an XML file which validates against the schema, but which does not load properly. The annotations in the schema describe appropriate usage of attributes and elements.

The Grouper QuickStart includes a demo registry. quickstart.xml|^xml-tool-quickstart.xml|\ is a minimal XML import file which creates the demo registry*.

...