hi
click "Save" button, but no two databases(table spaces) specified in Database connection strings are created.
The tenant dropdown menu has Apply database migrations options.
You can click and check the logs to see what's happened.
Can the ABP Framework support creating oracle database(table spaces) if they don't exists?
Yes, ABP will use EF Core service to create a new database. see https://abp.io/docs/latest/framework/data/entity-framework-core/migrations
How do I do if I want to migrate(Clone) data in a Job table into a tenant job table during the above Tenant data migration process?
You can add a new event handle to migrate the data. There is an event when a tenant is created. IDistributedEventHandler<TenantCreatedEto>
Please check your solution there should be have a event handler:
public class MyProjectNameTenantDatabaseMigrationHandler :
IDistributedEventHandler<TenantCreatedEto>,
IDistributedEventHandler<TenantConnectionStringUpdatedEto>,
IDistributedEventHandler<ApplyDatabaseMigrationsEto>,
ITransientDependency
{
}
What is the Best Practice for Mult-Tenancy Schema & Data Migration in Oracle ?
see https://abp.io/docs/latest/framework/data/entity-framework-core/migrations
hi
You can start a new unit of work in your job class to prevent this exception.
Please share the code of your job class.
Thanks.
An attempt was made to use the context instance while it is being configured. A DbContext instance cannot be used inside 'OnConfiguring' since it is still being configured at this point. This can happen if a second operation is started on this context instance before a previous operation completed. Any instance members are not guaranteed to be thread safe.
https://abp.io/docs/latest/framework/architecture/domain-driven-design/unit-of-work#begin-a-new-unit-of-work
hi
Does your project have a public website?
Please share a screenshot of your project structure.
Your project currently requires the Redis.
Thanks.
hi
How do you recommend to implement this?
There is no limit on this; you can do this. It's just not common.
Do ABP has some base classes for it? > Should I extend ApplicationService base class in each service?
We have ApplicationService but you can use your own base class. you can refer the source code of ApplicationService
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Ddd.Application/Volo/Abp/Application/Services/ApplicationService.cs
How can I call each one in the controller?
As usual, inject the service interface and call the method.
hi
You can use Hangfire without AddAbpDbContext, Just using an EF COreDbContext with the correct connection string.
is reloadOnChange only for appsettings.json?
The appsettings.json is add by asp net core.
https://github.com/dotnet/aspnetcore/blob/main/src/DefaultBuilder/src/WebApplicationBuilder.cs#L273
I don't know how Swagger and yarp work together. sorry for that. You can check the official sample of yarp.
hi
Sending HTTP request "POST" http://localhost:44396/integration-api/coreaccounting/address/create?api-version=1.0 End processing HTTP request after 506.2006ms - 404
There is no controller in HttpApi module of your CoreAccoungingManagement.
You need to add controllers for your app services. Not recommand to use Auto API Controllers in microservices.
https://github.com/abpframework/abp/tree/dev/modules/identity/src/Volo.Abp.Identity.HttpApi/Volo/Abp/Identity
hi
You said: I find that yarp will automatically update swagger when the configuration file is changed?
Does the abp template project not update swagger automatically?
If so. Can you share a sample code of yarp that works? I will compare the code with the abp template project.
I checked the document https://microsoft.github.io/reverse-proxy/articles/config-providers.html
abp will always set reloadOnChange to ture for appsettings.json.
Thanks.
hi
When can we expect this to be available in an ABP release?
You can try to upgrade Studio to 0.9.16 and create a project.
Is there a way we can apply the translations we made even before that to our local installation? Would imagine it might require access to the entire source code to do it (ie abp translate -a )?
If you find a module missing sv, I will share the abp-translation.json again.
Thanks.
hi
Our angular team will check your question.
Thanks.