Description
The Import from Avro JSON Schema option can be used to create Domains and Attributes by importing an Avro JSON Schema file into a selected Project Version within a Project. A Generator will be assigned to each Attribute, and a Receiver will be assigned to each Domain.
In This Article
- Sample Avro JSON Schema File
- How to Import an Avro JSON Schema File
- Additional Items Created During the Import
Sample Avro JSON Schema File
How to Import an Avro JSON Schema File
- Select the Project and Project Version within the Project Dashboard.
- Expand the New Domain Menu and select Import from Avro JSON Schema.
- Click on the Choose File button to browse for and select the Avro JSON Schema file.
- Select an Output Format (e.g., JSON, Avro, Parquet). This determines what output format will be used when generating data.
- (Optional) Check the Enforce Type/Limit option.
- Click the Save button.
- Click OK to close the confirmation prompt.
- The request will be placed in the queue, and its status can be viewed within the Queue Status Pane.
- The Project Dashboard will appear as shown below once the import has been completed:
Additional Items Created During the Import
When importing an Avro JSON Schema file, a few additional items will be created automatically:
- Merge Domain - Merges the created Domains for test data generation. The Receiver assigned to this Domain will depend on what Output Option was selected during the import (JSON, Avro, or Parquet).
- Scenarios - A Scenario contains the instructions for generating data and will be created for each imported Domain.
- Scenario Chain Set - A Scenario Chain Set combines multiple Scenarios, which can be run as one command line in sequence for test data generation within a Command Prompt or Terminal window.
- Configuration File - The Config.xml file is used by the SegmentMergeReceiver (JSON, Avro, or Parquet) within the Merge Domain to inform the Receiver how to merge the data segments, segment files, and elements that were part of the imported Avro JSON Schema File.