added missing find my epc module

This commit is contained in:
Khalim Conn-Kowlessar 2025-04-14 12:13:20 +01:00
parent 65e2cda83b
commit ad00165510
2 changed files with 3 additions and 0 deletions

View file

@ -422,6 +422,8 @@ router = APIRouter(
@router.post("/trigger") @router.post("/trigger")
async def trigger_plan(body: PlanTriggerRequest): async def trigger_plan(body: PlanTriggerRequest):
logger.info("API triggered with body: %s", body)
logger.info("Connecting to db") logger.info("Connecting to db")
session = sessionmaker(bind=db_engine)() session = sessionmaker(bind=db_engine)()
created_at = datetime.now().isoformat() created_at = datetime.now().isoformat()

View file

@ -41,6 +41,7 @@ COPY ./etl/epc_clean/ ./etl/epc_clean/
COPY ./etl/bill_savings/ ./etl/bill_savings/ COPY ./etl/bill_savings/ ./etl/bill_savings/
COPY ./etl/spatial/ ./etl/spatial/ COPY ./etl/spatial/ ./etl/spatial/
COPY ./datatypes/ ./datatypes/ COPY ./datatypes/ ./datatypes/
COPY .etl/find_my_epc/ ./etl/find_my_epc/
# Set the ENTRYPOINT to the AWS Lambda RIC and CMD to your function handler # Set the ENTRYPOINT to the AWS Lambda RIC and CMD to your function handler
ENTRYPOINT [ "/usr/local/bin/python", "-m", "awslambdaric" ] ENTRYPOINT [ "/usr/local/bin/python", "-m", "awslambdaric" ]