Browse Source

feature management module updated

pull/3271/head
Ahmet Çotur 7 years ago
parent
commit
a2049e1949
  1. 7
      modules/feature-management/src/Volo.Abp.FeatureManagement.Application.Contracts/Volo/Abp/FeatureManagement/FeatureManagementRemoteServiceConsts.cs
  2. 4
      modules/feature-management/src/Volo.Abp.FeatureManagement.HttpApi.Client/Volo/Abp/FeatureManagement/AbpFeatureManagementHttpApiClientModule.cs
  3. 2
      modules/feature-management/src/Volo.Abp.FeatureManagement.HttpApi/Volo/Abp/FeatureManagement/FeaturesController.cs

7
modules/feature-management/src/Volo.Abp.FeatureManagement.Application.Contracts/Volo/Abp/FeatureManagement/FeatureManagementRemoteServiceConsts.cs

@ -0,0 +1,7 @@
namespace Volo.Abp.FeatureManagement
{
public class FeatureManagementRemoteServiceConsts
{
public const string RemoteServiceName = "FeatureManagement";
}
}

4
modules/feature-management/src/Volo.Abp.FeatureManagement.HttpApi.Client/Volo/Abp/FeatureManagement/AbpFeatureManagementHttpApiClientModule.cs

@ -9,13 +9,11 @@ namespace Volo.Abp.FeatureManagement
typeof(AbpHttpClientModule))]
public class AbpFeatureManagementHttpApiClientModule : AbpModule
{
public const string RemoteServiceName = "AbpFeatureManagement";
public override void ConfigureServices(ServiceConfigurationContext context)
{
context.Services.AddHttpClientProxies(
typeof(AbpFeatureManagementApplicationContractsModule).Assembly,
RemoteServiceName
FeatureManagementRemoteServiceConsts.RemoteServiceName
);
}
}

2
modules/feature-management/src/Volo.Abp.FeatureManagement.HttpApi/Volo/Abp/FeatureManagement/FeaturesController.cs

@ -4,7 +4,7 @@ using Volo.Abp.AspNetCore.Mvc;
namespace Volo.Abp.FeatureManagement
{
[RemoteService]
[RemoteService(Name = FeatureManagementRemoteServiceConsts.RemoteServiceName)]
[Area("abp")]
public class FeaturesController : AbpController, IFeatureAppService
{

Loading…
Cancel
Save