First Release Candidate of Edison 1.0.0
Beginning with 1.0.0, we will start using semantic versioning of releases.
Breaking Changes:
-
[edison] Refactored module structure:
- moved
edison-status
,edison-health
,edison-metrics
,edison-microservice
andèdison-servicediscovery-client
intoedison-core
. - moved
edison-jobs-mongo
intoedison-mongo
- moved
edison-togglz-mongo
intoedison-mongo
- moved
edison-togglz-testsupport
intoedison-testsupport
- moved
-
[edison] Removed remaining dependencies to guava library.
-
[edison] Graceful shutdown is now disabled by default. Enable it by setting
edison.gracefulshutdown.enabled=true
. -
[edison-core] Renamed package
de.otto.edison.discovery
tode.otto.edison.registry
. TheDiscoveryClient
was renamed toRegistryClient
. -
[edison-core] Properties
edison.servicediscovery.*
renamed toedison.serviceregistry.*
-
[edison-togglz] Properties of
edison-togglz
including the togglz console and LDAP has changed.
The new structure of the properties is like this:edison.togglz.cache-ttl=100
cache-ttl for feature togglesedison.togglz.console.enabled=true
Enable / Disable Togglz web consoleedison.togglz.console.ldap.enabled=true
Enable LDAP authentication for the web consoleedison.togglz.console.ldap.host=localhost
LDAP hostedison.togglz.console.ldap.port=389
LDAP portedison.togglz.console.ldap.base-dn=test
LDAP base dnedison.togglz.console.ldap.rdn-identifier=test
LDAP rdn identifier
-
[edison-guava] Removed the deprecated module
edison-guava
. This is now replaced by edison-cache. -
[edison-cache] Removed support for property
edison.cache.web.controller.enabled
. Because the main purpose of
edison-cache
is to provide cache statistics as HTML and/or JSON, it makes no sense to deactivate the controller. -
[edison-jobs] Refactored
JobStatusDetailIndicator
to use a configurableJobStatusCalculator
to map failed
jobs toStatusDetails
.The application property
edison.jobs.status.calculator.default
is used to select one of the following
calculator strategies:warningOnLastJobFailed
the default, if nothing is configured. Reports a failed job asStatus.WARNING
errorOnLastJobFailed
Reports a failed job asStatus.ERROR
errorOnLastThreeJobsFailed
Reports a failed job asStatus.WARNING
, orStatus.ERROR
if the last three jobs
were failing.errorOnLastTenJobsFailed
Reports a failed job asStatus.WARNING
, orStatus.ERROR
if the last ten jobs
were failing.
-
[edison-jobs] Renamed
edison.jobs.*
properties:edison.jobs.web.controller.enabled:true
->edison.jobs.external-trigger:true
edison.jobs.scheduler.thread-count:10
->edison.jobs.thread-count:10
-
[edison-jobs] The previous, now unsupported property
edison.jobs.status.indicate-joberror-with-level:ERROR
is replaced by settingedison.jobs.status.calculator.default=errorOnLastJobFailed
. -
[edison-jobs] The new property-map
edison.jobs.status.calculator:
is used to configure the new
JobStatusCalculator strategies (see above) for single job types (->JobDefinition.jobType()
). The job types are
case-insensitive, blanks are converted to-
.Example: A job type named
Delta Import
should useerrorOnLastThreeJobsFailed
, while all other jobs
should useerrorOnLastJobFailed
:edison.jobs.status.calculator.default = errorOnLastJobFailed
edison.jobs.status.calculator.delta-import = errorOnLastThreeJobsFailed
Bugfixes:
- [edison-jobs] Fixed broken link from job messages to /jobdefinitions/.
JobDefinitionService.getJobDefition(jobType)
is now case insensitive. - [edison-mongo] Using
primaryPreferred
instead ofprimary
to increase availability during master election.
New Features:
- [edison-core] Added feature to configure the entries of the navigation bar of /internal/* pages. See
de.otto.edison navigation
for details and have a look at theNavigationConfiguration
in the examples. - [edison-core] Added support to get status information for service that deployed using green/blue deployments. See
ClusterInfo
,ClusterInfoProperties
andClusterInfoConfiguration
for details. - [edison-core] Introduced `@ConfigurationProperties and annotation-processor to provide auto-completion
in application.property files.- ApplicationInfoProperties`
TeamInfoProperties
VersionInfoProperties
ClusterInfoProperties
GracefulShutdownProperties
MetricsLoadProperties
ServiceRegistryProperties
MongoProperties
ToggzProperties
JobsProperties
- [edison-jobs]
JobEvents
not@Beta
anymore. - [edison-mongo] Added auto-configuration for
FeatureRepository
andJobRepository