Configured tenant management service

pull/3032/head
Halil İbrahim Kalkan 5 years ago
parent 9868dece7e
commit 2c1aeb21b8

@ -57,6 +57,7 @@ namespace AuthServer.Host
};
await CreateApiResourceAsync("IdentityService", commonApiUserClaims);
await CreateApiResourceAsync("TenantManagementService", commonApiUserClaims);
await CreateApiResourceAsync("BloggingService", commonApiUserClaims);
await CreateApiResourceAsync("ProductService", commonApiUserClaims);
await CreateApiResourceAsync("InternalGateway", commonApiUserClaims);

@ -50,7 +50,7 @@ namespace TenantManagementService.Host
context.Services.AddSwaggerGen(options =>
{
options.SwaggerDoc("v1", new OpenApiInfo {Title = "Identity Service API", Version = "v1"});
options.SwaggerDoc("v1", new OpenApiInfo {Title = "Tenant Management Service API", Version = "v1"});
options.DocInclusionPredicate((docName, description) => true);
options.CustomSchemaIds(type => type.FullName);
});
@ -73,7 +73,7 @@ namespace TenantManagementService.Host
Configure<AbpAuditingOptions>(options =>
{
options.IsEnabledForGetRequests = true;
options.ApplicationName = "IdentityService";
options.ApplicationName = "TenantManagementService";
});
var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]);
@ -109,7 +109,7 @@ namespace TenantManagementService.Host
app.UseSwagger();
app.UseSwaggerUI(options =>
{
options.SwaggerEndpoint("/swagger/v1/swagger.json", "Identity Service API");
options.SwaggerEndpoint("/swagger/v1/swagger.json", "Tenant Management Service API");
});
app.UseAuditing();
app.UseMvcWithDefaultRouteAndArea();

@ -1,9 +1,9 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
"Default": "Debug",
"System": "Information",
"Microsoft": "Information"
}
}
}
}

@ -1,10 +1,32 @@
{
"AuthServer": {
"Authority": "http://localhost:64999",
"ApiName": "TenantManagementService"
},
"ConnectionStrings": {
"Default": "Server=localhost;Database=MsDemo_Identity;Trusted_Connection=True;MultipleActiveResultSets=true"
},
"ElasticSearch": {
"Url": "http://localhost:9200"
},
"Redis": {
"Configuration": "127.0.0.1"
},
"RabbitMQ": {
"Connections": {
"Default": {
"HostName": "localhost"
}
},
"EventBus": {
"ClientName": "MsDemo_TenantManagementService",
"ExchangeName": "MsDemo"
}
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
"Default": "Warning"
}
},
"AllowedHosts": "*"
}
}
Loading…
Cancel
Save