Closed DustinKLo closed 4 years ago
after importing rules
$ cd ~/.sds/files/test $ ./import_rules-mozart.sh [2020-05-25 17:20:58,982: DEBUG/sdscli/dispatch] args: Namespace(debug=True, file='/tmp/user_rules.json.6953', func=<function rules at 0x7f6d3eb39cb0>, subparser='import', type='hysds') [2020-05-25 17:20:58,983: DEBUG/sdscli/rules] got to pkg(): Namespace(debug=True, file='/tmp/user_rules.json.6953', func=<function rules at 0x7f6d3eb39cb0>, subparser='import', type='hysds') [2020-05-25 17:20:58,983: DEBUG/sdscli/rules] sds_type: hysds [2020-05-25 17:20:58,983: DEBUG/sdscli/__init__] file: /export/home/hysdsops/.sds/config [2020-05-25 17:20:59,325: DEBUG/sdscli/get_func] mod: <module 'sdscli.adapters.hysds.rules' from '/export/home/hysdsops/mozart/ops/sdscli/sdscli/adapters/hysds/rules.py'> [2020-05-25 17:20:59,325: DEBUG/sdscli/get_func] func_name: import_rules [2020-05-25 17:20:59,325: DEBUG/sdscli/rules] func: <function import_rules at 0x7f6d2fe60b00> [2020-05-25 17:20:59,325: DEBUG/sdscli/import_rules] rules_file: /tmp/user_rules.json.6953 [2020-05-25 17:20:59,326: DEBUG/sdscli/import_rules] rules: "/tmp/user_rules.json.6953" [2020-05-25 17:20:59,336: DEBUG/sdscli/import_rules] {'_index': 'user_rules-mozart', '_type': '_doc', '_id': '6jjaTHIBSqu8TM78ETrA', '_version': 1, 'result': 'created', '_shards': {'total': 2, 'successful': 1, 'failed': 0}, '_seq_no': 12, '_primary_term': 2} [2020-05-25 17:20:59,345: DEBUG/sdscli/import_rules] {'_index': 'user_rules-mozart', '_type': '_doc', '_id': '6zjaTHIBSqu8TM78ETrK', '_version': 1, 'result': 'created', '_shards': {'total': 2, 'successful': 1, 'failed': 0}, '_seq_no': 13, '_primary_term': 2}
after importing rules