|
7 | 7 | SimulationDeleteView, |
8 | 8 | SimulationDetailView, |
9 | 9 | SimulationErrorView, |
| 10 | + SimulationHealthView, |
10 | 11 | SimulationListView, |
11 | 12 | SimulationPauseView, |
| 13 | + SimulationQueueStatusView, |
12 | 14 | SimulationResultView, |
13 | 15 | SimulationResumeView, |
14 | 16 | SimulationStartView, |
15 | 17 | ) |
16 | 18 |
|
17 | 19 |
|
18 | 20 | urlpatterns = [ |
19 | | - path('schema/', SpectacularAPIView.as_view(), name='schema'), |
20 | | - path('docs/', SpectacularSwaggerView.as_view(url_name='schema'), name='swagger-ui'), |
21 | | - path('token/', CustomTokenObtainPairViewV1.as_view(), name='v1-token-obtain-pair'), |
22 | | - path('token/refresh/', CustomTokenRefreshViewV1.as_view(), name='v1-token-refresh'), |
| 21 | + path("schema/", SpectacularAPIView.as_view(), name="schema"), |
| 22 | + path("docs/", SpectacularSwaggerView.as_view(url_name="schema"), name="swagger-ui"), |
| 23 | + path("token/", CustomTokenObtainPairViewV1.as_view(), name="v1-token-obtain-pair"), |
| 24 | + path("token/refresh/", CustomTokenRefreshViewV1.as_view(), name="v1-token-refresh"), |
23 | 25 | path( |
24 | 26 | "simulations/start/", SimulationStartView.as_view(), name="v1-simulation-start" |
25 | 27 | ), |
| 28 | + path( |
| 29 | + "simulations/queue-status/", |
| 30 | + SimulationQueueStatusView.as_view(), |
| 31 | + name="v1-simulation-queue-status", |
| 32 | + ), |
| 33 | + path( |
| 34 | + "simulations/health/", |
| 35 | + SimulationHealthView.as_view(), |
| 36 | + name="v1-simulation-health", |
| 37 | + ), |
26 | 38 | path( |
27 | 39 | "simulations/<int:simulation_id>/cancel/", |
28 | 40 | SimulationCancelView.as_view(), |
|
43 | 55 | SimulationPauseView.as_view(), |
44 | 56 | name="v1-simulation-pause-uuid", |
45 | 57 | ), |
46 | | - path( |
| 58 | + path( |
47 | 59 | "simulations/<int:simulation_id>/resume/", |
48 | 60 | SimulationResumeView.as_view(), |
49 | 61 | name="v1-simulation-resume-id", |
|
0 commit comments