ABP Framework version: 8.0.3
UI Type: Angular
Database System: MongoDB
Tiered (for MVC) yes or Auth Server Separated (for Angular): yes
Steps to reproduce the issue: I need to remove the some out of box services that are provided by ABP microservices template. Please note that I do not need the authentication and authorization from ABP and need to add my own microservices. Please help me on how to do it?
3 Answer(s)
-
0
Hi
I need to remove the some out of box services that are provided by ABP microservices template
I'm assuming here that removing the language management service:
- Remove all
Volo.Abp.LanguageManagement
packages from the solution - Update the
AdministrationServiceDbContext
to remove related code(entity, ConfigureLanguageManagement, namespce using etc..) - Remove all module references, for example:
typeof(LanguageManagementEntityFrameworkCoreModule),
,typeof(LanguageManagementApplicationModule),
- Update
AdministrationServiceEntityFrameworkCoreModule
to removeoptions.ReplaceDbContext<ILanguageManagementDbContext>();
- Run the
dotnet ef migrations add Remove_Language_Management
command on the...AdministrationService.EntityFrameworkCore
folder to add a new migrations file - Run the
DbMigrator
to apply the change. - Update
yarp.json
file to removeLanguageManagement
route config. - Remove
@volo/abp.ng.language-management
frompackage.json
and remove related code from Angular UI.
Please note that I do not need the authentication and authorization from ABP
You can add the
AddAlwaysAllowAuthorization
to theSharedHostingAspNetCoreModule
classneed to add my own microservices
See https://docs.abp.io/en/commercial/latest/startup-templates/microservice/add-microservice
- Remove all
-
0
It is not about the LanguageManagement Service. I need to remove the administration and identity microservice as I don't need them.
-
0
The administration and identity are the basis of microservices, If you remove them, the microservice template will not work.