run abp new <solution name> -t microservice-pro -u angular
Open ProductService in generated project
Open it with Abp Suite.
Create a Entity like Book
fields is doesn't matter but I added "name" and "price"
go to tests project try to build. you will get build error.
ACME.BookStore.ProductService.TestBase and ACME.BookStore.ProductService.EntityFrameworkCore.Tests
Generated test by Abp Suite should works without any error.
bonus: it seems bug. Could you return our credit?
TLDR; I follow the steps in the link. it won't work for Angular UI. https://docs.abp.io/en/commercial/latest/startup-templates/microservice/add-microservice
I'm encountering difficulties in creating an Angular library and UI for a new microservice within an ABP Microservice-Service-Pro template using Angular. Here's a detailed breakdown of the issue:
Steps to Reproduce:
1- Project Setup:
Created a new project using abp new <solution name> -t microservice-pro -u angular
.
2- Adding a New Microservice:
Followed the ABP Documentation https://docs.abp.io/en/commercial/latest/startup-templates/microservice/add-microservice for adding a new microservice.
The process did not generate an Angular library for the new service.
3- Adding Entities with ABP Suite:
ProductService
(present in the initial template) results or Open ProductService project in ABP Suite and add an Entity like book. (it will create the UI and backend)abp new OrderService -t microservice-service-pro
, UI generation is not happening.Expected Behavior:
I expect:
Create an Angular library for the newly added microservice or document can describe how to do that (Because I added with ng generate library order-service
or ng generate library OrderService
it won't create any UI)
Creating entity on Angular with UI
Bonus: A CLI command for code generation of created entity with ABP Suite like abp generate -t ng ...
but for suite like abp suite generate -t ng --entityName Book -target ...
If the command exists I can create library with ng cli and I can execute ABP generation but it is optional. I just need I can create entity with suite and the entity produce frontend and backend.