egmglobaldb create sample file

The egmglobaldb create_sample_file command creates sample JSON file of single and double database resource. These generated files can be used as reference for providing configurations for creation of database resource. It creates egmGlobalSingleDictDbResource.txt and egmGlobalDoubleDictDbResource.txt JSON files in the current directory or at specified folder location.

Usage

egmglobaldb create_sample_file outputpath
RequiredArgumentDescription
Nooutputpath

All the sample database resources JSON files will be created at provided output path else all will be exported to current folder.

Example

This example creates the sample global database resources JSON files to current folder. The second example will export all the database resources to C:\OutputFolder.

egmglobaldb create_sample_file

Sample JSON for database resource file

egmglobaldb create_sample_file C:\OutputFolder

[{"product":"InternationalGeocoder GLOBAL", "module":"igeocode-global", "name":"$$DATABASE_NAME$$",
"maxActive":4,
"properties":{"COUNTRY_CODE1":"$$COUNTRY_CODE1$$",
"$$COUNTRY_CODE1$$_DICTIONARY_PATH1":"$$DICTIONARY_PATH1$$",
"COUNTRY_COUNT":"1",
"$$COUNTRY_CODE1$$_DICTIONARY_PATH_NAME1":"$$DICTIONARY_PATH_NAME1$$"}}]