# Path: OGRgeoConverter/jobs/jobidentification.py
# def get_job_id_regex():
# def get_bounded_job_id_regex():
# def get_new_job_identifier_by_client_job_token(session_key, client_job_token):
# def get_job_identifier_by_client_job_token(session_key, client_job_token):
# def get_job_identifier_by_job_id(session_key, job_id):
# def _check_client_job_token(client_job_token):
# def _get_random_job_id():
# def __get_date_string():
# def __get_random_code():
# def is_valid_job_id(code):
# def split_job_id(job_id):
# def join_job_id(*args):


from django.conf.urls import patterns, url
from OGRgeoConverter.jobs import jobidentification
'''
Extends main URL dispatcher in GeoConverter.urls
'''


urlpatterns = patterns('',
                       url(r'^$',
                           'OGRgeoConverter.views.show_main_page'),
                       url(r'^forms/files/(\w+)/start',
                           'OGRgeoConverter.views.start_conversion_job'),
                       url(r'^forms/files/(\w+)/upload',
                           'OGRgeoConverter.views.process_upload'),
                       url(r'^forms/files/(\w+)/remove/(\d+)',
                           'OGRgeoConverter.views.remove_file'),
                       url(r'^forms/files/(\w+)/finish',
                           'OGRgeoConverter.views.finish_conversion_job'),
                       url(r'^forms/webservices/(\w+)/convert',
                           'OGRgeoConverter.views.convert_webservice'),
                       url(r'^download/' + jobidentification.get_job_id_regex(),
                           'OGRgeoConverter.views.download_output_file'),

# Path: OGRgeoConverter/jobs/jobidentification.py
# def get_job_id_regex():
# def get_bounded_job_id_regex():
# def get_new_job_identifier_by_client_job_token(session_key, client_job_token):
# def get_job_identifier_by_client_job_token(session_key, client_job_token):
# def get_job_identifier_by_job_id(session_key, job_id):
# def _check_client_job_token(client_job_token):
# def _get_random_job_id():
# def __get_date_string():
# def __get_random_code():
# def is_valid_job_id(code):
# def split_job_id(job_id):
# def join_job_id(*args):


# Path: OGRgeoConverter/urls.py
from django.conf.urls import patterns, url
from OGRgeoConverter.jobs import jobidentification

'''
Extends main URL dispatcher in GeoConverter.urls
'''


urlpatterns = patterns('',
                       url(r'^$',
                           'OGRgeoConverter.views.show_main_page'),
                       url(r'^forms/files/(\w+)/start',
                           'OGRgeoConverter.views.start_conversion_job'),
                       url(r'^forms/files/(\w+)/upload',
                           'OGRgeoConverter.views.process_upload'),
                       url(r'^forms/files/(\w+)/remove/(\d+)',
                           'OGRgeoConverter.views.remove_file'),
                       url(r'^forms/files/(\w+)/finish',
                           'OGRgeoConverter.views.finish_conversion_job'),
                       url(r'^forms/webservices/(\w+)/convert',
                           'OGRgeoConverter.views.convert_webservice'),
                       url(r'^download/' + jobidentification.get_job_id_regex(),
                           'OGRgeoConverter.views.download_output_file'),

                       url(r'^remove/queue-' + jobidentification.get_job_id_regex(),