def stop(self, env, upgrade_type=None):
    from params import params
    env.set_params(params)
    commands = RestCommands(params)
    commands.stop_rest_application()
def stop(self, env, upgrade_type=None):
    from params import params
    env.set_params(params)
    commands = RestCommands(params)
    commands.stop_rest_application()