Skip to content

Commit

Permalink
Adding test.cmd for Setup
Browse files Browse the repository at this point in the history
  • Loading branch information
tsushi authored and tsushi committed Aug 10, 2016
1 parent 3cf1e9c commit edf2516
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
<Compile Include="ServiceEventSource.cs" />
</ItemGroup>
<ItemGroup>
<None Include="PackageRoot\Code\scripts\test.cmd" />
<None Include="PackageRoot\Config\Settings.xml" />
<None Include="PackageRoot\ServiceManifest.xml" />
<None Include="App.config" />
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@echo This is a test message
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<ServiceManifest Name="ConsoleRedirectPkg"
Version="1.0.0"
Version="1.0.1"
xmlns="http://schemas.microsoft.com/2011/01/fabric"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Expand All @@ -11,7 +11,13 @@
</ServiceTypes>

<!-- Code package is your service executable. -->
<CodePackage Name="Code" Version="1.0.0">
<CodePackage Name="Code" Version="1.0.1">
<SetupEntryPoint>
<ExeHost>
<Program>scripts\test.cmd</Program>
<ConsoleRedirection FileRetentionCount="5" FileMaxSizeInKb="2048"/>
</ExeHost>
</SetupEntryPoint>
<EntryPoint>
<ExeHost>
<Program>ConsoleRedirect.exe</Program>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<ApplicationManifest ApplicationTypeName="ConsoleRedirectTestApplicationType"
ApplicationTypeVersion="1.0.0"
xmlns="http://schemas.microsoft.com/2011/01/fabric"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ApplicationManifest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ApplicationTypeName="ConsoleRedirectTestApplicationType" ApplicationTypeVersion="1.0.1" xmlns="http://schemas.microsoft.com/2011/01/fabric">
<Parameters>
<Parameter Name="ConsoleRedirect_InstanceCount" DefaultValue="-1" />
</Parameters>
<!-- Import the ServiceManifest from the ServicePackage. The ServiceManifestName and ServiceManifestVersion
should match the Name and Version attributes of the ServiceManifest element defined in the
ServiceManifest.xml file. -->
<ServiceManifestImport>
<ServiceManifestRef ServiceManifestName="ConsoleRedirectPkg" ServiceManifestVersion="1.0.0" />
<ServiceManifestRef ServiceManifestName="ConsoleRedirectPkg" ServiceManifestVersion="1.0.1" />
<ConfigOverrides />
</ServiceManifestImport>
<DefaultServices>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Application Name="fabric:/ConsoleRedirectTestApplication" xmlns="http://schemas.microsoft.com/2011/01/fabric" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Application xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Name="fabric:/ConsoleRedirectTestApplication" xmlns="http://schemas.microsoft.com/2011/01/fabric">
<Parameters>
<Parameter Name="ConsoleRedirect_InstanceCount" Value="-1" />
</Parameters>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Application Name="fabric:/ConsoleRedirectTestApplication" xmlns="http://schemas.microsoft.com/2011/01/fabric" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Application xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Name="fabric:/ConsoleRedirectTestApplication" xmlns="http://schemas.microsoft.com/2011/01/fabric">
<Parameters>
<Parameter Name="ConsoleRedirect_InstanceCount" Value="1" />
</Parameters>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@
-->
<ClusterConnectionParameters />
<ApplicationParameterFile Path="..\ApplicationParameters\Local.xml" />
<UpgradeDeployment Mode="UnmonitoredAuto" Enabled="false">
<Parameters UpgradeReplicaSetCheckTimeoutSec="1" Force="True" />
</UpgradeDeployment>
</PublishProfile>

0 comments on commit edf2516

Please sign in to comment.