Add DELETE method on all API endpoints
This is for admin only. Note that deleting a network with existing hosts is not allowed. Same for domain, network scope... Will make testing csentry-api easier by allowing to reset the db during tests. JIRA INFRA-1853 #action In Progress
Showing
- app/api/inventory.py 73 additions, 1 deletionapp/api/inventory.py
- app/api/network.py 60 additions, 0 deletionsapp/api/network.py
- app/api/utils.py 1 addition, 1 deletionapp/api/utils.py
- tests/functional/factories.py 1 addition, 0 deletionstests/functional/factories.py
- tests/functional/test_api.py 127 additions, 11 deletionstests/functional/test_api.py
- tests/functional/test_web.py 1 addition, 1 deletiontests/functional/test_web.py
Loading
Please register or sign in to comment