summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Printing bugfixErnst Widerberg2022-01-141-2/+2
|
* Add read/write permissions to JWTs based on YAMLErnst Widerberg2022-01-137-76/+164
| | | | | | | - Uses Linus's YAML code, except with password stuff removed since auth-server-poc uses htpasswd. - The collector checks JWT on API endpoints get, get/{key}, and delete/{key}, but not on add.
* Add convenience script do-asErnst Widerberg2022-01-132-0/+19
|
* Only retry the database connection if we get an ConnectionError exception.Kristofer Hallin2021-12-171-3/+4
|
* Remove the existing venv. We should create our own.Kristofer Hallin2021-12-171-0/+5
|
* Pass -c to quickstart_test.sh and we will start CouchDB for you as well.Kristofer Hallin2021-11-262-3/+28
|
* fix typoLinus Nordberg2021-11-261-1/+1
|
* More unittests.Kristofer Hallin2021-11-261-0/+20
|
* Set up virtualenv and install requirements if -v is passed to quickstart_test.shKristofer Hallin2021-11-261-7/+25
|
* Require JWT token for the /delete endpoint.Kristofer Hallin2021-11-261-1/+4
|
* * Now possible to remove documents, new /delete endpoint.Kristofer Hallin2021-11-263-0/+113
| | | | * More unittests.
* Updated requirements.Kristofer Hallin2021-11-261-1/+9
|
* Use the database unittest for unittests.Kristofer Hallin2021-11-261-1/+1
|
* More unittests.fastapi_pytestKristofer Hallin2021-11-261-2/+65
|
* Merge branch 'main' of git.sunet.se:soc_collector into fastapi_pytestKristofer Hallin2021-11-263-10/+18
|\
| * user www-data needs to read the private keyLinus Nordberg2021-11-251-0/+1
| |
| * document dependenciesLinus Nordberg2021-11-251-1/+1
| |
| * Add local development instructions to READMEErnst Widerberg2021-11-251-0/+11
| |
| * quickstart.sh: Use docker-compose-dev by defaultErnst Widerberg2021-11-251-8/+1
| | | | | | | | Remove "dev" argument
| * auth-server-poc: Optimize Docker buildErnst Widerberg2021-11-251-1/+4
| |
* | First embryo for unittests.Kristofer Hallin2021-11-253-0/+39
|/
* Fix get/<id> endpointErnst Widerberg2021-11-241-0/+4
|
* Add dev version of docker-compose for collectorErnst Widerberg2021-11-243-1/+69
| | | | | Copies code from host rather than pulling from GitHub. Use with `./quickstart.sh dev`.
* Add Access-Control-Expose-Headers: X-Total-Count to CORSErnst Widerberg2021-11-241-0/+1
|
* BugfixErnst Widerberg2021-11-241-1/+1
|
* Add mock X-Total-CountErnst Widerberg2021-11-241-0/+7
|
* Add CORS middlewareErnst Widerberg2021-11-241-0/+9
|
* Update README for current data formatErnst Widerberg2021-11-242-22/+50
|
* Update README for JWTErnst Widerberg2021-11-241-15/+19
|
* Generate a default htpasswd file on hostErnst Widerberg2021-11-242-4/+13
|
* Add auth-server-poc to quickstart scriptErnst Widerberg2021-11-241-1/+2
|
* Use DOCKER_JWT_PUBKEY_PATH in auth-server-poc as wellErnst Widerberg2021-11-241-2/+1
|
* Bugfix?Ernst Widerberg2021-11-231-1/+1
|
* Script for the lazy ones, like me.Kristofer Hallin2021-11-181-0/+21
|
* Bump docker-compose version.Kristofer Hallin2021-11-171-1/+1
|
* Use the official Nginx image.Kristofer Hallin2021-11-173-20/+2
|
* Nginx is now running in its own container.Kristofer Hallin2021-11-178-30/+33
|
* * Rename wsgi.py to main.py, we're not using WSGI.Kristofer Hallin2021-11-173-1/+2
| | | | * Added env variable.
* Use Uvicorn since we now run FastAPI which uses ASGI.Kristofer Hallin2021-11-174-17/+6
|
* /opt/cert -> /opt/certsKristofer Hallin2021-11-161-1/+1
|
* Only crate /opt/certs/ if the directory is missing.Kristofer Hallin2021-11-161-2/+0
|
* Use DOCKER_JWT_PUBKEY_PATH for public key and some minor fixes.Kristofer Hallin2021-11-163-6/+6
|
* * Don't switch to main brach, we're already there.Kristofer Hallin2021-11-123-5/+7
| | | | | * Look for public key in /opt/cert. * Add variable to compose.
* If the database is unavailable when we try to connect, make a few more ↵Kristofer Hallin2021-11-121-2/+14
| | | | attempts before giving up.
* Add auth-server-pocErnst Widerberg2021-11-1013-0/+606
|
* Merge branch 'main' of git.sunet.se:soc_collectorKristofer Hallin2021-11-101-24/+19
|\
| * Update feeder for new data format and add asn_country_codeErnst Widerberg2021-11-041-24/+19
| |
* | Typo, statuc -> status.fastapiKristofer Hallin2021-10-291-2/+2
| |
* | Read domain/org from token.Kristofer Hallin2021-10-291-18/+42
| |
* | Simple tool which will produce JWT tokens for testing.Kristofer Hallin2021-10-291-0/+45
| |