mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-04-25 07:25:53 +03:00
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/webvirtcloud#602
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:master📝 Commits (2)
cfce71eRest framework (#24)1c84f24Merge branch 'master' into master📊 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.