Browse Source

Swamy/remove unused using and refactor the code (#1552)

* Removed Unused Using and Reorganized the Using

* Removed unused using, Reorganized using, moved the class to separate file, removed commented code in Catalog.API

* Revert "Removed unused using, Reorganized using, moved the class to separate file, removed commented code in Catalog.API"

This reverts commit 34241c4306.

* Removed unused using and reorganized the using inside "Services" folder

* Removed Unused using and reoganized the using

* Refactor Webhooks.API

* Removed unused using and reorganized using inside Catalog.API

* Refactoring

* Removed unsed using

* Added line break just to differentiate between the messages
pull/1479/merge
Viswanatha Swamy 4 years ago
committed by GitHub
parent
commit
0c575b5799
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions
  1. +2
    -1
      src/Services/Catalog/Catalog.API/CatalogSettings.cs
  2. +1
    -1
      src/Services/Catalog/Catalog.API/IntegrationEvents/Events/OrderStatusChangedToPaidIntegrationEvent.cs
  3. +1
    -0
      src/Services/Catalog/Catalog.API/Proto/catalog.proto
  4. +0
    -1
      src/Services/Catalog/Catalog.FunctionalTests/CatalogScenarioBase.cs

+ 2
- 1
src/Services/Catalog/Catalog.API/CatalogSettings.cs View File

@ -7,6 +7,7 @@
public string EventBusConnection { get; set; }
public bool UseCustomizationData { get; set; }
public bool AzureStorageEnabled { get; set; }
public bool AzureStorageEnabled { get; set; }
}
}

+ 1
- 1
src/Services/Catalog/Catalog.API/IntegrationEvents/Events/OrderStatusChangedToPaidIntegrationEvent.cs View File

@ -1,7 +1,7 @@
namespace Microsoft.eShopOnContainers.Services.Catalog.API.IntegrationEvents.Events
{
using System.Collections.Generic;
using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events;
using System.Collections.Generic;
public class OrderStatusChangedToPaidIntegrationEvent : IntegrationEvent
{


+ 1
- 0
src/Services/Catalog/Catalog.API/Proto/catalog.proto View File

@ -10,6 +10,7 @@ package CatalogApi;
message CatalogItemRequest {
int32 id = 1;
}
message CatalogItemsRequest {
string ids = 1;
int32 pageSize = 2;


+ 0
- 1
src/Services/Catalog/Catalog.FunctionalTests/CatalogScenarioBase.cs View File

@ -1,4 +1,3 @@
using Autofac.Extensions.DependencyInjection;
using Catalog.API.Extensions;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;


Loading…
Cancel
Save