Rocket-API version update, based on spring boot+Groovy API agile development framework

Rocket-API  2.2.4.RELEASE  version is released, the updates are as follows:

1. Add variable domain bindings for groovy variable isolation
2. Fix the case compatibility problem under the header variable domain
3. Add import and export of xlsx, quick operation method
4. Modify the interceptor ApiInfoInterceptor logic, no need to manually exclude Static resources, and ignore the unlisted ApiInfo path
5. Add the db method to specify parameters when operating the database, allowing the variable domain of the current environment not to be taken
6. Upgrade the Groovy version to 3.0.5 to support jdk9+ version
7. Fill in the interface operation When Path path, the root/ is filled by default
8. When adding an unlogged operation, the login box will pop up directly

Software Description

Enter picture description

Rocket-API is an API agile development framework for rapid development of API interface functions. Objects and methods such as Controller, Service, Dao, Mybatis, xml, Entity, VO are no longer defined. It is integrated and used in the form of springboot starter.

Overview

"Rocket-API" is based on the spring boot API agile development framework. More than 50% of server functions can be developed only by writing SQL or mongodb original execution scripts. The other 30% are constantly improving public components, such as file uploads. , Download, export, preview, paging, etc. can also be developed through one or two lines of code, and the remaining 20% ​​can also rely on the form of dynamic compilation technology to generate classes. There is no need to release deployment or restart to realize the development of the R&D team. Fast coding, testing and regression.
Achieved a 300%-500% improvement in server-side R&D efficiency and reduced labor costs by 3 times

characteristic

  1. Used for rapid development of API interface. Not defined Controller, Service, Dao, Mybatis, xml, Entity, VOand other objects and methods.
  2. The visual interface automatically encapsulates the input parameters into executable scripts, supports all relational database SQL execution statements, non-relational MONGODBquery statements. Welcome to expand
  3. Completely based on springboot2.x as the stater mode integration of springboot project, non-invasive, new and old projects can be quickly integrated
  4. Only need to write a line of code to complete most of the business requirements development, and the difficulty level (testing or operation and maintenance) can also participate in the development
  5. Online dynamic compilation, no need to restart, immediate effect, multi-data source operation
  6. Version control, historical record comparison, rollback and other functions
  7. Remote one-click publishing to the online environment
  8. Online POSTMAN debugging, automatic generation of saving POSTMAN information or tripartite documents, storing historical call records, and reshaping
  9. Code hint, SQL hint, syntax hint
  10. User management control, security control, and historical behavior records
  11. After multiple project verifications, traditional business-based development, server-side efficiency can be increased by 3-5 times, front-end and back-end joint debugging can increase efficiency by 1 time, and test efficiency by 2 times

working principle

1. Store API information, request method, request PATH, and processing logic in the database, and call RequestMappingHandlerMapping.registerMapping/unregisterMapping provided by springboot to achieve dynamic management of RequestMapping.
2. Rely on the ScriptEngineManager method provided by java1.8, call the Groovy engine, so that the code logic can be dynamically compiled and released without restarting
3. In the form of springboot starter, integrated in the business project

Guess you like

Origin www.oschina.net/news/121413/rocket-api-2-2-4-released