Skip to content

Commit 4d6173a

Browse files
author
Alan Quillin
committed
Added Nuget specs and updated to latest SimpleRESTServices
1 parent af334b4 commit 4d6173a

60 files changed

Lines changed: 14571 additions & 12478 deletions

File tree

Some content is hidden

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

.gitignore

Lines changed: 56 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,59 @@
1+
#OS junk files
2+
[Tt]humbs.db
3+
*.DS_Store
4+
5+
#Visual Studio files
6+
*.[Oo]bj
7+
*.user
8+
*.aps
9+
*.pch
10+
*.vspscc
11+
*.vssscc
12+
*_i.c
13+
*_p.c
14+
*.ncb
15+
*.suo
16+
*.tlb
17+
*.tlh
18+
*.bak
19+
*.[Cc]ache
20+
*.ilk
21+
*.log
22+
*.lib
23+
*.sbr
24+
*.sdf
25+
*.opensdf
26+
*.unsuccessfulbuild
27+
ipch/
28+
obj/
129
[Bb]in
230
[Oo]bj
3-
_ReSharper.*
31+
[Dd]ebug*/
32+
[Rr]elease*/
33+
Ankh.NoLoad
34+
35+
#Tooling
36+
_ReSharper*/
37+
*.resharper
38+
[Tt]est[Rr]esult*
39+
40+
#Project files
41+
[Bb]uild/
42+
43+
#Subversion files
44+
.svn/
45+
46+
# Office Temp Files
47+
~$*
48+
49+
#Git
50+
*.orig
51+
52+
#SQL Source Control
53+
CommandLineHooks.xml
54+
55+
#MSTest Test Results
456
TestResults
5-
*.suo
6-
*.user
57+
58+
#NuGet
59+
*.nupkg

lib/SimpleRestServices.dll

-32 KB
Binary file not shown.

lib/SimpleRestServices.pdb

-67.5 KB
Binary file not shown.

src/console/console.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
</PropertyGroup>
3737
<ItemGroup>
3838
<Reference Include="Newtonsoft.Json">
39-
<HintPath>..\packages\Newtonsoft.Json.4.5.10\lib\net40\Newtonsoft.Json.dll</HintPath>
39+
<HintPath>..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll</HintPath>
4040
</Reference>
41-
<Reference Include="SimpleRestServices, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
42-
<HintPath>..\..\lib\SimpleRestServices.dll</HintPath>
41+
<Reference Include="SimpleRESTServices">
42+
<HintPath>..\packages\SimpleRESTServices.1.0.0.0\lib\net40\SimpleRESTServices.dll</HintPath>
4343
</Reference>
4444
<Reference Include="System" />
4545
<Reference Include="System.Core" />

src/console/packages.config

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Newtonsoft.Json" version="4.5.10" targetFramework="net40" />
3+
<package id="Newtonsoft.Json" version="4.5.11" targetFramework="net40" />
4+
<package id="SimpleRESTServices" version="1.0.0.0" targetFramework="net40" />
45
</packages>

src/corelib/Core/Exceptions/Response/BadServiceRequestException.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ namespace net.openstack.Core.Exceptions.Response
22
{
33
public class BadServiceRequestException : ResponseException
44
{
5-
public BadServiceRequestException(SimpleRestServices.Client.Response response) : base("Unable to process the service request. Please try again later.", response) { }
5+
public BadServiceRequestException(JSIStudios.SimpleRESTServices.Client.Response response) : base("Unable to process the service request. Please try again later.", response) { }
66

7-
public BadServiceRequestException(string message, SimpleRestServices.Client.Response response) : base(message, response) {}
7+
public BadServiceRequestException(string message, JSIStudios.SimpleRESTServices.Client.Response response) : base(message, response) { }
88
}
99
}

src/corelib/Core/Exceptions/Response/ItemNotFoundException.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ namespace net.openstack.Core.Exceptions.Response
22
{
33
public class ItemNotFoundException : ResponseException
44
{
5-
public ItemNotFoundException(SimpleRestServices.Client.Response response) : base("The item was not found or does not exist.", response){ }
5+
public ItemNotFoundException(JSIStudios.SimpleRESTServices.Client.Response response) : base("The item was not found or does not exist.", response) { }
66

7-
public ItemNotFoundException(string message, SimpleRestServices.Client.Response response) : base(message, response){ }
7+
public ItemNotFoundException(string message, JSIStudios.SimpleRESTServices.Client.Response response) : base(message, response) { }
88
}
99
}

src/corelib/Core/Exceptions/Response/MethodNotImplementedException.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ namespace net.openstack.Core.Exceptions.Response
77
{
88
class MethodNotImplementedException : ResponseException
99
{
10-
public MethodNotImplementedException(SimpleRestServices.Client.Response response) : base("The requested method is not implemented at the service.", response) { }
10+
public MethodNotImplementedException(JSIStudios.SimpleRESTServices.Client.Response response) : base("The requested method is not implemented at the service.", response) { }
1111

12-
public MethodNotImplementedException(string message, SimpleRestServices.Client.Response response) : base(message, response) {}
12+
public MethodNotImplementedException(string message, JSIStudios.SimpleRESTServices.Client.Response response) : base(message, response) { }
1313
}
1414
}

src/corelib/Core/Exceptions/Response/ResponseException.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ namespace net.openstack.Core.Exceptions.Response
55
[Serializable]
66
public class ResponseException : Exception
77
{
8-
public SimpleRestServices.Client.Response Response { get; private set; }
9-
public ResponseException(string message, SimpleRestServices.Client.Response response) : base(message)
8+
public JSIStudios.SimpleRESTServices.Client.Response Response { get; private set; }
9+
public ResponseException(string message, JSIStudios.SimpleRESTServices.Client.Response response)
10+
: base(message)
1011
{
1112
Response = response;
1213
}

src/corelib/Core/Exceptions/Response/ServiceFaultException.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ namespace net.openstack.Core.Exceptions.Response
22
{
33
public class ServiceFaultException : ResponseException
44
{
5-
public ServiceFaultException(SimpleRestServices.Client.Response response) : base("There was an unhandled error at the service endpoint. Please try again later.", response) { }
5+
public ServiceFaultException(JSIStudios.SimpleRESTServices.Client.Response response) : base("There was an unhandled error at the service endpoint. Please try again later.", response) { }
66

7-
public ServiceFaultException(string message, SimpleRestServices.Client.Response response) : base(message, response){}
7+
public ServiceFaultException(string message, JSIStudios.SimpleRESTServices.Client.Response response) : base(message, response) { }
88
}
99
}

0 commit comments

Comments
 (0)