Gavin (Yan) Chen
Gavin (Yan) Chen
Currently light-4j ExceptionHandler only handle several framework defined exception: ApiException FrameworkException ClientException Normally API will have project define exception by itself. In this case, we still need handle exception on...
Current we have three modules related to http content: http-entity -- package name: com.networknt.http http-string -- package name: com.networknt.httpstring http-url -- package name: com.networknt.url In those module, there are different...
Consider to have a middleware handler to handle service downgrade for the following scenarios: API server process unusual, return the unusual information to client directly (not reach the service logic)...
In openapi, if the field defined as date format: startDate: type: "string" format: "date" Codegen will generate the field as LocalDate in the model. @JsonProperty("startDate") public java.time.LocalDate getStartDate() { return...
If user use the supportDB config value in the config.json "supportDb": true, The light-codegen will generate datasource config in the service.yml: ''' - javax.sql.DataSource: - com.zaxxer.hikari.HikariDataSource: DriverClassName: jdbcUrl: username: password:...
The scheduler could trigger by following condition: 1.Cron Expression time 2. Fixed Rate (in every certain time) 3. cdc(change data capture) based on the database table. (light-tram-4j base) 4. message...