@@ -68,8 +68,7 @@ def __init__(self):
68
68
subparser_mongo_input = ComponentSubParser ('mongodb' )
69
69
subparser_mongo_input .add_argument ('u' , 'uri' , help = 'sepcify MongoDB uri' )
70
70
subparser_mongo_input .add_argument ('d' , 'db' , help = 'specify MongoDB database name' , )
71
- subparser_mongo_input .add_argument ('c' , 'collection' , help = 'specify MongoDB database collection' ,
72
- default = 'sensor' )
71
+ subparser_mongo_input .add_argument ('c' , 'collection' , help = 'specify MongoDB database collection' )
73
72
subparser_mongo_input .add_argument ('n' , 'name' , help = 'specify puller name' , default = 'puller_mongodb' )
74
73
subparser_mongo_input .add_argument ('m' , 'model' , help = 'specify data type that will be storen in the database' ,
75
74
default = 'hwpc_report' )
@@ -86,12 +85,12 @@ def __init__(self):
86
85
subparser_csv_input .add_argument ('n' , 'name' , help = 'specify puller name' , default = 'puller_csv' )
87
86
self .add_component_subparser ('input' , subparser_csv_input ,
88
87
help_str = 'specify a database input : --db_output database_name ARG1 ARG2 ... ' )
89
-
88
+
90
89
subparser_mongo_output = ComponentSubParser ('mongodb' )
91
90
subparser_mongo_output .add_argument ('u' , 'uri' , help = 'sepcify MongoDB uri' )
92
91
subparser_mongo_output .add_argument ('d' , 'db' , help = 'specify MongoDB database name' )
93
- subparser_mongo_output .add_argument ('c' , 'collection' , help = 'specify MongoDB database collection' ,
94
- default = 'powermeter' )
92
+ subparser_mongo_output .add_argument ('c' , 'collection' , help = 'specify MongoDB database collection' )
93
+
95
94
subparser_mongo_output .add_argument ('m' , 'model' , help = 'specify data type that will be storen in the database' ,
96
95
default = 'power_report' )
97
96
subparser_mongo_output .add_argument ('n' , 'name' , help = 'specify puller name' , default = 'pusher_mongodb' )
0 commit comments