Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions Actors/CalculatorActor/build.ps1
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
pushd src\CalculatorActorApplication\CalculatorActor.Interfaces\
$invocation = (Get-Variable MyInvocation).Value
$rootpath = Split-Path $invocation.MyCommand.Path

pushd $rootpath\src\CalculatorActorApplication\CalculatorActor.Interfaces\
dotnet restore -s https://api.nuget.org/v3/index.json
dotnet build
popd

pushd src\CalculatorActorApplication\CalculatorActor\
pushd $rootpath\src\CalculatorActorApplication\CalculatorActor\
dotnet restore -s https://api.nuget.org/v3/index.json
dotnet build
dotnet publish -c Release --self-contained --runtime win-x64 -o ..\..\..\CalculatorActorApplication\CalculatorActorPkg\Code
dotnet publish -c Release --self-contained --runtime win-x64 -o ..\CalculatorActorPkg\Code
popd

pushd src\CalculatorActorApplication\CalculatorActorTestClient\
pushd $rootpath\src\CalculatorActorApplication\CalculatorActorTestClient\
dotnet restore -s https://api.nuget.org/v3/index.json
dotnet build
dotnet publish -c Release --self-contained --runtime win-x64 -o ..\..\..\CalculatorActorTestClient
dotnet publish -c Release --self-contained --runtime win-x64 -o ..\CalculatorActorTestClient
popd
5 changes: 4 additions & 1 deletion Actors/CalculatorActor/install.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
$AppPath = "$PSScriptRoot\CalculatorActorApplication"
$invocation = (Get-Variable MyInvocation).Value
$rootpath = Split-Path $invocation.MyCommand.Path

$AppPath = "$rootpath\CalculatorActorApplication"
$sdkInstallPath = (Get-ItemProperty 'HKLM:\Software\Microsoft\Service Fabric SDK').FabricSDKInstallPath
$sfSdkPsModulePath = $sdkInstallPath + "Tools\PSModule\ServiceFabricSDK"
Import-Module $sfSdkPsModulePath\ServiceFabricSDK.psm1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.3.0" />
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="3.1.274" />
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="5.1.321" />
<PackageReference Include="System.Collections" Version="4.3.0" />
<PackageReference Include="System.Linq" Version="4.3.0" />
<PackageReference Include="System.Runtime" Version="4.3.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@

<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.3.0" />
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="3.1.274" />
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="5.1.321" />
<PackageReference Include="System.Collections" Version="4.3.0" />
<PackageReference Include="System.Console" Version="4.3.0" />
<PackageReference Include="System.Linq" Version="4.3.0" />
<PackageReference Include="System.Threading" Version="4.3.0" />
<PackageReference Include="System.Threading.Tasks" Version="4.3.0" />
<PackageReference Include="System.Diagnostics.Tracing" Version="4.3.0" />
<PackageReference Include="Microsoft.ServiceFabric" Version="6.2.274" />
<PackageReference Include="Microsoft.ServiceFabric.Services" Version="3.1.274" />
<PackageReference Include="Microsoft.ServiceFabric" Version="8.1.321" />
<PackageReference Include="Microsoft.ServiceFabric.Services" Version="5.1.321" />
<PackageReference Include="System.Threading.Thread" Version="4.3.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.3.0" />
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="3.1.274" />
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="5.1.321" />
<PackageReference Include="System.Collections" Version="4.3.0" />
<PackageReference Include="System.Console" Version="4.3.0" />
<PackageReference Include="System.Linq" Version="4.3.0" />
Expand Down
14 changes: 8 additions & 6 deletions Actors/CounterActor/build.ps1
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
$invocation = (Get-Variable MyInvocation).Value
$rootpath = Split-Path $invocation.MyCommand.Path

pushd src\CounterActorApplication\CounterActor.Interfaces\
pushd $rootpath\src\CounterActorApplication\CounterActor.Interfaces\
dotnet restore -s https://api.nuget.org/v3/index.json
dotnet build
popd

pushd src\CounterActorApplication\CounterActor\
pushd $rootpath\src\CounterActorApplication\CounterActor\
dotnet restore -s https://api.nuget.org/v3/index.json
dotnet build
dotnet publish -c Release --self-contained --runtime win-x64 -o ..\..\..\CounterActorApplicationCSharp\CounterActorPkg\Code
dotnet publish -c Release --self-contained --runtime win-x64 -o .\CounterActorApplicationCSharp\CounterActorPkg\Code
popd

pushd src\CounterActorApplication\CounterActorTestClient\
pushd $rootpath\src\CounterActorApplication\CounterActorTestClient\
dotnet restore -s https://api.nuget.org/v3/index.json
dotnet build
dotnet publish -c Release --self-contained --runtime win-x64 -o ..\..\..\CounterActorTestClient
dotnet publish -c Release --self-contained --runtime win-x64 -o .\CounterActorTestClient
popd

pushd src\CounterActorApplication\CounterActor.WebService\CounterActorWebService\
pushd $rootpath\src\CounterActorApplication\CounterActor.WebService\CounterActorWebService\
dotnet restore -s https://api.nuget.org/v3/index.json
dotnet build
dotnet publish -c Release --self-contained --runtime win-x64 -o ..\..\..\..\CounterActorApplicationCSharp\CounterActorWebServicePkg\Code\
Expand Down
5 changes: 4 additions & 1 deletion Actors/CounterActor/install.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
$AppPath = "$PSScriptRoot\CounterActorApplicationCSharp"
$invocation = (Get-Variable MyInvocation).Value
$rootpath = Split-Path $invocation.MyCommand.Path

$AppPath = "$rootpath\CounterActorApplicationCSharp"
$sdkInstallPath = (Get-ItemProperty 'HKLM:\Software\Microsoft\Service Fabric SDK').FabricSDKInstallPath
$sfSdkPsModulePath = $sdkInstallPath + "Tools\PSModule\ServiceFabricSDK"
Import-Module $sfSdkPsModulePath\ServiceFabricSDK.psm1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.3.0" />
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="3.1.274" />
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="5.1.321" />
<PackageReference Include="System.Collections" Version="4.3.0" />
<PackageReference Include="System.Linq" Version="4.3.0" />
<PackageReference Include="System.Runtime" Version="4.3.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@

<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.3.0" />
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="3.1.274" />
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="5.1.321" />
<PackageReference Include="Microsoft.AspNetCore.Hosting" Version="1.0.2" />
<PackageReference Include="Microsoft.AspNetCore.Owin" Version="1.0.2" />
<PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="1.0.2" />
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="1.0.3" />
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="1.0.2" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.0.2" />
<PackageReference Include="Microsoft.ServiceFabric.Services" Version="3.1.274" />
<PackageReference Include="Microsoft.ServiceFabric.Services" Version="5.1.321" />
<PackageReference Include="System.Collections" Version="4.3.0" />
<PackageReference Include="System.Console" Version="4.3.0" />
<PackageReference Include="System.Diagnostics.StackTrace" Version="4.3.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@

<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.3.0" />
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="3.1.274" />
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="5.1.321" />
<PackageReference Include="System.Collections" Version="4.3.0" />
<PackageReference Include="System.Console" Version="4.3.0" />
<PackageReference Include="System.Linq" Version="4.3.0" />
<PackageReference Include="System.Threading" Version="4.3.0" />
<PackageReference Include="System.Threading.Tasks" Version="4.3.0" />
<PackageReference Include="System.Diagnostics.Tracing" Version="4.3.0" />
<PackageReference Include="Microsoft.ServiceFabric" Version="6.2.274" />
<PackageReference Include="Microsoft.ServiceFabric.Services" Version="3.1.274" />
<PackageReference Include="Microsoft.ServiceFabric" Version="8.1.321" />
<PackageReference Include="Microsoft.ServiceFabric.Services" Version="5.1.321" />
<PackageReference Include="System.Threading.Thread" Version="4.3.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.3.0" />
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="3.1.274" />
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="5.1.321" />
<PackageReference Include="System.Collections" Version="4.3.0" />
<PackageReference Include="System.Console" Version="4.3.0" />
<PackageReference Include="System.Linq" Version="4.3.0" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<ApplicationManifest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ApplicationTypeName="VisualObjectsApplicationType" ApplicationTypeVersion="1.0.0" xmlns="http://schemas.microsoft.com/2011/01/fabric">
<ApplicationManifest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ApplicationTypeName="VisualObjectsApplicationTypeCSharp" ApplicationTypeVersion="1.0.0" xmlns="http://schemas.microsoft.com/2011/01/fabric">
<Parameters>
<Parameter Name="VisualObjects.WebService_InstanceCount" DefaultValue="-1" />
<Parameter Name="VisualObjects.ActorService_PartitionCount" DefaultValue="2" />
Expand Down
33 changes: 18 additions & 15 deletions Actors/VisualObjects/build.ps1
Original file line number Diff line number Diff line change
@@ -1,32 +1,35 @@
$invocation = (Get-Variable MyInvocation).Value
$rootpath = Split-Path $invocation.MyCommand.Path

rm -Recurse VisualObjectsApplicationCSharp
mkdir VisualObjectsApplicationCSharp

pushd src\VisualObjects.Common\
pushd $rootpath\src\VisualObjects.Common\
dotnet restore -s https://api.nuget.org/v3/index.json
dotnet build
popd

pushd src\VisualObjects.ActorService\
pushd $rootpath\src\VisualObjects.ActorService\
dotnet restore -s https://api.nuget.org/v3/index.json
dotnet build
dotnet publish -c Release --self-contained --runtime win-x64 -o ..\..\VisualObjectsApplicationCSharp\VisualObjects.ActorServicePkg\Code
popd

pushd src\VisualObjects.WebService\
pushd $rootpath\src\VisualObjects.WebService\
dotnet restore -s https://api.nuget.org/v3/index.json
dotnet build
dotnet publish -c Release --self-contained --runtime win-x64 -o ..\..\VisualObjectsApplicationCSharp\VisualObjects.WebServicePkg\Code
popd

cp ApplicationManifest.xml VisualObjectsApplicationCSharp\.
cp src\VisualObjects.ActorService\PackageRoot\ServiceManifest-Linux.xml VisualObjectsApplicationCSharp\VisualObjects.ActorServicePkg\.
cp src\VisualObjects.ActorService\PackageRoot\ServiceManifest-Windows.xml VisualObjectsApplicationCSharp\VisualObjects.ActorServicePkg\.
cp src\VisualObjects.WebService\PackageRoot\ServiceManifest-Linux.xml VisualObjectsApplicationCSharp\VisualObjects.WebServicePkg\.
cp src\VisualObjects.WebService\PackageRoot\ServiceManifest-Windows.xml VisualObjectsApplicationCSharp\VisualObjects.WebServicePkg\.
cp -r -Force src\VisualObjects.WebService\wwwroot VisualObjectsApplicationCSharp\VisualObjects.WebServicePkg\Code\.
cp src\VisualObjects.WebService\entryPoint.sh VisualObjectsApplicationCSharp\VisualObjects.WebServicePkg\Code\.
cp src\VisualObjects.ActorService\entryPoint.sh VisualObjectsApplicationCSharp\VisualObjects.ActorServicePkg\Code\.
cp src\VisualObjects.WebService\entryPoint.cmd VisualObjectsApplicationCSharp\VisualObjects.WebServicePkg\Code\.
cp src\VisualObjects.ActorService\entryPoint.cmd VisualObjectsApplicationCSharp\VisualObjects.ActorServicePkg\Code\.
cp -r src\VisualObjects.WebService\PackageRoot\Config VisualObjectsApplicationCSharp\VisualObjects.WebServicePkg\.
cp -r src\VisualObjects.ActorService\PackageRoot\Config VisualObjectsApplicationCSharp\VisualObjects.ActorServicePkg\.
cp $rootpath\ApplicationManifest.xml $rootpath\VisualObjectsApplicationCSharp\.
cp $rootpath\src\VisualObjects.ActorService\PackageRoot\ServiceManifest-Linux.xml $rootpath\VisualObjectsApplicationCSharp\VisualObjects.ActorServicePkg\.
cp $rootpath\src\VisualObjects.ActorService\PackageRoot\ServiceManifest-Windows.xml $rootpath\VisualObjectsApplicationCSharp\VisualObjects.ActorServicePkg\.
cp $rootpath\src\VisualObjects.WebService\PackageRoot\ServiceManifest-Linux.xml $rootpath\VisualObjectsApplicationCSharp\VisualObjects.WebServicePkg\.
cp $rootpath\src\VisualObjects.WebService\PackageRoot\ServiceManifest-Windows.xml $rootpath\VisualObjectsApplicationCSharp\VisualObjects.WebServicePkg\.
cp -r -Force $rootpath\src\VisualObjects.WebService\wwwroot $rootpath\VisualObjectsApplicationCSharp\VisualObjects.WebServicePkg\Code\.
cp $rootpath\src\VisualObjects.WebService\entryPoint.sh $rootpath\VisualObjectsApplicationCSharp\VisualObjects.WebServicePkg\Code\.
cp $rootpath\src\VisualObjects.ActorService\entryPoint.sh $rootpath\VisualObjectsApplicationCSharp\VisualObjects.ActorServicePkg\Code\.
cp $rootpath\src\VisualObjects.WebService\entryPoint.cmd $rootpath\VisualObjectsApplicationCSharp\VisualObjects.WebServicePkg\Code\.
cp $rootpath\src\VisualObjects.ActorService\entryPoint.cmd $rootpath\VisualObjectsApplicationCSharp\VisualObjects.ActorServicePkg\Code\.
cp -r -Force $rootpath\src\VisualObjects.WebService\PackageRoot\Config $rootpath\VisualObjectsApplicationCSharp\VisualObjects.WebServicePkg\.
cp -r -Force $rootpath\src\VisualObjects.ActorService\PackageRoot\Config $rootpath\VisualObjectsApplicationCSharp\VisualObjects.ActorServicePkg\.
5 changes: 4 additions & 1 deletion Actors/VisualObjects/install.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
$AppPath = "$PSScriptRoot\VisualObjectsApplicationCSharp"
$invocation = (Get-Variable MyInvocation).Value
$rootpath = Split-Path $invocation.MyCommand.Path

$AppPath = "$rootpath\VisualObjectsApplicationCSharp"
$sdkInstallPath = (Get-ItemProperty 'HKLM:\Software\Microsoft\Service Fabric SDK').FabricSDKInstallPath
$sfSdkPsModulePath = $sdkInstallPath + "Tools\PSModule\ServiceFabricSDK"
Import-Module $sfSdkPsModulePath\ServiceFabricSDK.psm1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@

<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.3.0" />
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="3.1.274" />
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="5.1.321" />
<PackageReference Include="System.Collections" Version="4.3.0" />
<PackageReference Include="System.Console" Version="4.3.0" />
<PackageReference Include="System.Linq" Version="4.3.0" />
<PackageReference Include="System.Threading" Version="4.3.0" />
<PackageReference Include="System.Threading.Tasks" Version="4.3.0" />
<PackageReference Include="System.Diagnostics.Tracing" Version="4.3.0" />
<PackageReference Include="Microsoft.ServiceFabric" Version="6.2.274" />
<PackageReference Include="Microsoft.ServiceFabric.Services" Version="3.1.274" />
<PackageReference Include="Microsoft.ServiceFabric" Version="8.1.321" />
<PackageReference Include="Microsoft.ServiceFabric.Services" Version="5.1.321" />
<PackageReference Include="System.Threading.Thread" Version="4.3.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.3.0" />
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="3.1.274" />
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="5.1.321" />
<PackageReference Include="System.Collections" Version="4.3.0" />
<PackageReference Include="System.Linq" Version="4.3.0" />
<PackageReference Include="System.Runtime" Version="4.3.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@
<PackageReference Include="Microsoft.AspNetCore.Diagnostics" Version="1.0.2" />
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.0.4" />
<PackageReference Include="Microsoft.CSharp" Version="4.3.0" />
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="3.1.274" />
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="5.1.321" />
<PackageReference Include="System.Collections" Version="4.3.0" />
<PackageReference Include="System.Console" Version="4.3.0" />
<PackageReference Include="System.Linq" Version="4.3.0" />
<PackageReference Include="System.Threading" Version="4.3.0" />
<PackageReference Include="System.Threading.Tasks" Version="4.3.0" />
<PackageReference Include="System.Diagnostics.Tracing" Version="4.3.0" />
<PackageReference Include="Microsoft.ServiceFabric" Version="6.2.274" />
<PackageReference Include="Microsoft.ServiceFabric.Services" Version="3.1.274" />
<PackageReference Include="Microsoft.ServiceFabric" Version="8.1.321" />
<PackageReference Include="Microsoft.ServiceFabric.Services" Version="5.1.321" />
<PackageReference Include="System.Threading.Thread" Version="4.3.0" />
<PackageReference Include="Microsoft.AspNetCore.WebSockets.Server" Version="0.1.0" />
</ItemGroup>
Expand Down
12 changes: 7 additions & 5 deletions Services/CounterService/build.ps1
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
pushd src\CounterServiceApplication\CounterService.Interfaces\
$invocation = (Get-Variable MyInvocation).Value
$rootpath = Split-Path $invocation.MyCommand.Path

pushd $rootpath\src\CounterServiceApplication\CounterService.Interfaces\
dotnet restore -s https://api.nuget.org/v3/index.json
dotnet build
popd

pushd src\CounterServiceApplication\CounterService\
pushd $rootpath\src\CounterServiceApplication\CounterService\
dotnet restore -s https://api.nuget.org/v3/index.json
dotnet build
dotnet publish -c Release --self-contained --runtime win-x64 -o ..\..\..\CounterServiceApplication\CounterServicePkg\Code
dotnet publish -c Release --self-contained --runtime win-x64 -o ..\..\CounterServicePkg\Code
popd


pushd src\CounterServiceApplication\CounterService.WebService\CounterServiceWebService\
pushd $rootpath\src\CounterServiceApplication\CounterService.WebService\CounterServiceWebService\
dotnet restore -s https://api.nuget.org/v3/index.json
dotnet build
dotnet publish -c Release --self-contained --runtime win-x64 -o ..\..\..\..\CounterServiceApplication\CounterServiceWebServicePkg\Code\
Expand Down
5 changes: 4 additions & 1 deletion Services/CounterService/install.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
$AppPath = "$PSScriptRoot\CounterServiceApplication"
$invocation = (Get-Variable MyInvocation).Value
$rootpath = Split-Path $invocation.MyCommand.Path

$AppPath = "$rootpath\CounterServiceApplication"
$sdkInstallPath = (Get-ItemProperty 'HKLM:\Software\Microsoft\Service Fabric SDK').FabricSDKInstallPath
$sfSdkPsModulePath = $sdkInstallPath + "Tools\PSModule\ServiceFabricSDK"
Import-Module $sfSdkPsModulePath\ServiceFabricSDK.psm1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.3.0" />
<PackageReference Include="Microsoft.ServiceFabric.Services" Version="3.1.274" />
<PackageReference Include="Microsoft.ServiceFabric.Services.Remoting" Version="3.1.274" />
<PackageReference Include="Microsoft.ServiceFabric.Services" Version="5.1.321" />
<PackageReference Include="Microsoft.ServiceFabric.Services.Remoting" Version="5.1.321" />
<PackageReference Include="System.Collections" Version="4.3.0" />
<PackageReference Include="System.Linq" Version="4.3.0" />
<PackageReference Include="System.Runtime" Version="4.3.0" />
Expand Down
Loading