Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Calculation function template #41

Closed
bariela opened this issue Jul 6, 2021 · 0 comments · Fixed by #75
Closed

Calculation function template #41

bariela opened this issue Jul 6, 2021 · 0 comments · Fixed by #75
Assignees

Comments

@bariela
Copy link
Collaborator

bariela commented Jul 6, 2021

Functional requirements
Provide template for functions for calculating new derived data from existing values in database

Technical requirements
Azure function in typescript running in docker-container locally, triggered on message in message queue (which can be produces e.g. in loader function on storing updated base data in database).
It will have working connection to database, fetching and storing functionality with data validation before storing to database. Clear comments where custom calculation parts have to be added.
Simple but exhaustive documentation should be provided with the template in doc folder under tutorials.

Definition of done
The template is provided with simple tutorial, so after following the tutorial, user will be able to fill calculation part.
After following the tutorial and running all the services, the function should smoothly trigger on new message in defined storage queue, fetch data from database, calculate new derived data and store them in database collection 'attributes'.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant