File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
it-fse-gtw-container-fhir-transform Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 99
1010# VARIABLES
1111MONGO_DUMP_URL = getenv ("MONGO_DUMP_URL" )
12- FILES = ["transform.json.gzip" ,
13- "engines.json.gzip" ]
12+ FILES = ["transform.json.gzip" , "engines.json.gzip" , "config_data.json.gzip" ]
1413
1514SCRIPT_DIR = path .dirname (path .abspath (__file__ ))
1615FOLDER = path .join (SCRIPT_DIR , "../mongo-dump" )
5251 print (f" - { output_filename } in writing..." )
5352 f .write (decompressed_data )
5453 print (f" - { output_filename } is written on disk." )
55- f .close ()
54+ f .close ()
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ echo "Starting"
55collections_folder=var/lib/mongo/data
66
77mongoimport --db " FSE_GTW" --collection " transform" --file " $collections_folder /transform.json" --jsonArray
8+ mongoimport --db " FSE_GTW" --collection " config_data" --file " $collections_folder /config_data.json" --jsonArray
89mongoimport --db " FSE_GTW" --collection " engines" --file " $collections_folder /engines.json" --jsonArray
910
1011echo " Done"
You can’t perform that action at this time.
0 commit comments