Author: lcorneliussen
Date: Thu Dec 29 17:48:44 2011
New Revision: 1225602
URL: http://svn.apache.org/viewvc?rev=1225602&view=rev
Log:
[NPANDAY-480] Support Windows Azure Cloud Service Project and Packaging (CCPack)
o updated its
Added:
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_AzureSupportOneWebRole/HelloWorld_WebRole/web.package.config
- copied, changed from r1225560,
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_AzureSupportOneWebRole/HelloWorld_WebRole/web.config
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/
(with props)
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld.sln
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/HelloWorld.ccproj
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/Properties/
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/ServiceConfiguration.Package.cscfg
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/ServiceConfiguration.cscfg
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/ServiceDefinition.build.csdef
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/ServiceDefinition.csdef
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/pom.xml
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WebRole/
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WebRole/web.package.config
(with props)
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/HelloWorld_WorkerRole.csproj
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/Properties/
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/Properties/AssemblyInfo.cs
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/WorkerRole.cs
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/app.config
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/app.package.config
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/pom.xml
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/License.rtf
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/pom.xml
Removed:
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_AzureSupportOneWebRole/HelloWorld_WebRole/ChainedXdtTransform.targets
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_AzureSupportOneWebRole/HelloWorld_WebRole/HelloWorld_WebRole.Publish.xml
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_AzureSupportOneWebRole/HelloWorld_WebRole/assembly.xml
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_AzureSupportOneWebRole/HelloWorld_WebRole/copy-transformed.xml
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_AzureSupportOneWebRole/HelloWorld_WebRole/msdeploy-manifest.xml
Modified:
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_AzureSupportOneWebRole/HelloWorld_WebRole/HelloWorld_WebRole.csproj
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_AzureSupportOneWebRole/HelloWorld_WebRole/pom.xml
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithWorkerRole/HelloWorld_WorkerRole/HelloWorld_WorkerRole.csproj
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithWorkerRole/HelloWorld_WorkerRole/pom.xml
Modified:
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_AzureSupportOneWebRole/HelloWorld_WebRole/HelloWorld_WebRole.csproj
URL:
http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_AzureSupportOneWebRole/HelloWorld_WebRole/HelloWorld_WebRole.csproj?rev=1225602&r1=1225601&r2=1225602&view=diff
==============================================================================
---
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_AzureSupportOneWebRole/HelloWorld_WebRole/HelloWorld_WebRole.csproj
(original)
+++
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_AzureSupportOneWebRole/HelloWorld_WebRole/HelloWorld_WebRole.csproj
Thu Dec 29 17:48:44 2011
@@ -61,6 +61,7 @@
</ItemGroup>
<ItemGroup />
<ItemGroup>
+ <Content Include="web.package.config" />
<None Include="Properties\Packaging\ChainedXdtTransform.targets" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
Modified:
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_AzureSupportOneWebRole/HelloWorld_WebRole/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_AzureSupportOneWebRole/HelloWorld_WebRole/pom.xml?rev=1225602&r1=1225601&r2=1225602&view=diff
==============================================================================
---
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_AzureSupportOneWebRole/HelloWorld_WebRole/pom.xml
(original)
+++
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_AzureSupportOneWebRole/HelloWorld_WebRole/pom.xml
Thu Dec 29 17:48:44 2011
@@ -37,6 +37,10 @@
<name>NPanday.ITs.NPANDAY_480_AzureSupportOneWebRole :: Hello World Web
Role</name>
+ <properties>
+ <frameworkVersion>4.0</frameworkVersion>
+ </properties>
+
<build>
<sourceDirectory>.</sourceDirectory>
<plugins>
@@ -53,6 +57,7 @@
<execution>
<goals>
<goal>assemble-package-files</goal>
+ <goal>process-web-config</goal>
</goals>
</execution>
</executions>
Copied:
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_AzureSupportOneWebRole/HelloWorld_WebRole/web.package.config
(from r1225560,
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_AzureSupportOneWebRole/HelloWorld_WebRole/web.config)
URL:
http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_AzureSupportOneWebRole/HelloWorld_WebRole/web.package.config?p2=incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_AzureSupportOneWebRole/HelloWorld_WebRole/web.package.config&p1=incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_AzureSupportOneWebRole/HelloWorld_WebRole/web.config&r1=1225560&r2=1225602&rev=1225602&view=diff
==============================================================================
(empty)
Propchange:
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu Dec 29 17:48:44 2011
@@ -0,0 +1 @@
+csx
Added:
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld.sln
URL:
http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld.sln?rev=1225602&view=auto
==============================================================================
---
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld.sln
(added)
+++
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld.sln
Thu Dec 29 17:48:44 2011
@@ -0,0 +1,32 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{CC5FD16D-436D-48AD-A40C-5A424C6E3E79}") = "HelloWorld",
"HelloWorld\HelloWorld.ccproj", "{2744E199-C5C5-4688-ADF7-BE5E400C61C1}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HelloWorld_WebRole",
"HelloWorld_WebRole\HelloWorld_WebRole.csproj",
"{6AA66693-51D1-4651-A4B7-10271AC67C36}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HelloWorld_WorkerRole",
"HelloWorld_WorkerRole\HelloWorld_WorkerRole.csproj",
"{3FF485BE-3809-4127-8D84-3A9B9C98B6E1}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {2744E199-C5C5-4688-ADF7-BE5E400C61C1}.Debug|Any CPU.ActiveCfg
= Debug|Any CPU
+ {2744E199-C5C5-4688-ADF7-BE5E400C61C1}.Debug|Any CPU.Build.0 =
Debug|Any CPU
+ {2744E199-C5C5-4688-ADF7-BE5E400C61C1}.Release|Any
CPU.ActiveCfg = Release|Any CPU
+ {2744E199-C5C5-4688-ADF7-BE5E400C61C1}.Release|Any CPU.Build.0
= Release|Any CPU
+ {6AA66693-51D1-4651-A4B7-10271AC67C36}.Debug|Any CPU.ActiveCfg
= Debug|Any CPU
+ {6AA66693-51D1-4651-A4B7-10271AC67C36}.Debug|Any CPU.Build.0 =
Debug|Any CPU
+ {6AA66693-51D1-4651-A4B7-10271AC67C36}.Release|Any
CPU.ActiveCfg = Release|Any CPU
+ {6AA66693-51D1-4651-A4B7-10271AC67C36}.Release|Any CPU.Build.0
= Release|Any CPU
+ {3FF485BE-3809-4127-8D84-3A9B9C98B6E1}.Debug|Any CPU.ActiveCfg
= Debug|Any CPU
+ {3FF485BE-3809-4127-8D84-3A9B9C98B6E1}.Debug|Any CPU.Build.0 =
Debug|Any CPU
+ {3FF485BE-3809-4127-8D84-3A9B9C98B6E1}.Release|Any
CPU.ActiveCfg = Release|Any CPU
+ {3FF485BE-3809-4127-8D84-3A9B9C98B6E1}.Release|Any CPU.Build.0
= Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
Added:
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/HelloWorld.ccproj
URL:
http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/HelloWorld.ccproj?rev=1225602&view=auto
==============================================================================
---
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/HelloWorld.ccproj
(added)
+++
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/HelloWorld.ccproj
Thu Dec 29 17:48:44 2011
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import
Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props"
Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"
/>
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>1.6</ProductVersion>
+ <ProjectGuid>{2744E199-C5C5-4688-ADF7-BE5E400C61C1}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <StartDevelopmentStorage>True</StartDevelopmentStorage>
+ <Name>HelloWorld</Name>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>Microsoft.Samples.ServiceHosting.HelloWorld</RootNamespace>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU'
">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' ==
'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <!-- Items for the project -->
+ <ItemGroup>
+ <ServiceConfiguration Include="ServiceConfiguration.Package.cscfg" />
+ <ServiceDefinition Include="ServiceDefinition.csdef" />
+ <ServiceConfiguration Include="ServiceConfiguration.cscfg" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference
Include="..\HelloWorld_WebRole\HelloWorld_WebRole.csproj">
+ <Name>HelloWorld_WebRole</Name>
+ <Project>{6aa66693-51d1-4651-a4b7-10271ac67c36}</Project>
+ <Private>True</Private>
+ <RoleType>Web</RoleType>
+ <RoleName>HelloWorld_WebRole</RoleName>
+ </ProjectReference>
+ <ProjectReference
Include="..\HelloWorld_WorkerRole\HelloWorld_WorkerRole.csproj">
+ <Name>HelloWorld_WorkerRole</Name>
+ <Project>{3ff485be-3809-4127-8d84-3a9b9c98b6e1}</Project>
+ <Private>True</Private>
+ <RoleType>Worker</RoleType>
+ <RoleName>HelloWorld_WorkerRole</RoleName>
+
<UpdateDiagnosticsConnectionStringOnPublish>True</UpdateDiagnosticsConnectionStringOnPublish>
+ </ProjectReference>
+ </ItemGroup>
+ <!-- Import the target files for this project template -->
+ <PropertyGroup>
+ <VisualStudioVersion Condition="'$(VisualStudioVersion)' ==
''">10.0</VisualStudioVersion>
+ <CloudExtensionsDir Condition=" '$(CloudExtensionsDir)' == ''
">$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Windows
Azure Tools\1.6\</CloudExtensionsDir>
+ </PropertyGroup>
+ <Import Project="$(CloudExtensionsDir)Microsoft.WindowsAzure.targets" />
+</Project>
\ No newline at end of file
Added:
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/ServiceConfiguration.Package.cscfg
URL:
http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/ServiceConfiguration.Package.cscfg?rev=1225602&view=auto
==============================================================================
---
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/ServiceConfiguration.Package.cscfg
(added)
+++
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/ServiceConfiguration.Package.cscfg
Thu Dec 29 17:48:44 2011
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<ServiceConfiguration serviceName="HelloWorld"
xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration">
+ <Role name="HelloWorld_WebRole">
+ <Instances count="1" />
+ <ConfigurationSettings>
+ <Setting
name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString"
value="DefaultEndpointsProtocol=[http|https];AccountName=;AccountKey=" />
+ </ConfigurationSettings>
+ </Role>
+ <Role name="HelloWorld_WorkerRole">
+ <Instances count="1" />
+ <ConfigurationSettings>
+ <Setting
name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString"
value="DefaultEndpointsProtocol=[http|https];AccountName=;AccountKey=" />
+ </ConfigurationSettings>
+ </Role>
+</ServiceConfiguration>
\ No newline at end of file
Added:
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/ServiceConfiguration.cscfg
URL:
http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/ServiceConfiguration.cscfg?rev=1225602&view=auto
==============================================================================
---
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/ServiceConfiguration.cscfg
(added)
+++
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/ServiceConfiguration.cscfg
Thu Dec 29 17:48:44 2011
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<ServiceConfiguration serviceName="HelloWorld"
xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration">
+ <Role name="HelloWorld_WebRole">
+ <Instances count="1" />
+ <ConfigurationSettings>
+ <Setting
name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString"
value="UseDevelopmentStorage=true" />
+ </ConfigurationSettings>
+ </Role>
+ <Role name="HelloWorld_WorkerRole">
+ <Instances count="1" />
+ <ConfigurationSettings>
+ <Setting
name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString"
value="UseDevelopmentStorage=true" />
+ </ConfigurationSettings>
+ </Role>
+</ServiceConfiguration>
\ No newline at end of file
Added:
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/ServiceDefinition.build.csdef
URL:
http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/ServiceDefinition.build.csdef?rev=1225602&view=auto
==============================================================================
---
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/ServiceDefinition.build.csdef
(added)
+++
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/ServiceDefinition.build.csdef
Thu Dec 29 17:48:44 2011
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
**********************************************************************************************
+
+ This file was generated by a tool from the project file:
ServiceDefinition.csdef
+
+ Changes to this file may cause incorrect behavior and will be lost if the
file is regenerated.
+
+
**********************************************************************************************
+-->
+<ServiceDefinition
xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition"
name="HelloWorld">
+ <WebRole name="HelloWorld_WebRole" enableNativeCodeExecution="true">
+ <Sites>
+ <Site name="Web">
+ <Bindings>
+ <Binding name="HttpIn" endpointName="HttpIn" />
+ </Bindings>
+ </Site>
+ </Sites>
+ <Endpoints>
+ <InputEndpoint name="HttpIn" protocol="http" port="80" />
+ </Endpoints>
+ <Imports>
+ <Import moduleName="Diagnostics" />
+ </Imports>
+ </WebRole>
+ <WorkerRole name="HelloWorld_WorkerRole" vmsize="Small">
+ <Imports>
+ <Import moduleName="Diagnostics" />
+ </Imports>
+ </WorkerRole>
+</ServiceDefinition>
\ No newline at end of file
Added:
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/ServiceDefinition.csdef
URL:
http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/ServiceDefinition.csdef?rev=1225602&view=auto
==============================================================================
---
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/ServiceDefinition.csdef
(added)
+++
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/ServiceDefinition.csdef
Thu Dec 29 17:48:44 2011
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ServiceDefinition
xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition"
name="HelloWorld">
+ <WebRole name="HelloWorld_WebRole" enableNativeCodeExecution="true">
+ <Sites>
+ <Site name="Web">
+ <Bindings>
+ <Binding name="HttpIn" endpointName="HttpIn" />
+ </Bindings>
+ </Site>
+ </Sites>
+ <Endpoints>
+ <InputEndpoint name="HttpIn" protocol="http" port="80" />
+ </Endpoints>
+ <Imports>
+ <Import moduleName="Diagnostics" />
+ </Imports>
+ </WebRole>
+ <WorkerRole name="HelloWorld_WorkerRole" vmsize="Small">
+ <Imports>
+ <Import moduleName="Diagnostics" />
+ </Imports>
+ </WorkerRole>
+</ServiceDefinition>
\ No newline at end of file
Added:
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/pom.xml?rev=1225602&view=auto
==============================================================================
---
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/pom.xml
(added)
+++
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld/pom.xml
Thu Dec 29 17:48:44 2011
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+ http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>NPanday.ITs.NPANDAY_480_CloudServiceWithMultipleRoles</groupId>
+ <artifactId>NPANDAY_480_CloudServiceWithMultipleRoles-parent</artifactId>
+ <version>1-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>HelloWorld_CloudService</artifactId>
+ <packaging>azure-cloud-service</packaging>
+ <version>1.0.0-SNAPSHOT</version>
+
+ <name>NPanday.ITs.NPANDAY_480_CloudServiceWithMultipleRoles :: Hello World
Cloud Service</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>NPanday.ITs.NPANDAY_480_CloudServiceWithMultipleRoles</groupId>
+ <artifactId>HelloWorld_WebRole</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <type>msdeploy-package</type>
+ </dependency>
+ <dependency>
+ <groupId>NPanday.ITs.NPANDAY_480_CloudServiceWithMultipleRoles</groupId>
+ <artifactId>HelloWorld_WorkerRole</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <type>dotnet-application</type>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.npanday.plugins</groupId>
+ <artifactId>azure-maven-plugin</artifactId>
+ <extensions>true</extensions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Added:
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WebRole/web.package.config
URL:
http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WebRole/web.package.config?rev=1225602&view=auto
==============================================================================
---
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WebRole/web.package.config
(added)
+++
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WebRole/web.package.config
Thu Dec 29 17:48:44 2011
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <system.web>
+ <compilation targetFramework="4.0" debug="true" />
+ <machineKey decryption="AES"
decryptionKey="0CA3EFAF0F7A5E7A62681C0BF656EE0ECE31ACEE3E1023BA3FAD20EA5F199DE8"
validation="SHA1"
validationKey="7DFA065B3426D931C51124D9259DBD2DA1ADC5AB9DE62168764FF0DCE537184F0535D5D9AD66DEDC97DC1ABFF7FA540B4DFD82E5BB196B95D15FF81F75AD5328"
/>
+ </system.web>
+ <system.diagnostics>
+ <trace>
+ <listeners>
+ <add
type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener,
+ Microsoft.WindowsAzure.Diagnostics,
+ Version=1.0.0.0,
+ Culture=neutral,
+ PublicKeyToken=31bf3856ad364e35"
+ name="AzureDiagnostics">
+ <filter type="" />
+ </add>
+ </listeners>
+ </trace>
+ </system.diagnostics>
+</configuration>
Propchange:
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WebRole/web.package.config
------------------------------------------------------------------------------
svn:eol-style = native
Added:
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/HelloWorld_WorkerRole.csproj
URL:
http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/HelloWorld_WorkerRole.csproj?rev=1225602&view=auto
==============================================================================
---
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/HelloWorld_WorkerRole.csproj
(added)
+++
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/HelloWorld_WorkerRole.csproj
Thu Dec 29 17:48:44 2011
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>8.0.30703</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{3FF485BE-3809-4127-8D84-3A9B9C98B6E1}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>HelloWorld_WorkerRole</RootNamespace>
+ <AssemblyName>HelloWorld_WorkerRole</AssemblyName>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ <RoleType>Worker</RoleType>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU'
">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' ==
'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="Microsoft.WindowsAzure.Diagnostics, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <Reference Include="Microsoft.WindowsAzure.ServiceRuntime,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <Reference Include="Microsoft.WindowsAzure.StorageClient, Version=1.1.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <Reference Include="System" />
+ <Reference Include="System.Core" />
+ <Reference Include="System.Xml.Linq" />
+ <Reference Include="System.Data.DataSetExtensions" />
+ <Reference Include="Microsoft.CSharp" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ <Compile Include="WorkerRole.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="app.config" />
+ <None Include="app.package.config" />
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets
below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project>
\ No newline at end of file
Added:
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/Properties/AssemblyInfo.cs
URL:
http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/Properties/AssemblyInfo.cs?rev=1225602&view=auto
==============================================================================
---
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/Properties/AssemblyInfo.cs
(added)
+++
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/Properties/AssemblyInfo.cs
Thu Dec 29 17:48:44 2011
@@ -0,0 +1,37 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("HelloWorld_WorkerRole")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("HelloWorld_WorkerRole")]
+[assembly: AssemblyCopyright("Copyright © 2011")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed
to COM
+[assembly: Guid("0dc79ec7-d999-4d0f-9b2b-a0812f3d0d2f")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision
Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1")]
+[assembly: AssemblyVersion("1")]
+[assembly: AssemblyFileVersion("1")]
+[assembly: AssemblyInformationalVersion("1-SNAPSHOT")]
Added:
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/WorkerRole.cs
URL:
http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/WorkerRole.cs?rev=1225602&view=auto
==============================================================================
---
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/WorkerRole.cs
(added)
+++
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/WorkerRole.cs
Thu Dec 29 17:48:44 2011
@@ -0,0 +1,39 @@
+using System;
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Linq;
+using System.Net;
+using System.Threading;
+using Microsoft.WindowsAzure;
+using Microsoft.WindowsAzure.Diagnostics;
+using Microsoft.WindowsAzure.ServiceRuntime;
+using Microsoft.WindowsAzure.StorageClient;
+
+namespace HelloWorld_WorkerRole
+{
+ public class WorkerRole : RoleEntryPoint
+ {
+ public override void Run()
+ {
+ // This is a sample worker implementation. Replace with your logic.
+ Trace.WriteLine("HelloWorld_WorkerRole entry point called",
"Information");
+
+ while (true)
+ {
+ Thread.Sleep(10000);
+ Trace.WriteLine("Working", "Information");
+ }
+ }
+
+ public override bool OnStart()
+ {
+ // Set the maximum number of concurrent connections
+ ServicePointManager.DefaultConnectionLimit = 12;
+
+ // For information on handling configuration changes
+ // see the MSDN topic at
http://go.microsoft.com/fwlink/?LinkId=166357.
+
+ return base.OnStart();
+ }
+ }
+}
Added:
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/app.config
URL:
http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/app.config?rev=1225602&view=auto
==============================================================================
---
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/app.config
(added)
+++
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/app.config
Thu Dec 29 17:48:44 2011
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+ <system.diagnostics>
+ <trace>
+ <listeners>
+ <add
type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener,
Microsoft.WindowsAzure.Diagnostics, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"
+ name="AzureDiagnostics">
+ <filter type="" />
+ </add>
+ </listeners>
+ </trace>
+ </system.diagnostics>
+</configuration>
\ No newline at end of file
Added:
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/app.package.config
URL:
http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/app.package.config?rev=1225602&view=auto
==============================================================================
---
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/app.package.config
(added)
+++
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/app.package.config
Thu Dec 29 17:48:44 2011
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+ <system.diagnostics>
+ <trace>
+ <listeners>
+ <add
type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener,
Microsoft.WindowsAzure.Diagnostics, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"
+ name="AzureDiagnostics">
+ <filter type="" />
+ </add>
+ </listeners>
+ </trace>
+ </system.diagnostics>
+</configuration>
\ No newline at end of file
Added:
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/pom.xml?rev=1225602&view=auto
==============================================================================
---
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/pom.xml
(added)
+++
incubator/npanday/npanday-its/trunk/src/test/resources/NPANDAY_480_CloudServiceWithMultipleRoles/HelloWorld_WorkerRole/pom.xml
Thu Dec 29 17:48:44 2011
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one
+ ~ or more contributor license agreements. See the NOTICE file
+ ~ distributed with this work for additional information
+ ~ regarding copyright ownership. The ASF licenses this file
+ ~ to you under the Apache License, Version 2.0 (the
+ ~ "License"); you may not use this file except in compliance
+ ~ with the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing,
+ ~ software distributed under the License is distributed on an
+ ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ ~ KIND, either express or implied. See the License for the
+ ~ specific language governing permissions and limitations
+ ~ under the License.
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
+ http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>NPanday.ITs.NPANDAY_480_CloudServiceWithMultipleRoles</groupId>
+ <artifactId>NPANDAY_480_CloudServiceWithMultipleRoles-parent</artifactId>
+ <version>1-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>HelloWorld_WorkerRole</artifactId>
+ <packaging>dotnet-library</packaging>
+ <version>1.0.0-SNAPSHOT</version>
+
+ <name>NPanday.ITs.NPANDAY_480_CloudServiceWithMultipleRoles :: Hello World
Worker Role</name>
+
+ <properties>
+ <frameworkVersion>4.0</frameworkVersion>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>Microsoft.WindowsAzure</groupId>
+ <artifactId>Microsoft.WindowsAzure.StorageClient</artifactId>
+ <version>1.1.0.0</version>
+ <type>dotnet-library</type>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>Microsoft.WindowsAzure</groupId>
+ <artifactId>Microsoft.WindowsAzure.ServiceRuntime</artifactId>
+ <version>1.0.0.0</version>
+ <type>dotnet-library</type>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>Microsoft.WindowsAzure</groupId>
+ <artifactId>Microsoft.WindowsAzure.Diagnostics</artifactId>
+ <version>1.0.0.0</version>
+ <type>dotnet-library</type>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <sourceDirectory>.</sourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.npanday.plugins</groupId>
+ <artifactId>maven-compile-plugin</artifactId>
+ <extensions>true</extensions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.npanday.plugins</groupId>
+ <artifactId>application-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>assemble-package-files</goal>
+ <goal>process-app-config</goal>
+ <goal>package</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file