Skip to content

Commit

Permalink
Add example application for ARM.
Browse files Browse the repository at this point in the history
  • Loading branch information
huguesv committed Jun 29, 2015
1 parent c370d27 commit fc50b7b
Show file tree
Hide file tree
Showing 60 changed files with 27,535 additions and 0 deletions.
63 changes: 63 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp

###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary

###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary

###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
__pycache__/
*.pyc

# Virtual environment
env/

# PTVS analysis
.ptvs/

Expand Down
147 changes: 147 additions & 0 deletions examples/AzureResourceViewer/AzureResourceViewer.pyproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>27a0d52f-03c0-4bf5-b6b3-4634becc05b9</ProjectGuid>
<ProjectHome>
</ProjectHome>
<ProjectTypeGuids>{789894c7-04a9-4a11-a6b5-3f4435165112};{1b580a1a-fdb3-4b32-83e1-6407eb2722e6};{349c5851-65df-11da-9384-00065b846f21};{888888a0-9f3d-457c-b088-3a5042f75d52}</ProjectTypeGuids>
<StartupFile>runserver.py</StartupFile>
<SearchPath>
</SearchPath>
<WorkingDirectory>.</WorkingDirectory>
<LaunchProvider>Web launcher</LaunchProvider>
<OutputPath>.</OutputPath>
<StaticUriPattern>^/static/.*</StaticUriPattern>
<StaticUriRewrite>^/$(MSBuildProjectName)/static/.*</StaticUriRewrite>
<PythonWsgiHandler>$(MSBuildProjectName).app</PythonWsgiHandler>
<Name>AzureResourceViewer</Name>
<RootNamespace>StorageAccountViewer</RootNamespace>
<InterpreterId>{61d811cf-2e1d-4227-88b5-9324031510a8}</InterpreterId>
<InterpreterVersion>3.4</InterpreterVersion>
<WebBrowserUrl>
</WebBrowserUrl>
<IsWindowsApplication>False</IsWindowsApplication>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugSymbols>true</DebugSymbols>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
</PropertyGroup>
<ItemGroup>
<Compile Include="AzureResourceViewer\models.py">
<SubType>Code</SubType>
</Compile>
<Compile Include="runserver.py" />
<Compile Include="AzureResourceViewer\__init__.py" />
<Compile Include="AzureResourceViewer\views.py" />
</ItemGroup>
<ItemGroup>
<Folder Include="adalclient\" />
<Folder Include="AzureResourceViewer\" />
<Folder Include="AzureResourceViewer\static\" />
<Folder Include="AzureResourceViewer\static\content\" />
<Folder Include="AzureResourceViewer\static\fonts\" />
<Folder Include="AzureResourceViewer\static\scripts\" />
<Folder Include="AzureResourceViewer\templates\" />
<Folder Include="wheelhouse\" />
</ItemGroup>
<ItemGroup>
<Content Include="adalclient\AdalClient.exe" />
<Content Include="adalclient\Microsoft.IdentityModel.Clients.ActiveDirectory.dll" />
<Content Include="adalclient\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll" />
<Content Include="adalclient\Newtonsoft.Json.dll" />
<Content Include="adalclient\run.bat" />
<Content Include="adalclient\System.Spatial.dll" />
<Content Include="AzureResourceViewer\templates\subscription_list.html" />
<Content Include="AzureResourceViewer\templates\storageaccountcontainer_details.html" />
<Content Include="requirements.txt" />
<Content Include="AzureResourceViewer\static\content\bootstrap.css" />
<Content Include="AzureResourceViewer\static\content\bootstrap.min.css" />
<Content Include="AzureResourceViewer\static\content\site.css" />
<Content Include="AzureResourceViewer\static\fonts\glyphicons-halflings-regular.eot" />
<Content Include="AzureResourceViewer\static\fonts\glyphicons-halflings-regular.svg" />
<Content Include="AzureResourceViewer\static\fonts\glyphicons-halflings-regular.ttf" />
<Content Include="AzureResourceViewer\static\fonts\glyphicons-halflings-regular.woff" />
<Content Include="AzureResourceViewer\static\scripts\bootstrap.js" />
<Content Include="AzureResourceViewer\static\scripts\bootstrap.min.js" />
<Content Include="AzureResourceViewer\static\scripts\jquery-1.10.2.intellisense.js" />
<Content Include="AzureResourceViewer\static\scripts\jquery-1.10.2.js" />
<Content Include="AzureResourceViewer\static\scripts\jquery-1.10.2.min.js" />
<Content Include="AzureResourceViewer\static\scripts\jquery-1.10.2.min.map" />
<Content Include="AzureResourceViewer\static\scripts\jquery.validate-vsdoc.js" />
<Content Include="AzureResourceViewer\static\scripts\jquery.validate.js" />
<Content Include="AzureResourceViewer\static\scripts\jquery.validate.min.js" />
<Content Include="AzureResourceViewer\static\scripts\jquery.validate.unobtrusive.js" />
<Content Include="AzureResourceViewer\static\scripts\jquery.validate.unobtrusive.min.js" />
<Content Include="AzureResourceViewer\static\scripts\modernizr-2.6.2.js" />
<Content Include="AzureResourceViewer\static\scripts\respond.js" />
<Content Include="AzureResourceViewer\static\scripts\respond.min.js" />
<Content Include="AzureResourceViewer\static\scripts\_references.js" />
<Content Include="AzureResourceViewer\templates\storageaccount_details.html" />
<Content Include="AzureResourceViewer\templates\subscription_details.html" />
<Content Include="AzureResourceViewer\templates\resourcegroup_details.html" />
<Content Include="AzureResourceViewer\templates\about.html" />
<Content Include="AzureResourceViewer\templates\contact.html" />
<Content Include="AzureResourceViewer\templates\index.html" />
<Content Include="AzureResourceViewer\templates\layout.html" />
</ItemGroup>
<ItemGroup>
<Interpreter Include="env\">
<Id>{61d811cf-2e1d-4227-88b5-9324031510a8}</Id>
<BaseInterpreter>{2af0f10d-7135-4994-9156-5d01c9c11b7e}</BaseInterpreter>
<Version>3.4</Version>
<Description>env (Python 3.4)</Description>
<InterpreterPath>Scripts\python.exe</InterpreterPath>
<WindowsInterpreterPath>Scripts\pythonw.exe</WindowsInterpreterPath>
<LibraryPath>Lib\</LibraryPath>
<PathEnvironmentVariable>PYTHONPATH</PathEnvironmentVariable>
<Architecture>X86</Architecture>
</Interpreter>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Python Tools\Microsoft.PythonTools.Web.targets" />
<!-- Specify pre- and post-build commands in the BeforeBuild and
AfterBuild targets below. -->
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<AutoAssignPort>True</AutoAssignPort>
<UseCustomServer>True</UseCustomServer>
<CustomServerUrl>http://localhost</CustomServerUrl>
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
</WebProjectProperties>
</FlavorProperties>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}" User="">
<WebProjectProperties>
<StartPageUrl>
</StartPageUrl>
<StartAction>CurrentPage</StartAction>
<AspNetDebugging>True</AspNetDebugging>
<SilverlightDebugging>False</SilverlightDebugging>
<NativeDebugging>False</NativeDebugging>
<SQLDebugging>False</SQLDebugging>
<ExternalProgram>
</ExternalProgram>
<StartExternalURL>
</StartExternalURL>
<StartCmdLineArguments>
</StartCmdLineArguments>
<StartWorkingDirectory>
</StartWorkingDirectory>
<EnableENC>False</EnableENC>
<AlwaysStartWebServerOnDebug>False</AlwaysStartWebServerOnDebug>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
</Project>
22 changes: 22 additions & 0 deletions examples/AzureResourceViewer/AzureResourceViewer.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23020.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "AzureResourceViewer", "AzureResourceViewer.pyproj", "{27A0D52F-03C0-4BF5-B6B3-4634BECC05B9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{27A0D52F-03C0-4BF5-B6B3-4634BECC05B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{27A0D52F-03C0-4BF5-B6B3-4634BECC05B9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{27A0D52F-03C0-4BF5-B6B3-4634BECC05B9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{27A0D52F-03C0-4BF5-B6B3-4634BECC05B9}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
8 changes: 8 additions & 0 deletions examples/AzureResourceViewer/AzureResourceViewer/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"""
The flask application package.
"""

from flask import Flask
app = Flask(__name__)

from . import views
Loading

0 comments on commit fc50b7b

Please sign in to comment.