From 6ffb1fdf6ce7825770148bada5a4c54899e4ed36 Mon Sep 17 00:00:00 2001 From: Adam Hassick Date: Tue, 29 Jun 2021 16:49:27 -0400 Subject: Cobbler model changes, new endpoints Signed-off-by: Adam Hassick Change-Id: If0a94730e92747127cef121ec4930a4c8bae6c92 Signed-off-by: Sawyer Bergeron Signed-off-by: Adam Hassick --- src/api/urls.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/api/urls.py') diff --git a/src/api/urls.py b/src/api/urls.py index 7adeef6..e5ddd97 100644 --- a/src/api/urls.py +++ b/src/api/urls.py @@ -47,9 +47,17 @@ from api.views import ( GenerateTokenView, analytics_job, resource_cidata, + all_images, + all_opsyss, + single_image, + single_opsys ) urlpatterns = [ + path('labs//opsys/', single_opsys), + path('labs//image/', single_image), + path('labs//opsys', all_opsyss), + path('labs//image', all_images), path('labs//profile', lab_profile), path('labs//status', lab_status), path('labs//inventory', lab_inventory), @@ -60,7 +68,7 @@ urlpatterns = [ path('labs//booking//idf', get_idf, name="get-idf"), path('labs//jobs/', specific_job), path('labs//jobs//', specific_task), - path('labs//jobs//cidata//jobs//cidata/', resource_cidata), path('labs//jobs/new', new_jobs), path('labs//jobs/current', current_jobs), path('labs//jobs/done', done_jobs), -- cgit 1.2.3-korg