Application Schema Metadata

This target can be used to gather information about application schemas (more specifically: the schemas that are selected for processing).

NOTE: at the moment the target only supports a limited set of metadata – reporting of additional useful metadata can be added in the future.

Configuration

Class

The class for the target implementation is de.interactive_instruments.ShapeChange.Target.Metadata.ApplicationSchemaMetadata

Encoding Rules

The following optional rules are supported by this target.

rule-asm-all-identify-profiles

Behavior

If this rule is enabled, the target identifies the names of all profiles to which schema elements belong (NOTE: only for the schemas that are selected for processing).

Parameters

none

Parameters

The parameters supported by this target are described in the following sections.

defaultEncodingRule

Alias: none

Type: String

Default Value: none

Behavior:

The identifier of the default encoding rule governing the derivation of the replication schema.

Applies to Rule(s):

  • none – default behavior

outputDirectory

Alias: none

Type: String

Default Value: the current run directory

Behavior:

The path to the folder in which the output file (an XML file structured according to this schema) will be created.

Applies to Rule(s):

  • none – default behavior

Map Entries

At the moment, no specific map entries have been defined for this target.

Sample Configuration

<Target class="de.interactive_instruments.ShapeChange.Target.Metadata.ApplicationSchemaMetadata"
  mode="enabled">
  <targetParameter name="outputDirectory" value="testResults/schema_metadata"/>
  <targetParameter name="sortedOutput" value="true"/>
  <targetParameter name="defaultEncodingRule" value="metadata"/>
  <rules>
    <EncodingRule name="metadata">
      <rule name="rule-asm-all-identify-profiles"/>
    </EncodingRule>
  </rules>
</Target>
Top