Commit Graph

95 Commits

Author SHA1 Message Date
stefano abb467749b Implemented bulk upload by passing a json structure. Added delete all channels, groups and priorities
AWS Deploy on Push / build (push) Successful in 2m17s
2025-06-12 18:49:20 -05:00
stefano b8ac25e301 Introduced groups and added all related endpoints
AWS Deploy on Push / build (push) Successful in 7m39s
2025-06-10 23:02:46 -05:00
stefano 729eabf27f Updated documentation
AWS Deploy on Push / build (push) Successful in 1m8s
2025-05-29 18:46:40 -05:00
stefano 34c446bcfa Make sure DB credentials are available when running userdata (fix-2)
AWS Deploy on Push / build (push) Successful in 10m26s
2025-05-29 17:52:53 -05:00
stefano d4cc74ea8c Make sure DB credentials are available when running userdata (fix-1)
AWS Deploy on Push / build (push) Failing after 39s
2025-05-29 17:48:23 -05:00
stefano 21b73b6843 Make sure DB credentials are available when running userdata
AWS Deploy on Push / build (push) Failing after 41s
2025-05-29 17:43:08 -05:00
stefano e743daf9f7 Moved creation of the instance after database creation
AWS Deploy on Push / build (push) Successful in 6m51s
2025-05-29 17:16:08 -05:00
stefano b0d98551b8 Fixed install of postgres client on Amazon Linux 2023
AWS Deploy on Push / build (push) Successful in 7m55s
2025-05-29 16:37:42 -05:00
stefano eaab1ef998 Changed project name to be IPTV Manager Service
AWS Deploy on Push / build (push) Successful in 8m29s
2025-05-29 16:09:52 -05:00
stefano e25f8c1ecd Run unit test upon committing new code
AWS Deploy on Push / build (push) Successful in 1m3s
2025-05-28 23:41:12 -05:00
stefano 95bf0f9701 Created unit tests for check_streams
AWS Deploy on Push / build (push) Successful in 1m5s
2025-05-28 23:31:04 -05:00
stefano f7a1c20066 Created unit tests for playlist.py
AWS Deploy on Push / build (push) Successful in 1m8s
2025-05-28 22:58:29 -05:00
stefano bf6f156fec Created unit tests for priorities.py router
AWS Deploy on Push / build (push) Successful in 1m6s
2025-05-28 22:31:31 -05:00
stefano 7e25ec6755 Test refactoring
AWS Deploy on Push / build (push) Successful in 1m9s
2025-05-28 22:22:20 -05:00
stefano 6d506122d9 Add pre-commit commands to install script
AWS Deploy on Push / build (push) Successful in 1m7s
2025-05-28 22:05:13 -05:00
stefano 02913c7385 Linted and formatted all files 2025-05-28 21:52:39 -05:00
stefano e46f13930d Added ruff linter and formatter
AWS Deploy on Push / build (push) Successful in 1m5s
2025-05-28 20:50:10 -05:00
stefano 903f190ee2 Added more unit tests for routers
AWS Deploy on Push / build (push) Successful in 1m10s
2025-05-27 23:41:00 -05:00
stefano 32af6bbdb5 Added unit tests for all auth classes
AWS Deploy on Push / build (push) Successful in 1m8s
2025-05-27 18:44:05 -05:00
stefano 7ee7a0e644 Added unit tests for cognito.py
AWS Deploy on Push / build (push) Successful in 1m10s
2025-05-27 18:31:18 -05:00
stefano 9474a3ca44 Added unit tests for main.py
AWS Deploy on Push / build (push) Successful in 1m7s
2025-05-27 18:13:32 -05:00
stefano 1ab8599dde Complete coverage for database.py
AWS Deploy on Push / build (push) Successful in 1m5s
2025-05-27 18:04:56 -05:00
stefano fb5215b92a Cleanup test database unit tests
AWS Deploy on Push / build (push) Successful in 1m8s
2025-05-27 17:57:28 -05:00
stefano cebbb9c1a8 Added pytest configuration and first 4 unit tests
AWS Deploy on Push / build (push) Successful in 1m4s
2025-05-27 17:37:05 -05:00
stefano 4b1a7e9bea Added alembic upgrade head to workflow script
AWS Deploy on Push / build (push) Successful in 1m7s
2025-05-26 21:43:44 -05:00
stefano 21cc99eff6 Added in_use and priority_id field for channels urls. Added priorities table. Setup sql alchemy migration. Generate first migration.
AWS Deploy on Push / build (push) Successful in 2m4s
2025-05-26 21:24:41 -05:00
stefano 76dc8908de Moved install script to scripts folder
AWS Deploy on Push / build (push) Successful in 1m8s
2025-05-23 14:50:33 -05:00
stefano 07dab76e3b Install Python packages with --ignore-installed to prevent conflicts with RPM packages
AWS Deploy on Push / build (push) Successful in 7m53s
2025-05-23 14:11:51 -05:00
stefano c21b34f5fe Fixed packages installation to conform with Amazon Linux 2023
AWS Deploy on Push / build (push) Successful in 1m8s
2025-05-23 13:26:31 -05:00
stefano b1942354d9 Switch to AMAZON Linux 2023
AWS Deploy on Push / build (push) Successful in 10m24s
2025-05-23 12:57:21 -05:00
stefano 3937269bb9 Use EC2 instance public address (free tier compatible)
AWS Deploy on Push / build (push) Has been cancelled
2025-05-23 12:25:23 -05:00
stefano 8c7ed421c9 Using Optional[str] instead of str | None for optional fields
AWS Deploy on Push / build (push) Successful in 1m7s
2025-05-23 11:49:13 -05:00
stefano c96ee307db Moved channel URLs to channels_urls table. Create CRUD endpoints for new table.
AWS Deploy on Push / build (push) Successful in 1m8s
2025-05-23 11:36:04 -05:00
stefano f11d533fac Allow PostgreSQL port for tunneling restricted to developer IP
AWS Deploy on Push / build (push) Successful in 1m35s
2025-05-23 09:30:55 -05:00
stefano 99d26a8f53 Remove ingress rule to allow remote access to database since database is now on a private subnet
AWS Deploy on Push / build (push) Successful in 1m32s
2025-05-23 01:14:44 -05:00
stefano 260fcb311b Place ec2 explicitly in public subnet
AWS Deploy on Push / build (push) Successful in 7m20s
2025-05-22 23:18:05 -05:00
stefano 1e82418cad Place rds database in private subnet
AWS Deploy on Push / build (push) Failing after 7m50s
2025-05-22 22:37:03 -05:00
stefano 9c690fe6a6 Fixed name on new ingress rule
AWS Deploy on Push / build (push) Successful in 1m33s
2025-05-22 11:38:14 -05:00
stefano 9e8df169fc Refactored DB schema. Channels table to have uuid as primary key. Modified endpoints accordingly
AWS Deploy on Push / build (push) Failing after 1m9s
2025-05-22 11:34:04 -05:00
stefano 5ee6cb4be4 Moved endpoints to routers
AWS Deploy on Push / build (push) Successful in 1m12s
2025-05-22 09:34:20 -05:00
stefano c1e3a6ef26 Updated README
AWS Deploy on Push / build (push) Successful in 7m22s
2025-05-21 16:57:27 -05:00
stefano cb793ef5e1 Add SendCommand permissions
AWS Deploy on Push / build (push) Successful in 1m40s
2025-05-21 16:29:34 -05:00
stefano be719a6e34 Fixed process of updating app on running instances
AWS Deploy on Push / build (push) Successful in 1m29s
2025-05-21 16:16:02 -05:00
stefano 5767124031 Fixed database credential retrieval
AWS Deploy on Push / build (push) Successful in 2m41s
2025-05-21 15:05:12 -05:00
stefano c6f7e9cb2b Changed db instance class to t3
AWS Deploy on Push / build (push) Successful in 9m5s
2025-05-21 14:32:22 -05:00
stefano eeb0f1c844 Need at least 2 AZs for RDS subnet group
AWS Deploy on Push / build (push) Failing after 1m52s
2025-05-21 14:24:50 -05:00
stefano 4cb3811d17 RDS to use public subnet
AWS Deploy on Push / build (push) Failing after 1m40s
2025-05-21 14:16:48 -05:00
stefano 489281f3eb Added PostgreSQL RDS database. Added channels protected endpoints. Added scripts and docker config to run application locally in dev mode.
AWS Deploy on Push / build (push) Failing after 41s
2025-05-21 14:02:01 -05:00
stefano b947ac67f0 Fixed typo
AWS Deploy on Push / build (push) Successful in 4m15s
2025-05-20 17:02:59 -05:00
stefano dd2446a01a Updated README
AWS Deploy on Push / build (push) Successful in 4m16s
2025-05-20 16:41:19 -05:00