Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Durable Functions Support for PowerShell #77

Open
asavaritayal opened this issue Oct 22, 2018 · 16 comments

Comments

@asavaritayal
Copy link

commented Oct 22, 2018

New Feature - Looking for votes and/or user input to gauge traction.

Tweet-sized description and examples by @tylerl0706

AB#4652662

@ctmcisco

This comment has been minimized.

Copy link

commented Oct 22, 2018

Does really need a vote 😜. Definitely would love this to happen.

@obilogic

This comment has been minimized.

Copy link

commented Oct 22, 2018

Yes ...yes please!

@guidooliveira

This comment has been minimized.

Copy link

commented Oct 22, 2018

yes absolutely!

@JustinGrote

This comment has been minimized.

Copy link

commented Oct 22, 2018

Added my +1. Powershell functions lend themselves to long running process, and since we don't have workflows in PS Core, durable functions is a natural replacement.

@johndonnelly

This comment has been minimized.

Copy link

commented Oct 23, 2018

Absolutely a great idea. I do everything ps

@johnmccrae

This comment has been minimized.

Copy link

commented Oct 23, 2018

OOh, yes please. Love that idea. Plus 1 to JustinGrote's comments.

@stefanstranger

This comment has been minimized.

Copy link

commented Oct 23, 2018

Yes please, we need this at a customer of mine. 👍

@omiossec

This comment has been minimized.

Copy link

commented Oct 23, 2018

Yes !!!

@johnnliu

This comment has been minimized.

Copy link

commented Oct 23, 2018

I think people are going to hate me, I want to discuss this in terms of priority.

First, we need to get PowerShell support onto AzureFunctions 2.0 and GA.

Then, there are several much nicer to haves:

  • Import from PS Gallery
  • Object, streaming arguments (not serialized strings)
  • Managed Service Identity support
  • Azure KeyVault support, like Azure Automation - would this be a binding that's custom and generic across all 2.0 function languages?
  • I even think if we have well defined PowerShell functions with arguments, the Swagger generation should be automatic.
  • I also want better PowerShell logging support

And of course Durable Functions, I want this too, but I suspect Durable Functions syntax in PowerShell might be a bit messy. I don't know how async/await will look like, and traditionally PowerShell async is done with Jobs or Runspaces, so I'm curious what a prototype would look like.

So let me be the first in the thread to say we need PS+DF but may be lower in priority. I don't know if we need this day 1 of PS on 2.0

@Agazoth

This comment has been minimized.

Copy link

commented Oct 23, 2018

Yes, please!

@SteveL-MSFT

This comment has been minimized.

Copy link

commented Oct 24, 2018

I would be interested in getting feedback from people who have tried durable functions supported in AzF today (C#, for example) and are familiar with the development experience. Essentially, your orchestrator script maintains state while the activity functions are stateless. However, there are other ways to maintain state across multiple functions to replace the need for a single monolithic script.

@vmsilvamolina

This comment has been minimized.

Copy link

commented Oct 25, 2018

Yes!! We need PowerShell support!

@JustinGrote

This comment has been minimized.

Copy link

commented Oct 25, 2018

For implementation, what seems most logical to me is to expose the orchestrator object in a variable, just like $req, initially. Later powershell functions as wrappers around the methods could make it more user friendly.

@rwaal

This comment has been minimized.

Copy link

commented Nov 9, 2018

I agree with @johnnliu. In my opinion, Powershell support for Azure Function V2 would come first and then other things like Durable Functions.

Please make PS support for Azure Functions V2... please...

@joeyaiello joeyaiello added this to the Unknown milestone Nov 28, 2018

@joeyaiello joeyaiello modified the milestones: Unknown, Backlog Nov 28, 2018

@bytemech

This comment has been minimized.

Copy link

commented Feb 27, 2019

Can we even just have the ability to have Activity functions in PowerShell?

I can see why the orchestrator function might have to stay out of PS due to the stuff it does with "await". However, I think that the biggest utility for PS would be in the Activity function especially when dealing with Azure automation.

@BrianTJackett

This comment has been minimized.

Copy link

commented May 2, 2019

Can we even just have the ability to have Activity functions in PowerShell?

I can see why the orchestrator function might have to stay out of PS due to the stuff it does with "await". However, I think that the biggest utility for PS would be in the Activity function especially when dealing with Azure automation.

@bytemech I had the same idea for mixing a C# client + orchestrator but calling into a PowerShell ActivityTrigger. Have you tried this yet with the preview release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.