grossmj
6b8ce8219c
Fix tests.
3 years ago
grossmj
9c850e0f2b
Move schemas between compute and controller subpackages
3 years ago
grossmj
c59fc375f2
Remove traceng code.
3 years ago
grossmj
71725aade6
Rename ssl and auth configuration file settings.
...
Add enable SSL config validator.
Strict configuration file validation: any error will prevent the server to start.
Core server logic moved to a Server class.
3 years ago
grossmj
1b5a5de4bc
Generate new config for each test. Fixes tests.
3 years ago
grossmj
30ebae207f
Use Pydantic to validate the server config file.
3 years ago
grossmj
478119b40d
Comment out problematic test
3 years ago
grossmj
802959f9ab
Merge branch 'master' into 3.0
...
# Conflicts:
# dev-requirements.txt
# gns3server/controller/__init__.py
# gns3server/controller/appliance_manager.py
# gns3server/controller/compute.py
# gns3server/controller/topology.py
# gns3server/handlers/api/compute/ethernet_switch_handler.py
# gns3server/handlers/api/controller/link_handler.py
# gns3server/handlers/api/controller/symbol_handler.py
# gns3server/version.py
# requirements.txt
# tests/controller/test_export_project.py
# tests/handlers/api/compute/test_qemu.py
# tests/web/test_response.py
# win-requirements.txt
3 years ago
grossmj
87a26d5da0
Fix tests and comment problematic ones that rely on AsyncioMagicMock
3 years ago
grossmj
170e83e589
Fix tests and update requirements
4 years ago
grossmj
5217dbf3a3
Fix tests
4 years ago
grossmj
566e326b57
Save computes to database
4 years ago
grossmj
91920e5a5b
Fix issue with tests + some cleaning.
4 years ago
grossmj
0fea3f969e
Use aiosqlite and add service for templates
4 years ago
grossmj
d730c591b3
Refactor template management to use database.
4 years ago
grossmj
7542b28793
Revert "Fix tests"
...
This reverts commit 4d0cb32b
4 years ago
grossmj
4d0cb32bd0
Fix tests
4 years ago
grossmj
58c1b01439
Add default JWT secret key and fix tests.
4 years ago
grossmj
bde706d19a
Generate JWT secret key if none is configured in the config file.
...
Change location of the database.
4 years ago
grossmj
509e762cda
Fix slow tests.
4 years ago
grossmj
d47dcb0d6f
User authentication with tests.
4 years ago
grossmj
bf7cf862af
Refactor tests and start work on database integration.
4 years ago
grossmj
c043830e3f
Move endpoints to routes & preparations to use a database.
4 years ago
grossmj
d58407c735
Fix tests.
4 years ago
grossmj
7837081eba
Fix running tests with Python 3.9
4 years ago
grossmj
acc5c7ebfa
Update package versions.
...
Do not use Path in schemas (causes issues with empty paths).
Change how notifications are handled.
Run tests with Python 3.9
4 years ago
grossmj
7314b41d8f
Fix tests.
4 years ago
grossmj
30d6f1fa2a
Make Swagger Ui the default for API documentation
4 years ago
grossmj
359f9a7384
Move to version 3 of the REST API.
...
Rename packet capture endpoints.
4 years ago
grossmj
81439c750a
Use pydantic for data validation (instead of jsonschema)
...
Fix/improve various pydantic shema models.
4 years ago
grossmj
13da8aa8f5
Do not automatically connect to local compute.
4 years ago
grossmj
a92c47b310
Add HTTP client to reuse the aiohttp session where needed.
...
Remove unnecessary aiohttp exceptions.
4 years ago
grossmj
554404e6e7
Try to run tests for Windows and macOS.
4 years ago
grossmj
0500b28aea
Fix changing to ProactorEventLoop in tests.
4 years ago
grossmj
bd4bf53084
Use ProactorEventLoop with pytest-asyncio
4 years ago
grossmj
25494ca098
Fix project import to work with FastAPI.
4 years ago
grossmj
596ee9b66d
Test compute notifications and run tests on macOS and Windows.
4 years ago
grossmj
6af8c8933e
Fix tests.
4 years ago
grossmj
58c5965905
Fix tests.
4 years ago
grossmj
eb3cb8a41f
Migration to FastAPI
4 years ago
Jeremy Grossmann
fa26555d00
Merge pull request #1801 from GNS3/qemu-config-disk
...
QEMU config disk - enable QEMU config import/export
4 years ago
grossmj
f2ddef855f
Fix tests.
...
(cherry picked from commit 620d93634e
)
4 years ago
grossmj
620d93634e
Fix tests.
4 years ago
grossmj
9d3f7c79a2
Fix more tests
...
(cherry picked from commit 546982d1ea
)
4 years ago
grossmj
546982d1ea
Fix more tests
4 years ago
grossmj
c684c554bf
Fix tests
...
(cherry picked from commit 2ba6eac113
)
4 years ago
grossmj
2ba6eac113
Fix tests
4 years ago
grossmj
9890126453
Merge branch '2.2' into 2.3
...
# Conflicts:
# gns3server/notification_queue.py
# gns3server/version.py
4 years ago
grossmj
855a95de49
Fix tests. Fixes #1796
4 years ago
grossmj
3c1a1eb4ef
Fix tests.
4 years ago