Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Latest commit

 

History

History
executable file
·
36 lines (23 loc) · 1.23 KB

File metadata and controls

executable file
·
36 lines (23 loc) · 1.23 KB

IO Functions CGN Operator Search

Azure Functions dedicated to CGN's Operator Search project (Carta Giovani Nazionale). These functions implements business logic for:

  • Operator Search
  • Discount Search

Local development

cp env.example .env

Replace in .env file the envs with the proper values.

yarn install
yarn build
docker-compose up -d --build
docker-compose logs -f functions
open http://localhost/some/path/test

Deploy

Deploy appens with this pipeline (workflow) configured on Azure DevOps - io-functions-cgn.

TODO rimanenti da IO Functions template

  • modificare l' endpoint di healthcheck all' interno del file deploy-pipelines.yml in base al basePath configurato.

  • fare una PR sul progetto gitops per deployare le pipelines. (un esempio qui )

  • fare una PR sul progetto io-infrastructure-live-new per fare il stetup degli ambienti di prod e staging della nuova function. (un esempio qui )