Skip to content

Commit

Permalink
fix: integration core lib renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
onurkanbakirci committed Dec 21, 2023
1 parent ac6f965 commit a431256
Show file tree
Hide file tree
Showing 50 changed files with 52 additions and 52 deletions.
2 changes: 1 addition & 1 deletion Integration.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{8D1AC917-32E3-4579-9A06-B6190C1B9F31}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Integration.Core", "src\Integration.Core\Integration.Core.csproj", "{2E841AED-7444-4875-8D11-D756A01105FD}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Integration.Hub", "src\Integration.Hub\Integration.Hub.csproj", "{2E841AED-7444-4875-8D11-D756A01105FD}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Marketplaces", "Marketplaces", "{E2F4960B-14E1-40D3-9A7B-8528FA989D0F}"
EndProject
Expand Down
4 changes: 0 additions & 4 deletions src/Integration.Core/IModel.cs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Integration.Core;
namespace Integration.Hub;
public class BulkModel<T> : IRequestModel, IResponseModel
{
public List<T> Items { get; set; }

Check warning on line 4 in src/Integration.Hub/BulkModel.cs

View workflow job for this annotation

GitHub Actions / Build Lib

Non-nullable property 'Items' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 4 in src/Integration.Hub/BulkModel.cs

View workflow job for this annotation

GitHub Actions / Build Lib

Non-nullable property 'Items' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
namespace Integration.Core;
namespace Integration.Hub;
public interface IFilterBuilder
{

}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Integration.Core;
namespace Integration.Hub;
public interface IMarketplaceIntegration
{
}
4 changes: 4 additions & 0 deletions src/Integration.Hub/IModel.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
namespace Integration.Hub;
public interface IModel
{
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Integration.Core;
namespace Integration.Hub;
public class IRequestModel : IModel
{
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Integration.Core;
namespace Integration.Hub;
public interface IResponseModel : IModel
{
}
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
using System.Text;
using System.Text.Json;

namespace Integration.Core;
namespace Integration.Hub;

public class IntegrationBase
{
protected static readonly HttpClient _httpClient;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Integration.Core;
namespace Integration.Hub;
public class PaginationModel : IResponseModel
{
public int TotalElements { get; set; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;

namespace Integration.Marketplaces.Trendyol.Infrastructure;
public class HepsiburadaIntegrationBase : IntegrationBase
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;
using Integration.Marketplaces.Hepsiburada.Infrastructure.ProductIntegration.Models.Response;
using Integration.Marketplaces.Trendyol.Infrastructure;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;

namespace Integration.Marketplaces.Hepsiburada.Infrastructure.ProductIntegration.Models.Response;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;

namespace Integration.Marketplaces.Hepsiburada.Infrastructure.ProductIntegration.Models.Response;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;

namespace Integration.Marketplaces.Hepsiburada.Infrastructure.ProductIntegration.Models.Response;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;

namespace Integration.Marketplaces.Hepsiburada.Infrastructure.ProductIntegration.Models.Response;
public class HepsiburadaBaseResponseModel : IResponseModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<ProjectReference Include="..\..\Integration.Core\Integration.Core.csproj" />
<ProjectReference Include="..\..\Integration.Hub\Integration.Hub.csproj" />
</ItemGroup>

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;

namespace Integration.Marketplaces.Trendyol.Infrastructure.ClaimIntegration.Helpers;
public class ClaimFilterBuilder : IFilterBuilder
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;
namespace Integration.Marketplaces.Trendyol.Infrastructure.ClaimIntegration.Models.Request;
public class ApproveClaimLineItemsRequestModel : IRequestModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;
using Integration.Marketplaces.Trendyol.Infrastructure.ClaimIntegration.Constants;
namespace Integration.Marketplaces.Trendyol.Infrastructure.ClaimIntegration.Models.Request;
public class CreateClaimRequestModel : IRequestModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;
namespace Integration.Marketplaces.Trendyol.Infrastructure.ClaimIntegration.Models.Response;
public class GetClaimsResponseModel : PaginationModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;
using Integration.Marketplaces.Trendyol.Infrastructure;
using Integration.Marketplaces.Trendyol.Infrastructure.ClaimIntegration;
using Integration.Marketplaces.Trendyol.Infrastructure.ClaimIntegration.Models.Request;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;
using Integration.Marketplaces.Trendyol.Infrastructure.OrderIntegration.Constants;

namespace Integration.Marketplaces.Trendyol.Infrastructure.OrderIntegration.Helpers;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;
namespace Integration.Marketplaces.Trendyol.Infrastructure.PackageIntegration.Models.Request;
public class AddInvoiceLinkRequestModel : IRequestModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;
namespace Integration.Marketplaces.Trendyol.Infrastructure.PackageIntegration.Models.Request;
public class DeleteInvoiceLinkRequestModel : IRequestModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;
namespace Integration.Marketplaces.Trendyol.Infrastructure.PackageIntegration.Models.Request;
public class SplitMultiPackageByQuantityRequestModel : IRequestModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;
namespace Integration.Marketplaces.Trendyol.Infrastructure.PackageIntegration.Models.Request;
public class SplitMultiShipmentPackageRequestModel : IRequestModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;
namespace Integration.Marketplaces.Trendyol.Infrastructure.PackageIntegration.Models.Request;
public class SplitShipmentPackageRequestModel : IRequestModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;
namespace Integration.Marketplaces.Trendyol.Infrastructure.PackageIntegration.Models.Request;
public class UpdateBoxInfoRequestModel : IRequestModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;
using Integration.Marketplaces.Trendyol.Infrastructure.OrderIntegration.Constants;
namespace Integration.Marketplaces.Trendyol.Infrastructure.PackageIntegration.Models.Request;
public class UpdatePackageRequestModel : IRequestModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;
namespace Integration.Marketplaces.Trendyol.Infrastructure.PackageIntegration.Models.Request;
public class UpdateTrackingNumberRequestModel : IRequestModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;
using Integration.Marketplaces.Trendyol.Infrastructure.OrderIntegration.Constants;
namespace Integration.Marketplaces.Trendyol.Infrastructure.PackageIntegration.Models.Response;
public class GetShipmentPackagesResponseModel : PaginationModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;
using Integration.Marketplaces.Trendyol.Infrastructure.OrderIntegration;
using Integration.Marketplaces.Trendyol.Infrastructure.PackageIntegration.Models.Request;
using Integration.Marketplaces.Trendyol.Infrastructure.PackageIntegration.Models.Response;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;

namespace Integration.Marketplaces.Trendyol.Infrastructure.ProductIntegration.Helpers;
public class ProductFilterBuilder : IFilterBuilder
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;
using Integration.Marketplaces.Trendyol.Infrastructure.ProductIntegration.Models.Request;
using Integration.Marketplaces.Trendyol.Infrastructure.ProductIntegration.Models.Response;
using Integration.Marketplaces.Trendyol.Models.Provider;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;

namespace Integration.Marketplaces.Trendyol.Infrastructure.ProductIntegration.Models.Request;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;
namespace Integration.Marketplaces.Trendyol.Infrastructure.ProductIntegration.Models.Request;
public class DeleteProductRequestModel : IRequestModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;

namespace Integration.Marketplaces.Trendyol.Infrastructure.ProductIntegration.Models.Request;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;

namespace Integration.Marketplaces.Trendyol.Infrastructure.ProductIntegration.Models.Request;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;

namespace Integration.Marketplaces.Trendyol.Infrastructure.ProductIntegration.Models.Response;
public class FilterProductsResponseModel : PaginationModel, IResponseModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;
namespace Integration.Marketplaces.Trendyol.Infrastructure.ProductIntegration.Models.Response;
public class GetBatchRequestResultResponseModel : IResponseModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;

namespace Integration.Marketplaces.Trendyol.Infrastructure.ProductIntegration.Models.Response;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;

namespace Integration.Marketplaces.Trendyol.Infrastructure.ProductIntegration.Models.Response;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;

namespace Integration.Marketplaces.Trendyol.Infrastructure.ProductIntegration.Models.Response;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;

namespace Integration.Marketplaces.Trendyol.Models.Provider;
public class GetProviderResponseModel : IResponseModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;

namespace Integration.Marketplaces.Trendyol.Infrastructure.ProductIntegration.Models.Response;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;
using Integration.Marketplaces.Trendyol.Infrastructure.ProductIntegration.Constants;
using Integration.Marketplaces.Trendyol.Infrastructure.ProductIntegration.Models.Request;
using Integration.Marketplaces.Trendyol.Infrastructure.ProductIntegration.Models.Response;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Integration.Core;
using Integration.Hub;

namespace Integration.Marketplaces.Trendyol.Infrastructure;
public class TrendyolIntegrationBase : IntegrationBase
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<ProjectReference Include="..\..\Integration.Core\Integration.Core.csproj" />
<ProjectReference Include="..\..\Integration.Hub\Integration.Hub.csproj" />
</ItemGroup>

<PropertyGroup>
Expand Down

0 comments on commit a431256

Please sign in to comment.