Giter VIP home page Giter VIP logo

azure's Introduction

azure

Azure Functions and Durable Functions for deploying Superval on Microsoft Azure

Dependency: APL files in sibling folder; i.e. ../apl/.

Usage

All scripts display their usage when called with no parameter.

new-project.sh

Create a Function App project locally in a new folder, with default script HttpExample.js from template HttpTrigger.

make-apl-functionapp.sh

Replace function script HttpExample.js with JS from javascript/. Ensure APL files copied from ../apl/.

make-azure-functionapp.sh

Create a Function App on Azure with its own resource group and storage account.

delete-azure-functionapp.sh

Delete Function App from Azure and associated resource group and storage account.

get-fa-url.sh

Display URL for Function App on Azure.

publish-functionapp

Publish local Function to Azure.

Watch out: this process should be idempotent. It should allow you to edit the function script and republish. In practice, the process may start looping on compression and upload and overflow disk space on the platform.

❯ func azure functionapp publish revapl --node
Getting site publishing info...
[2024-06-27T19:18:25.483Z] Starting the function app deployment...
Creating archive for current directory...
Uploading 249.79 MB [#############################################################################]
Creating archive for current directory...
Uploading 249.79 MB [#############################################################################]
Creating archive for current directory...
Uploading 249.79 MB [#############################################################################]
Error uploading archive (InternalServerError).
Server Response: {"Message":"An error has occurred.","ExceptionMessage":"There is not enough space on the disk.\r\n","ExceptionType":"System.IO.IOException","StackTrace":"   at System.IO.__Error.WinIOError(Int32 errorCode, Str

The workaround is to use delete-azure-functionapp.sh and make-azure-functionapp.sh then rerun publish-functionapp.sh.

Current status

Works with JavaScript and APL+Win

https://revapl.azurewebsites.net/api/HttpExample?name=treboR&apl=aplw

https://revapl.azurewebsites.net/api/HttpExample?name=treboR

Fails with Dyalog (undiagnosed) and APL64 (EXE tries to read and write sibling files instead of in D:\home\.)

azure's People

Contributors

sjtequiniti avatar

Watchers

Stephen Taylor 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.