def _get_fake_random_uuid(): return unicode(uuidutils.generate_uuid())
def process_request(self, req): correlation_id = (req.headers.get("X_CORRELATION_ID") or uuidutils.generate_uuid()) req.headers['X_CORRELATION_ID'] = correlation_id
def _generate_unicode_uuid(): return unicode(uuidutils.generate_uuid())
def generate_request_id(): return 'req-%s' % uuidutils.generate_uuid()