Skip to content

Commit e0d92e9

Browse files
committed
Updated name CreditClient -> ServicesClient
1 parent 92026fb commit e0d92e9

22 files changed

+33
-34
lines changed

EthernaCreditClient.sln EthernaServicesClient.sln

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
77
ProjectSection(SolutionItems) = preProject
88
.editorconfig = .editorconfig
99
.gitignore = .gitignore
10-
EthernaCreditClient.sln.licenseheader = EthernaCreditClient.sln.licenseheader
10+
EthernaServicesClient.sln.licenseheader = EthernaServicesClient.sln.licenseheader
1111
LICENSE = LICENSE
1212
EndProjectSection
1313
EndProject
1414
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{CC8EACB1-0C4A-456E-9A99-AEE5BB64CADF}"
1515
EndProject
16-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EthernaCreditClient", "src\EthernaCreditClient\EthernaCreditClient.csproj", "{54CD0D09-BC23-4161-8670-CCF5E60CBAFC}"
16+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EthernaServicesClient", "src\EthernaServicesClient\EthernaServicesClient.csproj", "{54CD0D09-BC23-4161-8670-CCF5E60CBAFC}"
1717
EndProject
1818
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{A114E283-B827-40F8-9180-E13DD3C455CD}"
1919
EndProject
@@ -29,7 +29,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tools", "tools", "{5B6130FF
2929
tools\etherna-credit-api.nswag = tools\etherna-credit-api.nswag
3030
EndProjectSection
3131
EndProject
32-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EthernaCreditClient.AspNetCore", "src\EthernaCreditClient.AspNetCore\EthernaCreditClient.AspNetCore.csproj", "{7693BBBF-4B84-4A6E-9D13-7F736D0317A8}"
32+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EthernaServicesClient.AspNetCore", "src\EthernaServicesClient.AspNetCore\EthernaServicesClient.AspNetCore.csproj", "{7693BBBF-4B84-4A6E-9D13-7F736D0317A8}"
3333
EndProject
3434
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AspNetCoreWorkerSample", "samples\AspNetCoreWorkerSample\AspNetCoreWorkerSample.csproj", "{977F4222-3A1C-4647-8DA7-78CAA37163A9}"
3535
EndProject
File renamed without changes.

samples/AspNetCoreWorkerSample/AspNetCoreWorkerSample.csproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
<IsPackable>false</IsPackable>
77
<LangVersion>8.0</LangVersion>
88
<Nullable>enable</Nullable>
9+
<RootNamespace>Etherna.ServicesClient.AspSampleClient</RootNamespace>
910
</PropertyGroup>
1011

1112
<ItemGroup>
12-
<ProjectReference Include="..\..\src\EthernaCreditClient.AspNetCore\EthernaCreditClient.AspNetCore.csproj" />
13+
<ProjectReference Include="..\..\src\EthernaServicesClient.AspNetCore\EthernaServicesClient.AspNetCore.csproj" />
1314
</ItemGroup>
1415

1516
</Project>

samples/AspNetCoreWorkerSample/Pages/Error.cshtml.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
using Microsoft.AspNetCore.Mvc.RazorPages;
1717
using System.Diagnostics;
1818

19-
namespace AspNetCoreWorkerSample.Pages
19+
namespace Etherna.ServicesClient.AspSampleClient.Pages
2020
{
2121
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
2222
public class ErrorModel : PageModel

samples/AspNetCoreWorkerSample/Pages/Index.cshtml.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
using Etherna.CreditClient;
1615
using Microsoft.AspNetCore.Mvc.RazorPages;
1716
using Microsoft.Extensions.Configuration;
1817
using System.Threading.Tasks;
1918

20-
namespace AspNetCoreWorkerSample.Pages
19+
namespace Etherna.ServicesClient.AspSampleClient.Pages
2120
{
2221
public class IndexModel : PageModel
2322
{

samples/AspNetCoreWorkerSample/Pages/Privacy.cshtml.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
using Microsoft.AspNetCore.Mvc.RazorPages;
1616

17-
namespace AspNetCoreWorkerSample.Pages
17+
namespace Etherna.ServicesClient.AspSampleClient.Pages
1818
{
1919
public class PrivacyModel : PageModel
2020
{

samples/AspNetCoreWorkerSample/Pages/_ViewImports.cshtml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
* limitations under the License.
1414
*@
1515

16-
@using AspNetCoreWorkerSample
17-
@namespace AspNetCoreWorkerSample.Pages
16+
@using Etherna.ServicesClient.AspSampleClient
17+
@namespace Etherna.ServicesClient.AspSampleClient.Pages
1818
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

samples/AspNetCoreWorkerSample/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
using Microsoft.Extensions.Hosting;
2222
using Microsoft.Extensions.Logging;
2323

24-
namespace AspNetCoreWorkerSample
24+
namespace Etherna.ServicesClient.AspSampleClient
2525
{
2626
public class Program
2727
{

samples/AspNetCoreWorkerSample/Startup.cs

+2-6
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,14 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
using System;
16-
using System.Collections.Generic;
17-
using System.Linq;
18-
using System.Threading.Tasks;
1915
using Microsoft.AspNetCore.Builder;
2016
using Microsoft.AspNetCore.Hosting;
21-
using Microsoft.AspNetCore.HttpsPolicy;
2217
using Microsoft.Extensions.Configuration;
2318
using Microsoft.Extensions.DependencyInjection;
2419
using Microsoft.Extensions.Hosting;
20+
using System;
2521

26-
namespace AspNetCoreWorkerSample
22+
namespace Etherna.ServicesClient.AspSampleClient
2723
{
2824
public class Startup
2925
{

samples/ConsoleWorkerSample/ConsoleWorkerSample.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
55
<TargetFramework>netcoreapp3.1</TargetFramework>
6-
<RootNamespace>Etherna.CreditClient.SampleClient</RootNamespace>
6+
<RootNamespace>Etherna.ServicesClient.SampleClient</RootNamespace>
77
<Authors>Etherna Sagl</Authors>
88
<IsPackable>false</IsPackable>
99
<LangVersion>8.0</LangVersion>
1010
<Nullable>enable</Nullable>
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<ProjectReference Include="..\..\src\EthernaCreditClient\EthernaCreditClient.csproj" />
14+
<ProjectReference Include="..\..\src\EthernaServicesClient\EthernaServicesClient.csproj" />
1515
</ItemGroup>
1616

1717
</Project>

samples/ConsoleWorkerSample/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using System.Net.Http;
1818
using System.Threading.Tasks;
1919

20-
namespace Etherna.CreditClient.ServiceSampleClient
20+
namespace Etherna.ServicesClient.SampleClient
2121
{
2222
class Program
2323
{

src/EthernaCreditClient.AspNetCore/EthernaCreditClient.AspNetCore.csproj src/EthernaServicesClient.AspNetCore/EthernaServicesClient.AspNetCore.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
<PropertyGroup>
44
<TargetFramework>netcoreapp3.1</TargetFramework>
55
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
6-
<RootNamespace>Etherna.CreditClient.AspNetCore</RootNamespace>
6+
<RootNamespace>Etherna.ServicesClient.AspNetCore</RootNamespace>
77
<Authors>Etherna Sagl</Authors>
8-
<Description>Asp.Net Core adapter for EthernaCreditClient</Description>
8+
<Description>Asp.Net Core adapter for EthernaServicesClient</Description>
99
<LangVersion>9.0</LangVersion>
1010
<Nullable>enable</Nullable>
1111
<EnableNETAnalyzers>true</EnableNETAnalyzers>
1212
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
1313

14-
<RepositoryUrl>https://github.com/Etherna/etherna-credit-client</RepositoryUrl>
14+
<RepositoryUrl>https://github.com/Etherna/etherna-services-client</RepositoryUrl>
1515
<RepositoryType>git</RepositoryType>
1616
<PublishRepositoryUrl>true</PublishRepositoryUrl>
1717
<IncludeSymbols>true</IncludeSymbols>
@@ -39,7 +39,7 @@
3939
</ItemGroup>
4040

4141
<ItemGroup>
42-
<ProjectReference Include="..\EthernaCreditClient\EthernaCreditClient.csproj" />
42+
<ProjectReference Include="..\EthernaServicesClient\EthernaServicesClient.csproj" />
4343
</ItemGroup>
4444

4545
<ItemGroup>

src/EthernaCreditClient.AspNetCore/ServiceCollectionExtensions.cs src/EthernaServicesClient.AspNetCore/ServiceCollectionExtensions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
using Etherna.CreditClient;
15+
using Etherna.ServicesClient;
1616
using IdentityModel.Client;
1717
using System;
1818
using System.Net.Http;

src/EthernaCreditClient/EthernaCreditClient.csproj src/EthernaServicesClient/EthernaServicesClient.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
<PropertyGroup>
44
<TargetFramework>netcoreapp3.1</TargetFramework>
55
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
6-
<RootNamespace>Etherna.CreditClient</RootNamespace>
6+
<RootNamespace>Etherna.ServicesClient</RootNamespace>
77
<Authors>Etherna Sagl</Authors>
8-
<Description>A .Net client for Etherna Credit service</Description>
8+
<Description>A .Net client for Etherna services</Description>
99
<LangVersion>9.0</LangVersion>
1010
<Nullable>enable</Nullable>
1111
<EnableNETAnalyzers>true</EnableNETAnalyzers>
1212
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
1313

14-
<RepositoryUrl>https://github.com/Etherna/etherna-credit-client</RepositoryUrl>
14+
<RepositoryUrl>https://github.com/Etherna/etherna-services-client</RepositoryUrl>
1515
<RepositoryType>git</RepositoryType>
1616
<PublishRepositoryUrl>true</PublishRepositoryUrl>
1717
<IncludeSymbols>true</IncludeSymbols>

src/EthernaCreditClient/IServiceCreditClient.cs src/EthernaServicesClient/IServiceCreditClient.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
namespace Etherna.CreditClient
15+
namespace Etherna.ServicesClient
1616
{
1717
public interface IServiceCreditClient
1818
{

src/EthernaCreditClient/IUserCreditClient.cs src/EthernaServicesClient/IUserCreditClient.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
namespace Etherna.CreditClient
15+
namespace Etherna.ServicesClient
1616
{
1717
public interface IUserCreditClient
1818
{

src/EthernaCreditClient/NSwagGeneratedClient.cs src/EthernaServicesClient/NSwagGeneratedClient.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#pragma warning disable 1591 // Disable "CS1591 Missing XML comment for publicly visible type or member ..."
2828
#pragma warning disable 8073 // Disable "CS8073 The result of the expression is always 'false' since a value of type 'T' is never equal to 'null' of type 'T?'"
2929

30-
namespace Etherna.CreditClient
30+
namespace Etherna.ServicesClient
3131
{
3232
using System = global::System;
3333

src/EthernaCreditClient/ServiceCreditClient.cs src/EthernaServicesClient/ServiceCreditClient.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using System;
1616
using System.Net.Http;
1717

18-
namespace Etherna.CreditClient
18+
namespace Etherna.ServicesClient
1919
{
2020
public class ServiceCreditClient : IServiceCreditClient
2121
{

src/EthernaCreditClient/UserCreditClient.cs src/EthernaServicesClient/UserCreditClient.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using System;
1616
using System.Net.Http;
1717

18-
namespace Etherna.CreditClient
18+
namespace Etherna.ServicesClient
1919
{
2020
public class UserCreditClient : IUserCreditClient
2121
{

tools/etherna-credit-api.nswag

+4-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"useBaseUrl": true,
2929
"generateBaseUrlProperty": true,
3030
"generateSyncMethods": false,
31+
"generatePrepareRequestAndProcessResponseAsAsyncMethods": false,
3132
"exposeJsonSerializerSettings": false,
3233
"clientClassAccessModifier": "public",
3334
"typeAccessModifier": "public",
@@ -55,7 +56,7 @@
5556
"wrapResponseMethods": [],
5657
"generateResponseClasses": true,
5758
"responseClass": "SwaggerResponse",
58-
"namespace": "Etherna.CreditClient",
59+
"namespace": "Etherna.ServicesClient",
5960
"requiredPropertiesMustBeDefined": true,
6061
"dateType": "System.DateTimeOffset",
6162
"jsonConverters": null,
@@ -70,6 +71,7 @@
7071
"arrayBaseType": "System.Collections.ObjectModel.Collection",
7172
"dictionaryBaseType": "System.Collections.Generic.Dictionary",
7273
"classStyle": "Poco",
74+
"jsonLibrary": "NewtonsoftJson",
7375
"generateDefaultValues": true,
7476
"generateDataAnnotations": true,
7577
"excludedTypeNames": [],
@@ -89,6 +91,7 @@
8991
"typeNameGeneratorType": null,
9092
"propertyNameGeneratorType": null,
9193
"enumNameGeneratorType": null,
94+
"checksumCacheEnabled": false,
9295
"serviceHost": null,
9396
"serviceSchemes": null,
9497
"output": "../src/EthernaCreditClient/NSwagGeneratedClient.cs",

0 commit comments

Comments
 (0)