X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=descriptorhandler%2Furls.py;fp=descriptorhandler%2Furls.py;h=c6e987eded09cc45dba51bd5a0cf66ad83642a6d;hb=3218b2b802b040b6110780eb95cf84a9f3101505;hp=0000000000000000000000000000000000000000;hpb=e6eb7437628e932ef823800b5a8380790a6b22d7;p=osm%2FLW-UI.git diff --git a/descriptorhandler/urls.py b/descriptorhandler/urls.py new file mode 100644 index 0000000..c6e987e --- /dev/null +++ b/descriptorhandler/urls.py @@ -0,0 +1,30 @@ +# +# Copyright 2018 EveryUP Srl +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +from django.conf.urls import url +from descriptorhandler import views + +urlpatterns = [ + url(r'(?P\w+)/list$', views.show_descriptors, name='list_descriptors'), + url(r'(?P\w+)/(?P[-\w]+)(/$)', views.edit_descriptor, name='edit_descriptor'), + url(r'(?P\w+)/(?P[-\w]+)/delete$', views.delete_descriptor, name='delete_descriptor'), + url(r'(?P\w+)/(?P[-\w]+)/clone', views.clone_descriptor, name='clone_descriptor'), + url(r'(?P\w+)/(?P[-\w]+)/action/(?P[-\w]+)',views.custom_action, + name='custom_action'), + url(r'(?P\w+)/new$', views.new_descriptor, name='new_descriptor'), + url(r'composer$', views.open_composer, name='open_composer'), + url(r'availablenodes', views.get_available_nodes, name='get_available_nodes'), +]