aggregator-function 0.2.0

Aggregator Function Support Library

Install-Package aggregator-function -Version 0.2.0
dotnet add package aggregator-function --version 0.2.0
<PackageReference Include="aggregator-function" Version="0.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add aggregator-function --version 0.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

aggregator-cli

This is the successor to TFS Aggregator.

The main scenario will be support for VSTS.

Underlying objects

An Aggregator Instance is an Azure Function Application in its own Resource Group,
sharing the same VSTS token.

An Aggregator Rule is an Azure Function in the above instance.

A Aggregator Rule Mapping is a VSTS Service Hook Subscription that invokes the above Function.

Authentication

See Use portal to create an Azure Active Directory application and service principal that can access resources and Create personal access tokens to authenticate access.

Open Issues

Rules as Functions

Pre-compiled Function cannot dynamically add endpoints/functions.
So we create a new .csx Function and upload a package with common code when App is created.

Authentication

Pushing PAT token in the App configuration works, but creates maintenance issues.

Security

Logon credentials are stored locally indefinitely: add a timeout.

Code quality

Is is not robust, lacks logging and is neither well factored.

Build complexity

The install.instance command assume function-bin.zip is present in the same folder.
That file is created by Publishing the aggregator-function project.

Support for HA

Slots and Availability zones.
List Outbound IP Addresses azure.AppServices.WebApps.GetByResourceGroup(instance.ResourceGroupName,instance.FunctionAppName).OutboundIPAddresses

aggregator-cli

This is the successor to TFS Aggregator.

The main scenario will be support for VSTS.

Underlying objects

An Aggregator Instance is an Azure Function Application in its own Resource Group,
sharing the same VSTS token.

An Aggregator Rule is an Azure Function in the above instance.

A Aggregator Rule Mapping is a VSTS Service Hook Subscription that invokes the above Function.

Authentication

See Use portal to create an Azure Active Directory application and service principal that can access resources and Create personal access tokens to authenticate access.

Open Issues

Rules as Functions

Pre-compiled Function cannot dynamically add endpoints/functions.
So we create a new .csx Function and upload a package with common code when App is created.

Authentication

Pushing PAT token in the App configuration works, but creates maintenance issues.

Security

Logon credentials are stored locally indefinitely: add a timeout.

Code quality

Is is not robust, lacks logging and is neither well factored.

Build complexity

The install.instance command assume function-bin.zip is present in the same folder.
That file is created by Publishing the aggregator-function project.

Support for HA

Slots and Availability zones.
List Outbound IP Addresses azure.AppServices.WebApps.GetByResourceGroup(instance.ResourceGroupName,instance.FunctionAppName).OutboundIPAddresses

Release Notes

Initial release.

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.2.0 340 7/11/2018