GithubHelp home page GithubHelp logo

nicolanardino / azure.serverless Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 62 KB

How to build serverless and event-driven cloud-native applications with Azure in Java.

Java 100.00%
azure azure-functions azure-data-factory azure-logicapps azure-storage azure-storage-blob java serverless event-grid bollinger-bands

azure.serverless's Introduction

Welcome to Azure.Serverless

It's about putting together some of the most interesting Azure Serverless resources to build a cloud-native application that uploads Market Data to Blob storage and then, in a event-based, fashion builds Bollinger Bands as Trading Strategy inputs. It also provides an API to get the bands.

Main features:

  • Event Grid, with a custom Topic and Event, for even-based communication.
  • Azure Functions for the Serverless code.
  • Azure Data Factory for the data transformation pipeline, i.e., from row Market Data to Bollinger Bands and event notification.
  • Azure Logic App for triggering the front-to-back process and workflow managements. Specifically, it gets triggered by a custom event.
  • Azure Key Vault for storing storage and event grid topic secrets.
  • Event Grid Topic subscriptions to Function Apps.

Logic App

image

Data Factory

image

Azure Functions

image

Event Grid Topic Subscriptions

image

Workflow Trigger

The whole workflow gets triggered by raising the event "MarketDataAvailable", technically by calling a RESTful endpoint running on a Azure Function:

curl -d '{"EventType":"MarketDataAvailable", "EventData":"no data"}' -H "Content-Type: application/json" -X POST https://workflow-manager-function.azurewebsites.net/api/EventPublisher?code=xxx

IAM

I've managed the access to resources in a mixed way:

  • Through directly using resource keys, which is a no-go for productive systems.
  • Through Service Principal. That's good, but not ideal, from my point of view.
  • Through Managed Identities, both System (MSI) or User generated. ...

Development Environment

  • Ubuntu 19.04.
  • IntelliJ.
  • Java 8. (Version 8 due to compatibility with the Azure Functions Java Runtime being capped at that Java version).

Required Software

First off, request an Azure free account, then install the following:

Very useful link on how to create an Azure Functions project with IntelliJ from an archetype, package and deploy to an Azure subscription.

azure.serverless's People

Contributors

dependabot[bot] avatar nicolanardino avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.