light-4j

A fast, lightweight and more productive microservices framework

APACHE-2.0 License

Stars
3.6K
Committers
60

Bot releases are hidden (Show)

light-4j - 1.2.5

Published by stevehu over 7 years ago

1.2.5 - 2017-03-03

Added

Changed

  • Fixes #11 inject server info into swagger-codegen
  • Change server name to L to optimize performance
light-4j - 1.2.4

Published by stevehu over 7 years ago

1.2.4 - 2017-02-19

Added

  • Fixes #27 Add rate limiting module

Changed

  • Upgrade to Undertow 1.4.10
  • Fixes #26 Update CORS handler to support method level control
light-4j - 1.2.3

Published by stevehu over 7 years ago

1.2.3 - 2017-02-08

Added

Changed

  • Fixes some google error-prone warnings
  • Fixes #25 Add a system property in Server.java to redirect Undertow logs to slf4j
  • Fixes #25 ExceptionHandler to dispatch in the beginning to by pass Connectors in Undertow
light-4j - 1.2.2

Published by stevehu over 7 years ago

1.2.2 - 2017-02-03

Added

  • Add Cluster module to work with Client module for service discovery and load balance
  • Add Https support in server module.

Changed

  • Update consul registry to make it simpler and streamline.
  • Update cluster to work with registrator and docker
light-4j - 1.2.1

Published by stevehu over 7 years ago

1.2.1 - 2017-01-25

Added

Changed

  • Clean up maven dependencies
light-4j - 1.2.0

Published by stevehu over 7 years ago

1.2.0 - 2017-01-22

Added

  • Add service registry and discovery
  • Add zookeeper support for resgistry and discovery
  • Add consul support for registry and discovery
  • Add direct registry for direct ip and port registry and discovery
  • Add Cors handler to support OAuth2 login page from another domain

Changed

  • Resolve Maven Eclipse errors
  • Enhanced service module to support parameterized constructor
  • Integrate server with registry
  • Spin off swagger, security and validator handlers to light-java-rest
light-4j - 1.1.7

Published by stevehu almost 8 years ago

1.1.7 - 2017-01-09

Added

  • Add error status for OAuth2 server

Changed

  • Update JwtHelper to throw JoseException instead of Exception
light-4j - 1.1.6

Published by stevehu almost 8 years ago

1.1.6 - 2017-01-01

Added

  • Add error status for OAuth2 server
  • Add local first load balancer (Thanks @ddobrin)

Changed

  • Remove duplicated plugin
  • Update JwtHelper to support JWT token generation with parameters
light-4j - 1.1.5

Published by stevehu almost 8 years ago

1.1.5 - 2016-12-24

Added

  • Add HashUtil for password used in OAuth2 server light-oauth2
  • Add Status code for OAuth2 server

Changed

light-4j - 1.1.4

Published by stevehu almost 8 years ago

1.1.4 - 2016-12-12

Added

  • Switcher is a module to control on/off of certain component during runtime
  • Discovery is a module used by Client to discover services by names from Consul or ZooKeeper
  • Registry is a module used by Server to register itself to Consul or ZooKeeper during server startup

Changed

  • Update service module to support spaces in interface key part.
  • Integrate Google Error-prone for static source code scan
  • Fixed some many warnings from Intellij Idea Inspect
light-4j - 1.1.3

Published by stevehu almost 8 years ago

1.1.3 - 2016-12-03

Added

Changed

  • Service config changed to JSON format so that properties can be injected
light-4j - 1.1.2

Published by stevehu almost 8 years ago

1.1.2 - 2016-11-28

Added

Changed

  • Add support to one interface to map multiple implementations in singleton service factory
  • Add support to multiple interfaces to map multiple implementations in singleton service factory
light-4j - 1.1.1

Published by stevehu almost 8 years ago

1.1.1 - 2016-11-26

Added

  • Add a method to get framework version from /META-INFO/maven/com.networknt/info/pom.properties
  • Add a missing handler error code in status.json
  • Add MDC for correlation id in logging
  • Add service module which is a singleton service factory

Changed

  • Disable metrics by default in metrics module so that it won't try to report to influxdb
light-4j - 1.1.0

Published by stevehu almost 8 years ago

1.1.0 - 2016-11-06

Added

  • Traceability handler to set traceabilityId to the response header from request header
  • Correlation handler to generate correlationId if it doesn't exist in the request header
  • Create dump handler but not implemented yet

Changed

  • Update Client to support traceabilityId and correlationId propagation
  • Refactor Audit to split full dump out.
  • Refactor Audit handler to output into audit log
  • Update Swagger Handler to add endpoint into the request header for audit log
  • Update JwtVerifyHandler to put scope_client_id into the request header
light-4j - 1.0.2

Published by stevehu almost 8 years ago

1.0.2 - 2016-11-03

Added

Changed

  • Upgrade to json-schema-form 0.1.3
  • Fixes #2 exchange completed already issue.
light-4j - 1.0.1

Published by stevehu almost 8 years ago

1.0.1 - 2016-10-30

Added

  • Sanitizer middleware to handle cross site scripting on header and body of request.
  • Health endpoint to indicate if the server is alive by sending OK.

Changed

  • Update body middleware so that it checks content type and parse the application/json to list or map.
  • Update Validator middleware to handle body as object or string
  • Move info to package info instead of audit
  • Upgrade undertow to 1.4.4-Final to address patch issue.
  • Update default server.json to bind to 0.0.0.0 instead of localhost for docker
light-4j - 1.0.0

Published by stevehu almost 8 years ago

1.0.0 - 2016-10-21

Added

  • Add startup hook provider to allow API project to initialize resource, loading spring app context etc.
  • Add shutdown hook provider to allow API project to release connection pools or other resources.
  • Add Dockerfile to the root of generated API project.

Changed

  • Rename project to light-java
  • JsonPath configuration is done in a startup hook provider now.
light-4j - 0.1.9

Published by stevehu about 8 years ago

0.1.9 - 2016-10-17

Added

  • Add metrics with Influx DB and Grafana combination.

Changed

  • Move swagger.json from swagger module resources to test resources so that petstore specification won't be included in API project by default.
  • Security scope verification will check swagger object before enabling it.
  • Validator test now has petstore swagger.json in test resources.
  • Update docs
light-4j - 0.1.8

Published by stevehu about 8 years ago

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.
light-4j - 0.1.7

Published by stevehu about 8 years ago

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
Package Rankings
Top 3.79% on Repo1.maven.org
Badges
Extracted from project README
Build Status codecov.io