Skip to content

Conversation

@jens-kuerten
Copy link
Collaborator

@jens-kuerten jens-kuerten commented Mar 13, 2025

Added a development server that allows you to run your Functions in your development environment. The server reads Functions from the environment.yaml file in your working directory and makes the Functions available via HTTP endpoints. You can then connect those Functions to your CIM Database Cloud instance using Webhooks.

This speeds up the development of Functions, because you can instantly test your changes, without deploying them to the cloud infrastructure first.

The development server can be started with python -m csfunctions.devserver (see docs)

Jens Kürten added 6 commits March 6, 2025 14:51
…ort for function directory and refactoring request handling. The application now accepts a directory parameter to locate the environment.yaml file.
…ry and secret token, removing parameters from request handling and server functions. Update command-line argument parsing to set environment variables if provided.
@jens-kuerten jens-kuerten self-assigned this Mar 13, 2025
@jens-kuerten jens-kuerten changed the title Add dev server for executing Functions locally Feat: Dev server for executing Functions locally Mar 19, 2025
@jens-kuerten jens-kuerten requested a review from albertsj March 19, 2025 11:45
@jens-kuerten jens-kuerten changed the title Feat: Dev server for executing Functions locally Feat: Dev server for running Functions in dev environment Mar 19, 2025
…ment.yaml` file location in the development server section.
Co-authored-by: Julian Alberts <julian.alberts@contact-software.com>
@jens-kuerten jens-kuerten merged commit e98712d into main Mar 19, 2025
4 checks passed
@jens-kuerten jens-kuerten deleted the add-dev-server branch March 19, 2025 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants