Skip to content

Releases: ametiste-oss/redgreen

0.4.0-a1 : Health

10 Nov 18:19
Compare
Choose a tag to compare
0.4.0-a1 : Health Pre-release
Pre-release

Overview checklist

  • ErrorBundles introduced, now global error handlers may be described as common redgreen resource
  • hystrix failover line health check now does not triggering permanent DOWN state at /health endpoint
  • core module now provide RedgreenComponentsFactory as central point to register parts of service
  • RedgreenResponse mechanism reconstruted, now any technique to convey body (streams, blobs, etc.) may be used

Configuration changes

New configuration properties are introduced within the release.

ErrorBundle configuration properies ( note, atm only RedirectingErrorBundle can be used, next releases will bring settings similar to driver or line setting, to control which bundle is used. )

  • redgreen.direct.error-bundle.errorResource - defines resource on which client would be redirected in a case of global error.
Example

This configuration will try to do request on http://example.xcom/ first, then on http://example.bcom/ and after fail on red resource, the client will be redirect on the http://google.com.

redgreen.direct.bundles.test-bundle.green=http://example.xcom/
redgreen.direct.bundles.test-bundle.red=http://example.bcom/
redgreen.direct.error-bundle.errorResource=http://google.com

Closed Issues List

https://github.com/ametiste-oss/redgreen/issues?q=milestone%3A0.4.0

0.3.0-a1 : Metrics & Drivers

29 Sep 19:18
Compare
Choose a tag to compare

Overview checklist

  • ame-metrics integration, now there is some core metrics available!
  • RequestDriver for a bundle now can be configured through bundle properties
  • RequestDriverFactory registration now a part of redgreen-core module, new drivers now can be added as simple plugin modules

Configuration changes

New configuration properties are introduced within the release.

  • redgreen.direct.bundles.[BUNDLE-NAME].driver - defines RequestDriver implementation that would be used to process incoming requests on the bundle. By default is simpleStreamDriver. NOTE: dummyDriver also available!
  • block of ame-metrics configuration properties, see ame-metrics project for details.
Example

Now it is possible to have number of resource bundles that has different driver configurations.

redgreen.direct.bundles.t-bundle.driver=simpleStreamDriver
redgreen.direct.bundles.t-bundle.green=http://example.xcom/
redgreen.direct.bundles.t-bundle.red=http://example.bcom/,http://example.com/
redgreen.direct.bundles.e-bundle.driver=dummyDriver
redgreen.direct.bundles.e-bundle.green=http://example.xcom/
redgreen.direct.bundles.e-bundle.red=http://example.bcom/,http://example.com/

0.2.0-a1 : Modules

17 Jun 14:26
Compare
Choose a tag to compare

Overview checklist

  • Code base structure refactoring
  • FailoverLine implementations now can be added as modules
  • RequestDriver implementations now can be added as modules
  • Each bundle can have unique configuration for timeout values and failover line used
  • ametiste-redgreen-sdk module provides core API to implement application extensions
  • ametiste-redgreen-hystrix reimplemented using ametiste-redgreen-sdk module

Configuration changes

New configuration properties are introduced within the release.

Resource Bundle Configuration
  • redgreen.direct.bundles.[BUNDLE-NAME].line - defines FailoverLine implementation that would be used to process incoming requests on the bundle. By default is hystrixSimpleLine.
  • redgreen.direct.bundles.[BUNDLE-NAME].connectionTimeout - defines connection timeout value that would be applied for each connection to bundled resources. By default is 300.
  • redgreen.direct.bundles.[BUNDLE-NAME].readTimeout - defines read timeout value that would be applied for each read of bundled resources. By default is 1500.
Example

Now it is possible to have number of resource bundles that has different configurations.

redgreen.direct.bundles.t-bundle.line=simpleFailoverLine
redgreen.direct.bundles.e-bundle.readTimeout=3500
redgreen.direct.bundles.t-bundle.green=http://example.xcom/
redgreen.direct.bundles.t-bundle.red=http://example.bcom/,http://example.com/
redgreen.direct.bundles.e-bundle.line=complexFailoverLine
redgreen.direct.bundles.e-bundle.connectionTimeout=100
redgreen.direct.bundles.e-bundle.readTimeout=800
redgreen.direct.bundles.e-bundle.green=http://example.xcom/
redgreen.direct.bundles.e-bundle.red=http://example.bcom/,http://example.com/

0.1.1 Alpha1 : Real Forwarding

03 Jun 10:51
Compare
Choose a tag to compare
Pre-release

Overview checklist

  • Response stream forwarding implemented
  • CPU resources consumption dramatically decreased
  • Forwarding bandwidth and performance increased
  • WARNING : potential connections-leaks added

Configuration changes

New configuration properties are introduced within the release.

Hystrix Simple Failover Line
  • redgreen.hystrix.simpleFailoverLine.threadPoolSize - defines a size of commands execution thread pool
  • redgreen.hystrix.simpleFailoverLine.failoverPoolSize - defines a size of failover pool size

Just Started : 0.1.0-RELEASE

27 May 19:05
Compare
Choose a tag to compare