Skip to content

Commit

Permalink
♻️ [Release Notes] Changed a bit the format
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Codutti <[email protected]>
  • Loading branch information
Coduz committed Jan 10, 2025
1 parent 994ca43 commit 8d69b03
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions UPGRADE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@ This report is only partial for Eclipse Kapua release 2.1.0-SNAPSHOT, since we s

## Changes

### Deprecation of `db.pool.size.min` and `db.pool.size.max` sizing options
### Deprecation of `db.pool.size.min` and `db.pool.size.max` sizing options [[#4112](https://github.com/eclipse/kapua/pull/4112)]

With [#4112](https://github.com/eclipse/kapua/pull/4112) we deprecated `commons.db.pool.size.min` and `commons.db.pool.size.max` settings, switching to a new `commons.db.pool.size.fixed` setting which will configure the database connection pool to a fixed size with a default value of `5`.
Deprecated `commons.db.pool.size.min` and `commons.db.pool.size.max` settings, switching to a new `commons.db.pool.size.fixed` setting which will configure the database connection pool to a fixed size with a default value of `5`.

Backward compatibility is granted by `db.pool.size.strategy`. Default value is `fixed`, but it can be changed to `range` to continue use of a variable database connection pool. Be aware that at some point `range` strategy will be removed and only fixed size will be available.


### Duplicate Name Exception is now returned as a 409 error
### Duplicate Name Exception is now returned as a 409 error [[#4133](https://github.com/eclipse/kapua/pull/4112)]

With [#4133](https://github.com/eclipse/kapua/pull/4112) we fixed the HTTP response code when a `KapuaDuplicateNameException` occurs from `500 Internal error` to the correct `409 Conflict`.
Fixed the HTTP response code when a `KapuaDuplicateNameException` occurs from `500 Internal error` to the correct `409 Conflict`.

The body of the response will contain additional information on the error.


### Introduction of un-scoped entities for Job Step Definitions
### Introduction of un-scoped entities for Job Step Definitions [[#3996](https://github.com/eclipse/kapua/pull/3996)]

With [#3996](https://github.com/eclipse/kapua/pull/3996) we introduced the concept of "Un-scoped entities" as opposite of "Scoped entities".
Introduced the concept of "Un-scoped entities" as opposite of "Scoped entities".

Normally entities belongs to a certain scope. For example: Users, Tags, Devices belongs to an Account.
There are some entities that are available for all Accounts because of their nature and usage. For example: JobStepDefinitions are available to all scopes.
Expand All @@ -32,28 +32,28 @@ With this feature we changed the way this "availability" was implemented and mad
User is not required to perform any action to the existing data and the migration of the Job Step Definitions will be performed by the Job Step Definition Aligner that will reflect any change to the Job Step Definitions coded into the Database.


### Invalid Trigger Exceptions are now returned as a 400 error
### Invalid Trigger Exceptions are now returned as a 400 error [[#4147](https://github.com/eclipse/kapua/pull/4147)]

With [#4147](https://github.com/eclipse/kapua/pull/4147) we fixed the HTTP response code when a `TriggerInvalidDatesException` or `TriggerInvalidSchedulingException` occurs from `500 Internal error` to the correct `400 Bad Request`.
Fixed the HTTP response code when a `TriggerInvalidDatesException` or `TriggerInvalidSchedulingException` occurs from `500 Internal error` to the correct `400 Bad Request`.

The body of the response will contain additional information on the error.


### Max Number Of Entity Reached exception is now returned as a 403 error
### Max Number Of Entity Reached exception is now returned as a 403 error [[#4154](https://github.com/eclipse/kapua/pull/4154)]

With [#4154](https://github.com/eclipse/kapua/pull/4154) we fixed the HTTP response code when a `KapuaMaxNumberOfItemsReachedException` occurs from `500 Internal error` to the correct `403 Forbidden`.
Fixed the HTTP response code when a `KapuaMaxNumberOfItemsReachedException` occurs from `500 Internal error` to the correct `403 Forbidden`.

The body of the response will contain additional information on the error.


### Job Step Property value now supports JSON format for complex types
### Job Step Property value now supports JSON format for complex types [[#4161](https://github.com/eclipse/kapua/pull/4161)]

With [#4161](https://github.com/eclipse/kapua/pull/4161) we allowed complex objects to be inserted with JSON format. Before only XML format was allowed.
Allowed complex objects to be inserted with JSON format. Before only XML format was allowed.


### Datastore search APIs will now allow multiple `clientId` to be specified
### Datastore search APIs will now allow multiple `clientId` to be specified [[#4130](https://github.com/eclipse/kapua/pull/4130)]

With [#4130](https://github.com/eclipse/kapua/pull/4130) we allowed the following REST API resources to accept more than one `clientId` as query parameter.
Allowed the following REST API resources to accept more than one `clientId` as query parameter.

- `GET /{scopeId}/data/messages`
- `GET /{scopeId}/data/metric`
Expand All @@ -63,17 +63,17 @@ With [#4130](https://github.com/eclipse/kapua/pull/4130) we allowed the followin

## DB Changes

### New column in MFA Option table
### New column in MFA Option table [[#4115](https://github.com/eclipse/kapua/pull/4115)]

In PR [#4115](https://github.com/eclipse/kapua/pull/4115) a new `has_trust_me` column has been added to the `atht_mfa_option`.
New `has_trust_me` column has been added to the `atht_mfa_option`.

New column defaults to `null` and doesn't need any migration. The code itself will populate the column accordingly on first update.
For large `atht_mfa_option` tables it might take sometime to be added.


### New column in Trigger Definition Property table
### New column in Trigger Definition Property table [[#4134](https://github.com/eclipse/kapua/pull/4134)]

In PR [#4134](https://github.com/eclipse/kapua/pull/4134) a new `description` column has been added to `schdl_trigger_properties` and `schdl_trigger_definition_properties`.
New `description` column has been added to `schdl_trigger_properties` and `schdl_trigger_definition_properties`.

The column default to `null` and the migration/population procedure will be performed by the Trigger Definition Aligner at application startup.

0 comments on commit 8d69b03

Please sign in to comment.