Exemplo n.º 1
0
    url(r'^data_sources/preview/(?P<config_id>[\w-]+)/$',
        PreviewDataSourceView.as_view(),
        name=PreviewDataSourceView.urlname),
    url(r'^data_sources/summary/(?P<config_id>[\w-]+)/$',
        DataSourceSummaryView.as_view(),
        name=DataSourceSummaryView.urlname),
    url(r'^data_sources/export/(?P<config_id>[\w-]+)/$', export_data_source,
        name='export_configurable_data_source'),
    url(r'^data_sources/status/(?P<config_id>[\w-]+)/$', data_source_status,
        name='configurable_data_source_status'),
    url(r'^expression_debugger/$', ExpressionDebuggerView.as_view(),
        name='expression_debugger'),
    url(r'^data_source_debugger/$', DataSourceDebuggerView.as_view(),
        name='data_source_debugger'),
    url(r'^export_status/(?P<download_id>(?:dl-)?[0-9a-fA-Z]{25,32})/(?P<subreport_slug>[\w-]+)/$',
        DownloadUCRStatusView.as_view(), name=DownloadUCRStatusView.urlname),
    url(r'^export_job_poll/(?P<download_id>(?:dl-)?[0-9a-fA-Z]{25,32})/$',
        ucr_download_job_poll, name='ucr_download_job_poll'),

    # Update Report Description
    url(r'^builder/update_report_description/(?P<report_id>[\w-]+)', update_report_description,
        name='update_report_description'),

    # apis
    url(r'^api/choice_list/(?P<report_id>[\w-]+)/(?P<filter_id>[\w-]+)/$',
        choice_list_api, name='choice_list_api'),
    url(r'^expression_evaluator/$', evaluate_expression, name='expression_evaluator'),
    url(r'^data_source_evaluator/$', evaluate_data_source, name='data_source_evaluator'),
    url(r'^aggregate/', include('corehq.apps.aggregate_ucrs.urls')),

]
Exemplo n.º 2
0
        DataSourceSummaryView.as_view(),
        name=DataSourceSummaryView.urlname),
    url(r'^data_sources/export/(?P<config_id>[\w-]+)/$',
        export_data_source,
        name='export_configurable_data_source'),
    url(r'^data_sources/status/(?P<config_id>[\w-]+)/$',
        data_source_status,
        name='configurable_data_source_status'),
    url(r'^expression_debugger/$',
        ExpressionDebuggerView.as_view(),
        name='expression_debugger'),
    url(r'^data_source_debugger/$',
        DataSourceDebuggerView.as_view(),
        name='data_source_debugger'),
    url(r'^export_status/(?P<download_id>[0-9a-fA-Z]{25,32})/(?P<subreport_slug>[\w-]+)/$',
        DownloadUCRStatusView.as_view(),
        name=DownloadUCRStatusView.urlname),
    url(r'^export_job_poll/(?P<download_id>[0-9a-fA-Z]{25,32})/$',
        ucr_download_job_poll,
        name='ucr_download_job_poll'),

    # apis
    url(r'^api/choice_list/(?P<report_id>[\w-]+)/(?P<filter_id>[\w-]+)/$',
        choice_list_api,
        name='choice_list_api'),
    url(r'^expression_evaluator/$',
        evaluate_expression,
        name='expression_evaluator'),
    url(r'^data_source_evaluator/$',
        evaluate_data_source,
        name='data_source_evaluator'),
Exemplo n.º 3
0
    url(r'^data_sources/build_in_place/(?P<config_id>[\w-]+)/$', build_data_source_in_place,
        name='build_in_place'),
    url(r'^data_sources/preview/(?P<config_id>[\w-]+)/$',
        PreviewDataSourceView.as_view(),
        name=PreviewDataSourceView.urlname),
    url(r'^data_sources/summary/(?P<config_id>[\w-]+)/$',
        DataSourceSummaryView.as_view(),
        name=DataSourceSummaryView.urlname),
    url(r'^data_sources/export/(?P<config_id>[\w-]+)/$', export_data_source,
        name='export_configurable_data_source'),
    url(r'^expression_debugger/$', ExpressionDebuggerView.as_view(),
        name='expression_debugger'),
    url(r'^data_source_debugger/$', DataSourceDebuggerView.as_view(),
        name='data_source_debugger'),
    url(r'^export_status/(?P<download_id>(?:dl-)?[0-9a-fA-Z]{25,32})/(?P<subreport_slug>[\w-]+)/$',
        DownloadUCRStatusView.as_view(), name=DownloadUCRStatusView.urlname),
    url(r'^export_job_poll/(?P<download_id>(?:dl-)?[0-9a-fA-Z]{25,32})/$',
        ucr_download_job_poll, name='ucr_download_job_poll'),

    # Update Report Description
    url(r'^builder/update_report_description/(?P<report_id>[\w-]+)', update_report_description,
        name='update_report_description'),

    # apis
    url(r'^api/choice_list/(?P<report_id>[\w-]+)/(?P<filter_id>[\w-]+)/$',
        choice_list_api, name='choice_list_api'),
    url(r'^expression_evaluator/$', evaluate_expression, name='expression_evaluator'),
    url(r'^data_source_evaluator/$', evaluate_data_source, name='data_source_evaluator'),
    url(r'^aggregate/', include('corehq.apps.aggregate_ucrs.urls')),
]