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 creatse egmGlobalSingleDictDbResource.txt and egmGlobalDoubleDictDbResource.txt json files in the current directory or at specified folder location.

Usage

egmglobaldb create_sample_file outputpath
Required Argument Description
No outputpath

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$$"}}]