aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/urls.py
diff options
context:
space:
mode:
authorJustin Choquette <jchoquette@iol.unh.edu>2023-06-08 12:46:53 -0400
committerJustin Choquette <jchoquette@iol.unh.edu>2023-07-21 13:17:51 -0400
commita09db9f287a02873c0226759f8ea444bb304cd59 (patch)
tree59e744e4b998973a808abbae2d21fbdd6201d829 /src/api/urls.py
parent8ddc7e820e120f1dde4e901d3cb6f1dd3f281e65 (diff)
LaaS 3.0 Almost MVP
Change-Id: Ided9a43cf3088bb58a233dc459711c03f43e11b8 Signed-off-by: Justin Choquette <jchoquette@iol.unh.edu>
Diffstat (limited to 'src/api/urls.py')
-rw-r--r--src/api/urls.py44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/api/urls.py b/src/api/urls.py
index cbb453c..b009aeb 100644
--- a/src/api/urls.py
+++ b/src/api/urls.py
@@ -31,62 +31,23 @@ from django.urls import path
from api.views import (
lab_profile,
lab_status,
- lab_inventory,
lab_downtime,
- specific_job,
- specific_task,
- new_jobs,
- current_jobs,
- done_jobs,
- update_host_bmc,
- lab_host,
- get_pdf,
- get_idf,
lab_users,
lab_user,
GenerateTokenView,
- analytics_job,
user_bookings,
specific_booking,
extend_booking,
make_booking,
list_labs,
all_users,
- images_for_template,
- available_templates,
- resource_ci_metadata,
- resource_ci_userdata,
- resource_ci_userdata_directory,
- all_images,
- all_opsyss,
- single_image,
- single_opsys,
- create_ci_file,
booking_details,
)
urlpatterns = [
- path('labs/<slug:lab_name>/opsys/<slug:opsys_id>', single_opsys),
- path('labs/<slug:lab_name>/image/<slug:image_id>', single_image),
- path('labs/<slug:lab_name>/opsys', all_opsyss),
- path('labs/<slug:lab_name>/image', all_images),
path('labs/<slug:lab_name>/profile', lab_profile),
path('labs/<slug:lab_name>/status', lab_status),
- path('labs/<slug:lab_name>/inventory', lab_inventory),
path('labs/<slug:lab_name>/downtime', lab_downtime),
- path('labs/<slug:lab_name>/hosts/<slug:host_id>', lab_host),
- path('labs/<slug:lab_name>/hosts/<slug:host_id>/bmc', update_host_bmc),
- path('labs/<slug:lab_name>/booking/<int:booking_id>/pdf', get_pdf, name="get-pdf"),
- path('labs/<slug:lab_name>/booking/<int:booking_id>/idf', get_idf, name="get-idf"),
- path('labs/<slug:lab_name>/jobs/<int:job_id>', specific_job),
- path('labs/<slug:lab_name>/jobs/<int:job_id>/<slug:task_id>', specific_task),
- path('labs/<slug:lab_name>/jobs/<int:job_id>/cidata/<slug:resource_id>/user-data', resource_ci_userdata_directory, name="specific-user-data"),
- path('labs/<slug:lab_name>/jobs/<int:job_id>/cidata/<slug:resource_id>/meta-data', resource_ci_metadata, name="specific-meta-data"),
- path('labs/<slug:lab_name>/jobs/<int:job_id>/cidata/<slug:resource_id>/<int:file_id>/user-data', resource_ci_userdata, name="user-data-dir"),
- path('labs/<slug:lab_name>/jobs/new', new_jobs),
- path('labs/<slug:lab_name>/jobs/current', current_jobs),
- path('labs/<slug:lab_name>/jobs/done', done_jobs),
- path('labs/<slug:lab_name>/jobs/getByType/DATA', analytics_job),
path('labs/<slug:lab_name>/users', lab_users),
path('labs/<slug:lab_name>/users/<int:user_id>', lab_user),
@@ -96,11 +57,6 @@ urlpatterns = [
path('booking/makeBooking', make_booking),
path('booking/<int:booking_id>/details', booking_details),
- path('resource_inventory/availableTemplates', available_templates),
- path('resource_inventory/<int:template_id>/images', images_for_template),
-
- path('resource_inventory/cloud/create', create_ci_file),
-
path('users', all_users),
path('labs', list_labs),