def wps_service(request, service): """ View that lists the processes for a given service. """ wps = get_wps_service_engine(service) context = {'wps': wps, 'service': service} return render(request, 'tethys_services/tethys_wps/service.html', context)
def service(request, service): """ View that lists the processes for a given service. """ wps = get_wps_service_engine(service) context = {'wps': wps, 'service': service} return render(request, 'tethys_wps/service.html', context)
def process(request, service, identifier): """ View that displays a detailed description for a WPS process. """ wps = get_wps_service_engine(service) wps_process = wps.describeprocess(identifier) context = {'process': wps_process, 'service': service, 'is_link': abstract_is_link(wps_process)} return render(request, 'tethys_wps/process.html', context)
def wps_process(request, service, identifier): """ View that displays a detailed description for a WPS process. """ wps = get_wps_service_engine(service) wps_process = wps.describeprocess(identifier) context = { 'process': wps_process, 'service': service, 'is_link': abstract_is_link(wps_process) } return render(request, 'tethys_services/tethys_wps/process.html', context)