Commit graph

46 commits

Author SHA1 Message Date
Roger Garcia 4703765bbe Updated version for postgresql 2020-04-08 15:58:54 +02:00
Roger Garcia a14fb6bbb6 Updated README.md 2020-04-08 13:05:22 +02:00
Roger Garcia 1a36b51266 Migrated all simplex entities to simplexdb 2020-04-08 12:58:34 +02:00
Roger Garcia c13f0a2905 Added documentation for operations 2020-04-04 21:44:24 +02:00
Roger Garcia d38912d074 Merge branch '33-script-d-operativa' into 'master'
Resolve "Script d'operativa"

Closes #33

See merge request guifi-exo/simplex-api!8
2020-04-04 18:39:46 +00:00
Roger Garcia 5c9f48f451 Add transactions and ipv4 migrator 2020-04-04 20:21:00 +02:00
Roger Garcia 074b4de271 Added operations script:
- Implemented initial subscriptions pool
- Implemented add ipv4 pool
- Implemented migrate ipv4
2020-03-25 15:24:01 +01:00
Roger Garcia 7c8647a0c4 Merge branch '31-crear-scripts-per-refer-la-consistencia-de-les-dades' into 'master'
Resolve "Crear scripts per refer la consistència de les dades"

Closes #31

See merge request guifi-exo/simplex-api!7
2020-03-23 16:19:15 +00:00
Roger Garcia 5e926e8fed Minor fixes & documentation 2020-03-23 16:26:42 +01:00
Roger Garcia 17f0043f08 Added more consistency functions:
- Added sync radius function
- Added id subs range
- Added void subs function
2020-03-23 16:17:17 +01:00
Roger Garcia 25d6d30b43 Script for ensure consistency:
- Test consistency between radius and pool
- Test consistency between circuits and pool
2020-03-20 20:28:01 +01:00
Roger Garcia dcef596b83 Merge branch '21-disconnect-user' into 'master'
Resolve "disconnect user"

Closes #21

See merge request guifi-exo/simplex-api!6
2020-03-19 18:38:46 +00:00
Roger Garcia bf068aeb1e Improved README.md 2020-03-19 19:37:25 +01:00
Roger Garcia 209b4d7f6b Implemented test for radius disconnect:
- Created dummy server
2020-03-19 19:34:01 +01:00
Roger Garcia e389a5da30 Implemented disconnect radius:
- Installed radius library
- Updated all the packages
- New config options for radius
- New service for radius
2020-03-19 11:30:52 +01:00
Roger Garcia f41338252b Merge branch '14-proposta-de-millora-de-qualitat-en-l-aplicacio' into 'master'
Resolve "proposta de millora de qualitat en l'aplicació"

Closes #14

See merge request guifi-exo/simplex-api!5
2020-03-07 23:29:04 +00:00
Roger Garcia 594e0bd7bf Tests for circuits 2020-03-08 00:27:24 +01:00
Roger Garcia Ferre 067b9d9d5d Add test for delete subscription 2020-03-05 17:22:38 +01:00
Roger Garcia Ferre 5bfd00882f New improvements on testing:
- Debugging support for mocha in vscode
- New database helpers
- New test for post subscription
2020-03-04 13:56:26 +01:00
Roger Garcia Ferre de91d5f3d0 Implemented testing system 2020-03-03 17:39:35 +01:00
Roger Garcia aacc5112fd Merge branch '24-errorcode-incorrecte-per-delete-add-requests' into 'master'
Resolve "ErrorCode incorrecte per DELETE/ADD requests"

Closes #24

See merge request guifi-exo/simplex-api!4
2020-02-29 21:33:54 +00:00
Roger Garcia Ferre 141962ca14 Improvement in error handling:
- Now it throws non 200 status for errors
- IPv4 & IPv6 error when no addresses in pool
2020-02-29 22:33:17 +01:00
Roger Garcia 630df6ce80 Merge branch '19-completar-detalls-documentacio-api' into 'master'
Resolve "completar detalls documentació API"

Closes #19

See merge request guifi-exo/simplex-api!3
2020-02-28 19:55:34 +00:00
Roger Garcia 06e565b8f0 Improve openapi documentation 2020-02-28 20:54:13 +01:00
Roger Garcia fceb506b8e Merge branch 'group-circuits' into 'master'
Group circuits

See merge request guifi-exo/simplex-api!2
2020-02-01 21:06:31 +00:00
Roger Garcia 8ac6410dac Implemented disable circuits endpoints 2020-01-29 13:53:20 +01:00
Roger Garcia 3d41b160ba Added support for hasManagement:
- New method for building usernames
- New simplex-config file
2020-01-26 01:54:51 +01:00
Roger Garcia 27b9e5953f Added getters:
- Fixed support for relations between circuits & subscriptions
- Added getter for listing all subscriptions
- Added getter for retrieve subscription information (by id) (circuits)
- Added getter for retrieve circuit (by id)
- Added getter for retrieve circuits (by ipv4 and nasId)
2020-01-18 18:01:11 +01:00
Roger Garcia 01c6f81a15 Bug fixed with transaction removeCircuit 2020-01-17 22:38:03 +01:00
Roger Garcia 9f46c2f37b Added delete subscription endpoint 2020-01-17 20:39:19 +01:00
Roger Garcia c7d91e810f Added post endpoint for subscriptions:
- addSubscription method in service subscriptions-manager
- Fixed bug with transactions in addSubscriptionCircuit
2020-01-17 20:15:43 +01:00
Roger Garcia d5a2f266ba Bugfix rollback in subscriptionCircuit 2020-01-17 17:13:05 +01:00
Roger Garcia e39ed7d40c Included dumped database (fixtures) 2020-01-17 15:56:28 +01:00
Roger Garcia 46e6eef293 Remove subscription circuit endpoint 2020-01-17 12:58:27 +01:00
Roger Garcia 349e074e1c Changed name from exo-api to simplex-api 2020-01-16 18:36:20 +01:00
Roger Garcia Ferre cd8866d248 New ip pools:
- Support for ipv6
- Support for IP pools
- Add circuit now persists to RADIUS
- Automatic IP delegation on circuit addition
2020-01-07 13:19:41 +01:00
Roger Garcia Ferre 86e9c899af New endpoint add circuit:
- Circuit model added foreign keys
- Subscription model added foreign keys
- Autogen password if not given
2020-01-07 10:48:07 +01:00
Roger Garcia bd2367d70f Minor modifications 2020-01-05 12:00:32 +01:00
Roger Garcia Ferre a3b4224d56 New service:
- New Radius controller implementation
- User logic moved to service
2019-12-10 11:40:12 +01:00
Roger Garcia Ferre 7d7fc8f9de New data models Circuit & Subscription 2019-12-10 11:39:20 +01:00
Roger Garcia Ferre dce7b20cf6 Added migrate.ts info 2019-12-10 11:38:15 +01:00
Roger Garcia Ferre 427d9cf19f New packages versions 2019-12-10 11:37:59 +01:00
Roger Garcia Ferre 799b071d08 Update package.json & docker-compose 2019-12-07 12:04:52 +01:00
Roger Garcia Ferre 86ba9225d0 README updated 2019-12-04 22:41:26 +01:00
Roger Garcia a34ba8aefe Added support for transactions:
- Support for transactions in repositories
- Rollback when importing with errors
- Subscription Ids assignments
2019-09-22 20:24:16 +02:00
Roger Garcia 20a3893375 Initial commit 2019-08-24 17:43:06 +02:00