Skip to content

Commit fc50b7b

Browse files
author
huguesv
committed
Add example application for ARM.
1 parent c370d27 commit fc50b7b

File tree

60 files changed

+27535
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+27535
-0
lines changed

.gitattributes

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
__pycache__/
33
*.pyc
44

5+
# Virtual environment
6+
env/
7+
58
# PTVS analysis
69
.ptvs/
710

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
3+
<PropertyGroup>
4+
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<SchemaVersion>2.0</SchemaVersion>
7+
<ProjectGuid>27a0d52f-03c0-4bf5-b6b3-4634becc05b9</ProjectGuid>
8+
<ProjectHome>
9+
</ProjectHome>
10+
<ProjectTypeGuids>{789894c7-04a9-4a11-a6b5-3f4435165112};{1b580a1a-fdb3-4b32-83e1-6407eb2722e6};{349c5851-65df-11da-9384-00065b846f21};{888888a0-9f3d-457c-b088-3a5042f75d52}</ProjectTypeGuids>
11+
<StartupFile>runserver.py</StartupFile>
12+
<SearchPath>
13+
</SearchPath>
14+
<WorkingDirectory>.</WorkingDirectory>
15+
<LaunchProvider>Web launcher</LaunchProvider>
16+
<OutputPath>.</OutputPath>
17+
<StaticUriPattern>^/static/.*</StaticUriPattern>
18+
<StaticUriRewrite>^/$(MSBuildProjectName)/static/.*</StaticUriRewrite>
19+
<PythonWsgiHandler>$(MSBuildProjectName).app</PythonWsgiHandler>
20+
<Name>AzureResourceViewer</Name>
21+
<RootNamespace>StorageAccountViewer</RootNamespace>
22+
<InterpreterId>{61d811cf-2e1d-4227-88b5-9324031510a8}</InterpreterId>
23+
<InterpreterVersion>3.4</InterpreterVersion>
24+
<WebBrowserUrl>
25+
</WebBrowserUrl>
26+
<IsWindowsApplication>False</IsWindowsApplication>
27+
</PropertyGroup>
28+
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
29+
<DebugSymbols>true</DebugSymbols>
30+
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
31+
</PropertyGroup>
32+
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
33+
<DebugSymbols>true</DebugSymbols>
34+
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
35+
</PropertyGroup>
36+
<ItemGroup>
37+
<Compile Include="AzureResourceViewer\models.py">
38+
<SubType>Code</SubType>
39+
</Compile>
40+
<Compile Include="runserver.py" />
41+
<Compile Include="AzureResourceViewer\__init__.py" />
42+
<Compile Include="AzureResourceViewer\views.py" />
43+
</ItemGroup>
44+
<ItemGroup>
45+
<Folder Include="adalclient\" />
46+
<Folder Include="AzureResourceViewer\" />
47+
<Folder Include="AzureResourceViewer\static\" />
48+
<Folder Include="AzureResourceViewer\static\content\" />
49+
<Folder Include="AzureResourceViewer\static\fonts\" />
50+
<Folder Include="AzureResourceViewer\static\scripts\" />
51+
<Folder Include="AzureResourceViewer\templates\" />
52+
<Folder Include="wheelhouse\" />
53+
</ItemGroup>
54+
<ItemGroup>
55+
<Content Include="adalclient\AdalClient.exe" />
56+
<Content Include="adalclient\Microsoft.IdentityModel.Clients.ActiveDirectory.dll" />
57+
<Content Include="adalclient\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll" />
58+
<Content Include="adalclient\Newtonsoft.Json.dll" />
59+
<Content Include="adalclient\run.bat" />
60+
<Content Include="adalclient\System.Spatial.dll" />
61+
<Content Include="AzureResourceViewer\templates\subscription_list.html" />
62+
<Content Include="AzureResourceViewer\templates\storageaccountcontainer_details.html" />
63+
<Content Include="requirements.txt" />
64+
<Content Include="AzureResourceViewer\static\content\bootstrap.css" />
65+
<Content Include="AzureResourceViewer\static\content\bootstrap.min.css" />
66+
<Content Include="AzureResourceViewer\static\content\site.css" />
67+
<Content Include="AzureResourceViewer\static\fonts\glyphicons-halflings-regular.eot" />
68+
<Content Include="AzureResourceViewer\static\fonts\glyphicons-halflings-regular.svg" />
69+
<Content Include="AzureResourceViewer\static\fonts\glyphicons-halflings-regular.ttf" />
70+
<Content Include="AzureResourceViewer\static\fonts\glyphicons-halflings-regular.woff" />
71+
<Content Include="AzureResourceViewer\static\scripts\bootstrap.js" />
72+
<Content Include="AzureResourceViewer\static\scripts\bootstrap.min.js" />
73+
<Content Include="AzureResourceViewer\static\scripts\jquery-1.10.2.intellisense.js" />
74+
<Content Include="AzureResourceViewer\static\scripts\jquery-1.10.2.js" />
75+
<Content Include="AzureResourceViewer\static\scripts\jquery-1.10.2.min.js" />
76+
<Content Include="AzureResourceViewer\static\scripts\jquery-1.10.2.min.map" />
77+
<Content Include="AzureResourceViewer\static\scripts\jquery.validate-vsdoc.js" />
78+
<Content Include="AzureResourceViewer\static\scripts\jquery.validate.js" />
79+
<Content Include="AzureResourceViewer\static\scripts\jquery.validate.min.js" />
80+
<Content Include="AzureResourceViewer\static\scripts\jquery.validate.unobtrusive.js" />
81+
<Content Include="AzureResourceViewer\static\scripts\jquery.validate.unobtrusive.min.js" />
82+
<Content Include="AzureResourceViewer\static\scripts\modernizr-2.6.2.js" />
83+
<Content Include="AzureResourceViewer\static\scripts\respond.js" />
84+
<Content Include="AzureResourceViewer\static\scripts\respond.min.js" />
85+
<Content Include="AzureResourceViewer\static\scripts\_references.js" />
86+
<Content Include="AzureResourceViewer\templates\storageaccount_details.html" />
87+
<Content Include="AzureResourceViewer\templates\subscription_details.html" />
88+
<Content Include="AzureResourceViewer\templates\resourcegroup_details.html" />
89+
<Content Include="AzureResourceViewer\templates\about.html" />
90+
<Content Include="AzureResourceViewer\templates\contact.html" />
91+
<Content Include="AzureResourceViewer\templates\index.html" />
92+
<Content Include="AzureResourceViewer\templates\layout.html" />
93+
</ItemGroup>
94+
<ItemGroup>
95+
<Interpreter Include="env\">
96+
<Id>{61d811cf-2e1d-4227-88b5-9324031510a8}</Id>
97+
<BaseInterpreter>{2af0f10d-7135-4994-9156-5d01c9c11b7e}</BaseInterpreter>
98+
<Version>3.4</Version>
99+
<Description>env (Python 3.4)</Description>
100+
<InterpreterPath>Scripts\python.exe</InterpreterPath>
101+
<WindowsInterpreterPath>Scripts\pythonw.exe</WindowsInterpreterPath>
102+
<LibraryPath>Lib\</LibraryPath>
103+
<PathEnvironmentVariable>PYTHONPATH</PathEnvironmentVariable>
104+
<Architecture>X86</Architecture>
105+
</Interpreter>
106+
</ItemGroup>
107+
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Python Tools\Microsoft.PythonTools.Web.targets" />
108+
<!-- Specify pre- and post-build commands in the BeforeBuild and
109+
AfterBuild targets below. -->
110+
<Target Name="BeforeBuild">
111+
</Target>
112+
<Target Name="AfterBuild">
113+
</Target>
114+
<ProjectExtensions>
115+
<VisualStudio>
116+
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
117+
<WebProjectProperties>
118+
<AutoAssignPort>True</AutoAssignPort>
119+
<UseCustomServer>True</UseCustomServer>
120+
<CustomServerUrl>http://localhost</CustomServerUrl>
121+
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
122+
</WebProjectProperties>
123+
</FlavorProperties>
124+
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}" User="">
125+
<WebProjectProperties>
126+
<StartPageUrl>
127+
</StartPageUrl>
128+
<StartAction>CurrentPage</StartAction>
129+
<AspNetDebugging>True</AspNetDebugging>
130+
<SilverlightDebugging>False</SilverlightDebugging>
131+
<NativeDebugging>False</NativeDebugging>
132+
<SQLDebugging>False</SQLDebugging>
133+
<ExternalProgram>
134+
</ExternalProgram>
135+
<StartExternalURL>
136+
</StartExternalURL>
137+
<StartCmdLineArguments>
138+
</StartCmdLineArguments>
139+
<StartWorkingDirectory>
140+
</StartWorkingDirectory>
141+
<EnableENC>False</EnableENC>
142+
<AlwaysStartWebServerOnDebug>False</AlwaysStartWebServerOnDebug>
143+
</WebProjectProperties>
144+
</FlavorProperties>
145+
</VisualStudio>
146+
</ProjectExtensions>
147+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.23020.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "AzureResourceViewer", "AzureResourceViewer.pyproj", "{27A0D52F-03C0-4BF5-B6B3-4634BECC05B9}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{27A0D52F-03C0-4BF5-B6B3-4634BECC05B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{27A0D52F-03C0-4BF5-B6B3-4634BECC05B9}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{27A0D52F-03C0-4BF5-B6B3-4634BECC05B9}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{27A0D52F-03C0-4BF5-B6B3-4634BECC05B9}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
EndGlobal
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
"""
2+
The flask application package.
3+
"""
4+
5+
from flask import Flask
6+
app = Flask(__name__)
7+
8+
from . import views

0 commit comments

Comments
 (0)