Catalog Administrator Guide > Metadata Extraction from Offline and Inaccessible Resources > Structure of Metadata Archive File
  

Structure of Metadata Archive File

The metadata archive file or Archive.zip file has the following files:
File or Directory
Description
/EXDOC_STORE
Contains all the Exdocs including TOC.
/XMIFiles
Contains the XMI files located in the \services\CatalogService\XMIFiles\* directory.
/logs
Contains log files that include:
  • - Stderr
  • - Stdout
  • - Scanner.log
  • - GC.log
/scanner/checkpoints
The ingestion job creates checkpoints at every top-level folder during the job scan. These checkpoints are saved in the /scanner/checkpoints file.
/scanner/resourceConfig
Files from EICRepo/*
/scanner/JobStatus
Files from JobStatus/*
/config
Contains a copy of resource configuration file with the file extension .properties. The file has the user name dummy and password dummy.
The folder also has the Runtime.log file that has the following information:
  • - Environment variables.
  • - Operating system-level settings.
  • - Hardware configuration, such as available physical memory and diskspace.
  • - Runtime environment.
/META-INF/metainfo.json
The metainfo.json file contains checksums, which includes metadataArchiveCheckSum. The metadataArchiveCheckSum parameter is updated when the script adds entries to the archive file. After the checksums are generated, the script generates the metainfo.json file and appends it as the very last entry to the Archive.zip file.
The metadata.json file represents the dates as String in Coordinated Universal Time (UTC) format.
The following sample shows the content of a metadata.json file:
{

“createdOn” : 12345678,

“scanMode” : “FULL”,

“cli_version” : “10.2.2”,

“summary” : { {“Tables” : “10”}. {“Column” : “20” } }, // updateStats()

“resourceConfigCheckSum” : “abcd”,

“metadataArchiveCheckSum” : “xyz”,

“startTime” : “YYYY-MM-DDThh:mm:ssZ”,

“endTime” : “YYYY-MM-DDThh:mm:ssZ”,

“resourceName” : “OracleResource”

...

}