Releases: networknt/light-4j
Releases · networknt/light-4j
0.1.8
0.1.8 - 2016-10-10
Added
- Add new Status code into status.json for OAuth2 server
- Add docs folder for project documentation
Changed
- Fix a bug in client to prevent calling oauth2 server multiple times if in renew window.
- Add socket timeout for client
- update client.json in test resource to simulate different errors.
0.1.7
0.1.7 - 2016-10-05
Added
- Introduce MiddlewareHandler interface so that user can plug in more middleware or switch middleware
Changed
- Fixed info test case to clear the injected config
- All middleware handlers implement MiddlewareHandler interface so that they are loaded from SPI
- Middleware handlers will be enabled by checking isEnable()
- Update validator test case to remove oauth2 dependency
- Fix the NPE issue if swagger specification does not have security defined
- SwaggerHandler will only be enabled if swagger.json exists in config
- Fix the token helper to get token from OAuth2 server
0.1.6
0.1.5
0.1.5 - 2016-10-01
Added
- A body parser handler to parse body into String and attached to the exchange
- A swagger handler to identify operation based on request uri and method and attach to the exchange
Changed
- Move swagger related classes from utility to swagger module
- Update security module to leverage swagger handler attachment
- Update validator module to leverage swagger handler and body handler attachments
- Server Info handler is not injected in server but is included into swagger specification
0.1.4
0.1.3
0.1.2
Added
- Jwt token scope verification based on swagger spec in security
- Status module to standardize error response
- Config can be loaded from classpath directly so that test case can inject different combination of configs.
Changed
- Update the jwt.json and secuirty.json to support multiple certificates and kid to pick up the right certificate
for jwt verification. Also, expired token will throw ExpiredJwtException now. - Move request uri matching and swagger.json to utility
- Move exceptions to status from utility
- Instead of using Jackson ObjectMapper to serialize Status object, using toString now. 10 times faster
0.1.1
In this release, the following modules are added:
- client - wrapper of apache HttpClient and HttpAsyncClient. support automatically cache and renew client credentials jwt token
- validator - validate request based on the swagger.json for uri parameters, query parameters and body which is based on json-schema-validator
- audit - dump most important info about request and response into audit.log in JSON format. Also, there is a full audit handler to dump everything regarding to request and response.
- info - a handler that injects an endpoint /server/info that can out all plugged in component on the server and configuration of each component.
- mask - used to mask sensitive info before logging to audit.log or server.log
- swagger-codegen - a generator that generates the routing handlers and running API application with swagger spec.
Modules released in previous release:
- server - a framework on top of undertow http core that support plugins to performance different middleware handling.
- security - oauth2 jwt token verification and mock token generation. Also, there is an testing OAuth2 server released here
- utility - utility classes that are shared between modules.