#!/usr/bin/env python

import mongoUtils

parser = mongoUtils.create_default_argument_parser()

options = parser.parse_args()

mongoUtils.execute_mongo_command(options, """db.getCollection("failedMessage").createIndex({"statusHistory.0.status": 1, "destination.brokerName": 1})""")
91ec070ea730d0e464c2cfca2c33ec264bb446ce
<mask token>

<mask token>
mongoUtils.execute_mongo_command(options,
    'db.getCollection("failedMessage").createIndex({"statusHistory.0.status": 1, "destination.brokerName": 1})'
    )

<mask token>
parser = mongoUtils.create_default_argument_parser()
options = parser.parse_args()
mongoUtils.execute_mongo_command(options,
    'db.getCollection("failedMessage").createIndex({"statusHistory.0.status": 1, "destination.brokerName": 1})'
    )

import mongoUtils
parser = mongoUtils.create_default_argument_parser()
options = parser.parse_args()
mongoUtils.execute_mongo_command(options,
    'db.getCollection("failedMessage").createIndex({"statusHistory.0.status": 1, "destination.brokerName": 1})'
    )

#!/usr/bin/env python

import mongoUtils

parser = mongoUtils.create_default_argument_parser()

options = parser.parse_args()

mongoUtils.execute_mongo_command(options, """db.getCollection("failedMessage").createIndex({"statusHistory.0.status": 1, "destination.brokerName": 1})""")