[PR #527] [MERGED] Rest framework (#24) #602

Closed
opened 2026-02-27 15:59:19 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/retspen/webvirtcloud/pull/527
Author: @catborise
Created: 8/22/2022
Status: Merged
Merged: 8/22/2022
Merged by: @catborise

Base: masterHead: master


📝 Commits (2)

📊 Changes

33 files changed (+1014 additions, -88 deletions)

View changed files

📝 README.md (+11 -0)
computes/api/serializers.py (+27 -0)
computes/api/viewsets.py (+58 -0)
📝 computes/urls.py (+0 -3)
📝 conf/requirements.txt (+11 -6)
📝 console/novncd (+1 -1)
📝 dev/requirements.txt (+5 -5)
instances/api/serializers.py (+100 -0)
instances/api/viewsets.py (+224 -0)
📝 instances/forms.py (+29 -25)
instances/migrations/0010_auto_20220722_0812.py (+22 -0)
📝 instances/models.py (+49 -2)
📝 instances/templates/allinstances_index_grouped.html (+8 -8)
📝 instances/templates/create_instance_w1.html (+1 -1)
📝 instances/templates/create_instance_w2.html (+1 -1)
📝 instances/templates/instance.html (+3 -3)
📝 instances/views.py (+8 -7)
interfaces/api/serializers.py (+11 -0)
interfaces/api/viewsets.py (+32 -0)
📝 interfaces/models.py (+10 -0)

...and 13 more files

📄 Description

  • Add rest framework for API: First Commit

  • modify some shell scripts to make variable references safer; modify some python scripts to reduce the code complexity and cyclomatic complexity of functions.

  • Add REST API for some webvirtcloud functions. Instance list/delete/create, compute list/delete/create, storages-network list/retrieve. Add swagger and redoc for API interface

  • update requirements

Co-authored-by: herengui herengui@uniontech.com


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/retspen/webvirtcloud/pull/527 **Author:** [@catborise](https://github.com/catborise) **Created:** 8/22/2022 **Status:** ✅ Merged **Merged:** 8/22/2022 **Merged by:** [@catborise](https://github.com/catborise) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`cfce71e`](https://github.com/retspen/webvirtcloud/commit/cfce71ec2b41b1992238c4077f9ddc53b432627f) Rest framework (#24) - [`1c84f24`](https://github.com/retspen/webvirtcloud/commit/1c84f241adc1f9b443bb1286e16b073c90aedeee) Merge branch 'master' into master ### 📊 Changes **33 files changed** (+1014 additions, -88 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+11 -0) ➕ `computes/api/serializers.py` (+27 -0) ➕ `computes/api/viewsets.py` (+58 -0) 📝 `computes/urls.py` (+0 -3) 📝 `conf/requirements.txt` (+11 -6) 📝 `console/novncd` (+1 -1) 📝 `dev/requirements.txt` (+5 -5) ➕ `instances/api/serializers.py` (+100 -0) ➕ `instances/api/viewsets.py` (+224 -0) 📝 `instances/forms.py` (+29 -25) ➕ `instances/migrations/0010_auto_20220722_0812.py` (+22 -0) 📝 `instances/models.py` (+49 -2) 📝 `instances/templates/allinstances_index_grouped.html` (+8 -8) 📝 `instances/templates/create_instance_w1.html` (+1 -1) 📝 `instances/templates/create_instance_w2.html` (+1 -1) 📝 `instances/templates/instance.html` (+3 -3) 📝 `instances/views.py` (+8 -7) ➕ `interfaces/api/serializers.py` (+11 -0) ➕ `interfaces/api/viewsets.py` (+32 -0) 📝 `interfaces/models.py` (+10 -0) _...and 13 more files_ </details> ### 📄 Description * Add rest framework for API: First Commit * modify some shell scripts to make variable references safer; modify some python scripts to reduce the code complexity and cyclomatic complexity of functions. * Add REST API for some webvirtcloud functions. Instance list/delete/create, compute list/delete/create, storages-network list/retrieve. Add swagger and redoc for API interface * update requirements Co-authored-by: herengui <herengui@uniontech.com> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 15:59:19 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#602
No description provided.