def _get_fake_random_uuid():
    return unicode(uuidutils.generate_uuid())
Example #2
0
 def process_request(self, req):
     correlation_id = (req.headers.get("X_CORRELATION_ID") or
                       uuidutils.generate_uuid())
     req.headers['X_CORRELATION_ID'] = correlation_id
Example #3
0
def _generate_unicode_uuid():
    return unicode(uuidutils.generate_uuid())
Example #4
0
def generate_request_id():
    return 'req-%s' % uuidutils.generate_uuid()
Example #5
0
def generate_request_id():
    return 'req-%s' % uuidutils.generate_uuid()
Example #6
0
 def process_request(self, req):
     correlation_id = (req.headers.get("X_CORRELATION_ID")
                       or uuidutils.generate_uuid())
     req.headers['X_CORRELATION_ID'] = correlation_id
Example #7
0
def _get_fake_random_uuid():
    return unicode(uuidutils.generate_uuid())
Example #8
0
def _generate_unicode_uuid():
    return unicode(uuidutils.generate_uuid())