Skip to content

Commit

Permalink
added other endpoint option
Browse files Browse the repository at this point in the history
  • Loading branch information
mdemin914 committed Jan 16, 2013
1 parent 571508a commit 4e65a30
Show file tree
Hide file tree
Showing 17 changed files with 66 additions and 4 deletions.
Binary file modified SpeedyDelete.v11.suo
Binary file not shown.
21 changes: 17 additions & 4 deletions SpeedyDelete/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,8 @@ class Program
public Program()
{

binding = new zuora.ZuoraService();
binding.Url = ENDPOINT;
binding.Timeout = 600000;

Console.WriteLine("***** Warning Use At Your Own Risk *****");
Console.WriteLine("Enter user name: ");
username = Console.ReadLine();

Expand All @@ -68,10 +66,25 @@ public Program()
{
ENDPOINT = "https://apisandbox.zuora.com/apps/services/a/38.0";
}
else if(pors == "P")
else if (pors == "P")
{
ENDPOINT = "https://www.zuora.com/apps/services/a/38.0";
}
else if(pors != null)
{
ENDPOINT = pors;
}
binding = new zuora.ZuoraService();
binding.Url = ENDPOINT;
binding.Timeout = 600000;

Console.WriteLine("Number of Threads: ");
String numThreadsStr = Console.ReadLine();
numThreads = Convert.ToInt32(numThreadsStr);

Console.WriteLine("Number of Objects To Delete: ");
String numObjectsStr = Console.ReadLine();
numToDelete = Convert.ToInt32(numObjectsStr);

qResult = new QueryResult();
}
Expand Down
Binary file added SpeedyDelete/bin/Release/SpeedyDelete.7z
Binary file not shown.
Binary file not shown.
Binary file added SpeedyDelete/bin/Release/SpeedyDelete.exe
Binary file not shown.
15 changes: 15 additions & 0 deletions SpeedyDelete/bin/Release/SpeedyDelete.exe.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="SpeedyDelete.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
</configSections>
<applicationSettings>
<SpeedyDelete.Properties.Settings>
<setting name="ConsoleApplication1_zuora_ZuoraService" serializeAs="String">
<value>https://apisandbox.zuora.com/apps/services/a/33.0</value>
</setting>
</SpeedyDelete.Properties.Settings>
</applicationSettings>
</configuration>
Binary file added SpeedyDelete/bin/Release/SpeedyDelete.pdb
Binary file not shown.
Binary file added SpeedyDelete/bin/Release/SpeedyDelete.vshost.exe
Binary file not shown.
15 changes: 15 additions & 0 deletions SpeedyDelete/bin/Release/SpeedyDelete.vshost.exe.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="SpeedyDelete.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
</configSections>
<applicationSettings>
<SpeedyDelete.Properties.Settings>
<setting name="ConsoleApplication1_zuora_ZuoraService" serializeAs="String">
<value>https://apisandbox.zuora.com/apps/services/a/33.0</value>
</setting>
</SpeedyDelete.Properties.Settings>
</applicationSettings>
</configuration>
11 changes: 11 additions & 0 deletions SpeedyDelete/bin/Release/SpeedyDelete.vshost.exe.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
C:\Users\mdemin\Documents\Visual Studio 2010\Projects\SpeedyDelete\SpeedyDelete\bin\Release\SpeedyDelete.exe.config
C:\Users\mdemin\Documents\Visual Studio 2010\Projects\SpeedyDelete\SpeedyDelete\bin\Release\SpeedyDelete.exe
C:\Users\mdemin\Documents\Visual Studio 2010\Projects\SpeedyDelete\SpeedyDelete\bin\Release\SpeedyDelete.XmlSerializers.dll
C:\Users\mdemin\Documents\Visual Studio 2010\Projects\SpeedyDelete\SpeedyDelete\bin\Release\SpeedyDelete.pdb
C:\Users\mdemin\Documents\Visual Studio 2010\Projects\SpeedyDelete\SpeedyDelete\obj\x86\Release\SpeedyDelete.exe
C:\Users\mdemin\Documents\Visual Studio 2010\Projects\SpeedyDelete\SpeedyDelete\obj\x86\Release\SpeedyDelete.pdb
C:\Users\mdemin\Documents\Visual Studio 2010\Projects\SpeedyDelete\SpeedyDelete\obj\x86\Release\SpeedyDelete.XmlSerializers.dll
C:\Users\mdemin\Documents\Visual Studio 2010\Projects\SpeedyDelete\SpeedyDelete\obj\x86\Release\SpeedyDelete.csprojResolveAssemblyReference.cache
Binary file not shown.
Binary file added SpeedyDelete/obj/x86/Release/SpeedyDelete.exe
Binary file not shown.
Binary file added SpeedyDelete/obj/x86/Release/SpeedyDelete.pdb
Binary file not shown.
Binary file not shown.

0 comments on commit 4e65a30

Please sign in to comment.