Giter VIP home page Giter VIP logo

io-functions-resourcetester's Introduction

IO Functions template

Template per l'utilizzo di Azure Functions (e Durable Functions) all'interno del progetto IO.

Una volta clonato il repo assicurarsi di:

  • editare i metadati del repository nel file package.json

  • specificare un nome per il TaskHub in host.json in modo da evitare di condividere lo stesso per function diverse che usano lo stesso storage

  • effettuare il tuning dei parametri per le durable function

  • impostare a false il parametro FUNCTIONS_V2_COMPATIBILITY_MODE nel file local.settings.json nel caso di upgrade a [email protected]

  • 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 )

Sviluppo in locale con Docker

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

Sviluppo in locale con Docker

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

Deploy

Il deploy avviene tramite una pipeline (workflow) configurata su Azure DevOps.

Esempi di function

Sono presenti alcune function di esempio che permettono di testare la corretta esecuzione del runtime delle durable functions. Le funzioni attivate da trigger HTTP utilizzano il pacchetto io-functions-express.

io-functions-resourcetester's People

Contributors

fabriziopapi avatar pasqualedevita avatar

Watchers

 avatar

Forkers

pagopa-archive

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.