blob: c43ebad25d79dac40e32811c6ef49a820e9fc25e [file] [log] [blame]
Piotr Marcinkiewicz73aec242020-08-18 16:14:33 +02001Changelog
2=========
3
4**1.4.2-SNAPSHOT**
5 - Update spring boot to version: 2.3.3.RELEASE
6
7**1.4.1-SNAPSHOT**
8 - Update spring boot to version: 2.2.9.RELEASE
9 - Update testcontainers version: 1.14.3
10 - Fix deprecation warnings
11
12**1.4.0-SNAPSHOT**
13 - Add new component external-schema-manager for json validation with schema stored in local cache
14
15**1.3.5-SNAPSHOT**
16 - Create jar without dependencies for crypt-password module
17
18**1.3.4-SNAPSHOT**
19 - Usage of Java 11
20
21**1.3.3-SNAPSHOT**
22 - Upgrade CBS to support SSL
23 - Fix static code vulnerabilities
24 - Exclude IT from tests
25 - Remove AAI client from SDK
26
27**1.3.2-SNAPSHOT**
28 - Restructure AAI client
29
30 - Get rid of common-dependency module
31 - Rearrange files in packages inside rest-services
32
33**1.3.1-SNAPSHOT**
34 - Bugfix release: AAI client
35 - Make AaiGetServiceInstanceClient build correct path to the service resource in AAI
36
37**1.3.0-SNAPSHOT (ElAlto - under development)**
38 - All El-Alto work noted under 1.2.0-SNAPSHOT will roll into this version
39 - Version update was done for tracking global-jjb migration work and corresponding submission - https://gerrit.onap.org/r/#/c/dcaegen2/services/sdk/+/89902/
40
41**1.2.0-SNAPSHOT (replaced by 1.3.0)**
42 - WARNING: This is a work in progress. Do not use unless you know what you are doing!
43
44 - DMaaP client
45 - Change the factory so it's more configurable
46 - Old DMaaP client is now deprecated
47 - Integration tests are now using TestContainers with an actual DMaaP in order to confirm compatibility with a particular DMaaP version.
48 - Breaking change: MessageRouterSubscribeResponse now contains list of JsonElement instead of JsonArray
49 - CBS client
50 - Use new, simplified CBS lookup method
51 - Breaking change: CbsClientConfiguration replaces old EnvProperties. This way the class reflects overall SDK naming convention.
52 - Crypt Password
53 - Additional command line usage options (read password from stdin)
54 - Enhanced test coverage
55 - Internals/others
56 - Remove CloudHttpClient and use RxHttpClient instead which should unify REST API consumption across client libraries
57 - Moher (MOnitoring and HEalthcheck Rest API)
58 - This API is in incubation stage. Do not use it yet.
59 - Initial PoC for new module which should help when implementing these features in a DCAE service
60 - Expose Prometheus-compliant monitoring endpoint
61
62**1.1.6**
63 - Bugfix release: (Old) DMaaP client:
64 - Security keys was always loaded from JAR instead of given file system path. Only code using SecurityKeysUtil class had been affected. If you do not use SecurityKeysUtil class or you are using the new DMaaP MR client API (org.onap.dcaegen2.services.sdk.rest.services.dmaap.client.{api, model} packages) then you are safe and the update is not required.
65
66**1.1.5**
67 - DMaaP client
68 - Force non-chunked transfer encoding, because DMaaP MR does not support chunks.
69 - DMaaP MR client API should be used in new code. Some minor incompatible changes can occur but it's more or less done.
70
71**1.1.4**
72 - Config Binding Service client
73 - predefined parsers for input and output streams
74 - remove the need for a DCAE application to manually interpret streams_publishes (Sinks) and streams_subscribes (Sources) parts of the configuration
75 - available parsers for DMaaP Message Router and DMaaP Data Router streams
76 - experimental support for Kafka streams
77 - support for other CBS endpoints besides get-configuration: get-by-key, get-all (introduces minor but breaking changes)
78 - DMaaP client
79 - New, experimental DMaaP client. It's not ready for use yet (not integration tested with DMaaP instance). However, you can use this API if you target El Alto release (note that some minor interface changes might be introduced).
80 - Internals:
81 - Improved http client: RxHttpClient
82 - RxHttpClient uses chunked transfer-encoding only when content-length is NOT specified.
83
84Migration guide
85
86All CbsClient methods gets CbsRequest as a first parameter instead of RequestDiagnosticContext. The CbsRequest may be created by calling CbsRequests factory methods. For existing code to work you will need to do the following change:
87
88.. code-block:: java
89
90 // From this:
91 CbsClientFactory.createCbsClient(env)
92 .flatMap(cbsClient -> cbsClient.get(diagnosticContext))
93 ...
94
95 // To this:
96 final CbsRequest request = CbsRequests.getConfiguration(diagnosticContext);
97 CbsClientFactory.createCbsClient(env)
98 .flatMap(cbsClient -> cbsClient.get(request))
99 ...
100
101
102The similar changes will be required for other CbsClient methods (periodic get and periodic updates).
103
104**1.1.3 (initial release)**
105 - Config Binding Service client
106 - basic functionality
107 - CBS service discovery
108 - get application configuration as JsonObject
109 - periodic query + periodic updates query
110 - BCrypt password utility