From 31ec85a37937db57fbf495e140d2b51a4dbd48d5 Mon Sep 17 00:00:00 2001 From: frsaba Date: Fri, 2 Aug 2024 14:22:01 +0200 Subject: [PATCH] Seperate Enhancer as a FastAPI application (#5) * Initial commit * Added pyproject.toml * Added gtfs_export and gtfs_generator * Added enhancer.py and enhancer configuration * Added requirements.txt * Moved code to plugins/enhancer folder * Added schedule dependency * gtfs_export and gtfs_generator * Moved gtfs_export and gtfs_generator to enhancer/services * #28 move CarpoolService and Tripstore from core to enhancer * Update pyproject.toml * Changed 'amarillo.app' to 'amarillo' * moved services/gtfs.py to enhancer * moved gtfs_constants.py to enhancer * moved services/stops.py to enhancer * moved tests to enhancer * fix import paths * added routing.py * added services/gtfsrt * added models/gtfs.py * added MANIFEST.in * updated pyproject.toml * make stops sources configurable * make stops sources configurable * make graphhopper url configurable * make graphhopper url configurable * run in daemon mode * moved gtfs generation to export plugin * add car profile to gh request * add car profile to gh request * revert configure_container * revert configure_container * make sure configuration only happens once * moved test_gtfs to export plugin * optional GRFS attributes * Moved GTFS-RT definitions to exporter * Removed config and logging.conf * Added Jenkinsfile * Added amarillo to requirements.txt * Run as FastAPI application * Run as FastAPI application * Fixed configuration and relative imports * Added Dockerfile * Updated Jenkinsfile to build docker container * Build docker image on dev branch * Use builtin agent * Run as amarillo user * Use stops library * Expanded readme --------- Co-authored-by: Csaba Co-authored-by: frankgerhardt