aboutsummaryrefslogtreecommitdiffstats
path: root/Changelog.md
blob: 415c15bdb1c180bc3379898a0ef193900174f714 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# Change Log
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [2.4.0] - 5/29/2019
* Switch from NGINX to Gevent. The CBS is not CPU bound, and doesn't make any non-network blocking calls, so we don't really need a threaded server; an asyncronous event loop is fine. Gevent handles the patching of requests. The benefits of this are twofold; it will be easier to add https/http switching support, and it will be much easier to run as non-root in the Dockerfile. Moreover, it's "as fast" because again the CBS is not at all CPU bound so threading really doesn't buy anything over an async loop. This also has the practical benefit of 1 pom.xml instead of 3!

## [2.3.0] - 2/20/2019
* Expose the pretty UI at /ui
* Convert from swagger to openapi3
* Make tests of api more "flaskful", rename test_controller to test_api
* Add a tox fail flag for cov<70

## [2.2.5] - 2/7/2019
* Fix issue caused by a flake8 update

## [2.2.4] - 10/25/2018
* Fix issues caused by a flake8 update

## [2.2.3] - 7/25/2018
* By request, include a self signed cert so the image always comes up.

## [2.2.2] - 7/9/2018
* Add EELF metrics log and logging statements
* Fixed a redundant Consul call where client.resolve_all did not need to call the transaction API twice
* Fix some comments / add deprecation warnings

## [2.2.1] - 7/5/2018
* Fix bug where healthcheck call was not in the audit log
* Add service_component_name into the audit record message field on audit calls
* Rename "log.log" to "audit.log"
* Add EELF compliant "error.log"

## [2.2.0] - 6/26/2018
* Productionalize by moving to NGINX+UWSGI. Flask was not meant to be run as a production server
* This is towards HTTPS support, which will now be done via NGINX reverse proxying instead of in the application code itself
* The app structure has changed due to the project I am now using for this. See https://hub.docker.com/r/tiangolo/uwsgi-nginx-flask/

## [2.1.5] - 4/10/2018
* Fix a key where an invalid JSON in Consul blows up the CBS
* Refactor the tests into smaller files

## [2.1.4] - 4/3/2018
* Adhere to EELF metrics log for the log file

## [2.1.3]
* Small cleanups; move swagger, remove bin, do proper install in Dockerfile

## [2.1.2]
* Log to a file to be picked up by ELK per DCAEGEN2-387
* Logging not totally finished w.r.t. formats, but this at least logs more and gets them into ELK

## [2.1.1]
* [Shamefully this entry was missing]

## [2.1.0]
* Add a generic API for getting arbitrary keys
* Some PEP8/Pylint compliance
* Fix SONAR complaints

## [2.0.0]
* Remove policy and DTI APIs
* Add new API that returns Config, Policy, DTI, Everything
* Test coverage 82%

## [1.3.1]
* Add more tests (Currently 75%)
* Fix licenses

## [1.3.0]
* Sync ONAP with Internal CBS
* Add tests (Currently 62%)
* Update docker python version to 3.6
* Move installation of reqs into Docker container

## [1.2.0]
* Remove waterfalled CONSUL_HOST
* Add ONAP licenses
* Remove references to specific telco and it's IPs in tests
* [Internal version conflict]: Add dti and policies endpoints

## [1.1.0]
* Add a healthcheck endpoint
* Fix a bug where a 404 config not found was being returned as a 500

## [1.0.1]
* Fix {{}} to resolve to [] instead of whatever is in rels key
* Remove all impure tests. All tests are now unit tests.

## [1.0.0]
* GLORIOUS CHANGE! At some point, CASK fixed a bug where if you sent a configuration JSON to CDAP that contained a value that was not a string, it would blow up. This allows me to remove the endpoint specific to CDAP components so the same endpoint is now used for Docker and CDAP.
* Props to Terry Troutman for helping me discover this.
* Removes some impure tests. Still some impurity there

## [0.9.0]
* In addition to the "rels key" a new key was introduced, the "dmaap key". Support replacing dmaap keys assuming the templating language "<< >>"

## [0.8.0]
* Start changelog..
* Fix a 500 bug where the CBS would return a 500 when a service was in a rels key but that service was not registered in Consul
* Support a new feature where you can now bind {{x,y,....}} instead of just {{x}}. The return list is all concat together