According to the user’s demand feedback, after two months of research and development, it now supports multi-tenant, multi-application and other typical engineering structures. In future releases, we will continue to upgrade to support more types of projects. Our goal is to produce an engineering architecture that is closest to the architect’s needs, a uniform code structure specification, and more reusable business code. See the list of new features below for more details, as well as the screenshots at the end of this article (zooming in is highly recommended). Multi-application function
- The generator supports multiple applications and maintains a many-to-many relationship between applications and services. The service pool feature is basically supported and will continue to be improved in future releases.
- Single project can create WebAdmin background application and WebApi application facing front-end App at the same time.
- Microservice project can create very typical single backstage WebAdmin application and WebApi microservice application facing front-end App. In addition, WebAdmin background applications can also be configured as microservice applications and share common service services in the service pool with WebApi applications.
- In the multi-tenant project, three applications can be created at the same time: tenant operation management background application TenantAdmin, tenant operation background application, and WebApi application for tenant front-end App.
- The multi-tenant operation management background application TenantAdmin not only has built-in rights management and tenant operation management functions, but also supports the configuration of user-defined service forms and tenant statistics forms.
- The datasource_name field is added to the high water mark table of scheduled tasks. After the upgrade, you can configure the Job service to collect data about service behaviors in different tenant databases in different groups and refresh the data to the tenant operation management database. Then, the data can be displayed in the configured statistics form.
- The WebAdmin background service described above still provides forms and permissions as in previous versions. As a front-end interface application, WebApi will not provide forms and permissions in order to reduce architect tailoring.
- Multi-tenant project: supports global public dictionary and tenant dictionary. The former is centrally managed by the tenant operation management background and tenant dictionary data can be maintained by the tenant administrator. To ensure overall runtime efficiency, both support caching Redis.
Modify the description
- Modify the generator’s project configuration page to support multiple applications.
- The user configures multiple forms in the generator to reference each other. When forms are cyclically dependent, the generator permission deduction has a looped reference bug, which has been fixed.
- The imported data table field names were not properly synchronized to the service table while refreshing in generator, fixed.
- The data fields of the slave table are not synchronized to the filtering option of the form when one-to-many slave table filtering is configured. Therefore, the slave table field cannot be selected as the filtering option when the form is configured. This issue has been fixed.
- An error message is displayed when the imported data table field is Blob. Blob fields are supported.
- For the micro service project, the original interface package named XXXX-interface is now changed to XXXX-API.
- Fix a data table validation error when configuring a full table refresh type Job processor.
- In the generator, the Api generation mode is removed, and the new version of WebApi application will better support this feature.
A significant advantage
- It helps to organize the architecture of the Platform, supports sharing of micro-service pools, and can generate more than 70% of the relatively complex business codes of the platform.
- Pure handmade, reasonable control mode, textbook 5A Code quality, successfully passed the most stringent scan of SonarQube and Alibaba Code Guide.
- High-quality code, cutting-edge efficient design, mature routines and strategies will not only improve the early development efficiency, but also greatly reduce the later maintenance cost.
- Support all the mainstream microservice architecture technology stacks in the industry, and can be normalized configuration combination according to demand.
- Through the orange sheet can be configured, application structure, service partition, database link, data table structure, field constraints, data table association, data dictionary, data synchronization rules, Job group calculation rules, menus and forms, and then can generate out of the box complete engineering code.
- Professional, perfect, detailed, dark eye protection, completely free open and synchronous update of nearly 180,000 words online documents.
- We respond to technical feedback, consultation and communication in a timely manner, often answering questions while driving at the light.
- The generated project is not restricted by any License, can be modified, and can be used in any number of commercial projects.
There is a picture and there is a truth
Multi-tenant, multi-applicationMulti-tenant operation statisticsProject directory structure and READMEHigh quality generated code Online resources
- Homepage: www.orangeforms.com
- Teaching video: www.bilibili.com/video/bv1Wg…
- Demo configuration: config.orangeforms.com
- Generator operational guidelines: school official cites use of the www.orangeforms.com/orange-doc/
- The back-end code documentation: www.orangeforms.com/development…
- The front-end code documentation: www.orangeforms.com/development…