v1.4.0
What's Changed
- Makefile target to generate function list from service executable by @tisnik in #1681
- Updated makefile help by @tisnik in #1682
- Added new option into pull request template by @tisnik in #1683
- Info about
golangci-lint
by @tisnik in #1684 - add unit tests by @dpensi in #1687
- Two new options: security fixes by @tisnik in #1690
- [CCXDEV-9704] run more tests in pull requests by @matysek in #1692
- Update Golang-client package to 1.14.0 by @tisnik in #1693
- [CCXDEV-10204] pr_check.sh: enable ui tests by @matysek in #1694
- Link to BDD tests by @tisnik in #1705
- (Trivial) configuration test reformat by @tisnik in #1706
- update docker image by @dpensi in #1703
- Bump golang.org/x/sys from 0.0.0-20211019181941-9d821ace8654 to 0.1.0 in /docs/presentations/DB-write-speed by @dependabot in #1707
- Bump golang.org/x/net from 0.0.0-20211015210444-4f30a5c0130f to 0.7.0 in /docs/presentations/IRES-research-2022 by @dependabot in #1709
- Bump golang.org/x/sys from 0.0.0-20211019181941-9d821ace8654 to 0.1.0 in /docs/presentations/IRES-research-2022 by @dependabot in #1708
- Doc about special info rule by @tisnik in #1710
- Fixed typos (trivial) by @tisnik in #1711
- Simplify sources (trivial) by @tisnik in #1712
- Add BDD tests stage in CI by @epapbak in #1713
- Code coverage support in binaries by @tisnik in #1714
- Proper version is added into Insights Results Aggregator binary file by @tisnik in #1715
- [CCXDEV-10595] Add ccx-mock-ams to the list of components to deploy in pr_checks by @ikerreyes in #1716
- fix typo by @dpensi in #1686
- Bump golang.org/x/net from 0.1.0 to 0.7.0 by @dependabot in #1704
- Bump-up Go SQLmock library to the latest stable version by @tisnik in #1734
- Bump-up PG library to the latest stable version by @tisnik in #1736
- Made with Go badge by @tisnik in #1737
- Bump-up
testify
library by @tisnik in #1746 - Bump-up
pq
library by @tisnik in #1747 - Use latest image for insights-behavioral-spec in BDD tests by @epapbak in #1748
- Use Go 1.18 on CI and on prod by @tisnik in #1750
- Removed non active code owner by @tisnik in #1753
- Bump golang.org/x/crypto from 0.0.0-20210921155107-089bfa567519 to 0.1.0 by @dependabot in #1751
- Bump github.com/buger/jsonparser from 1.0.0 to 1.1.1 by @dependabot in #1752
- Redis configuration by @tisnik in #1754
- Storage type configuration option by @tisnik in #1755
- [CCXDEV-11124] Add deployment for cache-writer (just Redis) by @juandspy in #1749
- Pin GolangCI by @tisnik in #1757
- NoopStorage struct sync with DBStorage struct by @tisnik in #1756
- Fix Clowdapp config for Redis by @tisnik in #1760
- Storage factory by @tisnik in #1759
- Bump-up
utils
andtypes
dependencies to be able to use Redis by @tisnik in #1761 - Use
redis
configuration as part ofstorage
configuration struct by @tisnik in #1763 - Fix: ability to start Insights Results Aggregator with Redis as a storage by @tisnik in #1764
- Fixes: package name shadowing by @tisnik in #1765
- Log Request ID correctly (where appropriate) by @tisnik in #1766
- Initialize Redis client by @tisnik in #1767
- Use the latest Insights Results Aggregator Data package by @tisnik in #1768
- Pass
RequestID
to store report method in all implemented interfaces by @tisnik in #1769 - Store keys with RequestID into Redis by @tisnik in #1770
- Bump-up
types
package by @tisnik in #1771 - Store rule hits into Redis by @tisnik in #1772
- [CCXDEV-11216] Add clowdapp for the cache writer by @juandspy in #1773
- Lower log level to debug by @juandspy in #1774
- Removed unused code in benchmark by @tisnik in #1775
- Dummy unit tests for Redis storage implementation by @tisnik in #1776
- More unit tests for no-op storage by @tisnik in #1777
- Close Redis client on exit by @tisnik in #1778
- Bump-up Viper dependency by @tisnik in #1779
- Fix Redis endpoint for cache-writer by @juandspy in #1780
- Update the service port name by @juandspy in #1781
- Consumer constructor - more logging by @tisnik in #1783
- Fully optional client for Sarama library by @tisnik in #1785
- Add the dashboards for redis and cache writer by @juandspy in #1784
- Info about connection to Redis by @tisnik in #1786
- [CCXDEV-11203] Update redis dashboard by @juandspy in #1787
- [CCXDEV-11203] Update written_reports metric in redis too by @juandspy in #1788
- Add clowder mapping by @juandspy in #1789
- Add Jakub as code owner by @tisnik in #1790
- Fixed ubi-minimal version by @joselsegura in #1791
- Use proper way to include latest tag into binary by @tisnik in #1794
- strip .report suffix from rule module when inserting rule hits to Redis by @Bee-lee in #1793
- Update Travis BDD step by @epapbak in #1792
- Do not run UI tests as part of the pr_checks by @ikerreyes in #1795
- fix Grafana dashboard missing CPU data by @juandspy in #1796
- [CCXDEV-11194] Ignore minimum 3 replicas alert by @juandspy in #1797
- [CCXDEV-11196][CCXDEV-11195][ccx-redis] CPU and Memory limits by @juandspy in #1798
- [CCXDEV-11196][CCXDEV-11195][ccx-redis] CPU and Memory limits to metrics container by @juandspy in #1800
- [CCXDEV-11196][CCXDEV-11195][ccx-redis] Fix CPU and Memory limits to metrics container by @juandspy in #1801
- [CCXDEV-11196][CCXDEV-11195][ccx-redis] Increase CPU and Memory limits to metrics container by @juandspy in #1802
- [CCXDEV-10215] CI: Use openapi-generator-cli docker image instead of installing it by @epapbak in #1799
- Fix aggregator page by @joselsegura in #1803
- Create new workflow for GH pages by @joselsegura in #1804
- [CCXDEV-11494] Log level set to INFO by @Jakub007d in #1805
- Generate the index for literate documentation by @joselsegura in #1806
- Consuming messages on debug level by @tisnik in #1807
- Docs about debug logging messages by @tisnik in #1808
- Display message with wrong format by @tisnik in #1810
- Avoid rendering index template by @joselsegura in #1809
- Log message version by @tisnik in #1811
- fix log streams for aggregator and db-writer services by @Bee-lee in #1812
- switch aggregator/db-writer in clowder definitions to check for env var ovewriting by @Bee-lee in #1813
- [CCXDEV-11471] Upgrade the postgres database that is used in ephemeral by @juandspy in #1814
- Don't leak DB password in log by @juandspy in #1815
- Use SSL for connecting to RDS by @juandspy in #1816
- reduce 'lookback' limit for retrieving cluster list on ClustersForOrganizationEndpoint because of timeouts by @Bee-lee in #1819
- fix v2/clusters and v2/rule/{rule_selector}/clusters_detail performance issues by @Bee-lee in #1818
- Change aggregator and db-writer log level to info by @JiriPapousek in #1817
- New linters on CI by @tisnik in #1820
- Even more linters on CI by @tisnik in #1822
- Updated linter setting by @tisnik in #1823
- Improve step-by-step docs for local setup by @JiriPapousek in #1821
- reduce org-overview limit to 3h to resolve timeout by @Bee-lee in #1825
- remove problematic log messages by @Bee-lee in #1826
- Skip processing of already read messages by @joselsegura in #1824
- Update checkMessageVersion to accept messages with known versions by @epapbak in #1827
- Partial revert on dropping messages by its offset by @joselsegura in #1829
- Fix newer
goconst
related issues by @tisnik in #1830 - Zerolog checks on CI by @tisnik in #1831
- New "malloc" checker + fixes on CI by @tisnik in #1832
- Remove kafka_offset mechanism from code by @joselsegura in #1833
- Simple fix: don't print empty lines into log by @tisnik in #1836
- [CCXDEV-11763] Refactor parseMessage and skip processing of incoming messages with empty reports by @epapbak in #1835
- [CCXDEV-11763] Skip analysis_metadata attribute when checking for empty report by @epapbak in #1837
- Removed leftover by @tisnik in #1838
- Incoming message is too large: pass it as pointer to loggers by @tisnik in #1839
- Fix valid empty reports not being processed by @epapbak in #1840
- Refactoring: shorter operator by @tisnik in #1841
- Don't repeat the same message twice by @tisnik in #1842
- Bump-up Go version on CI to 1.20 by @tisnik in #1843
- Use --always option in git describe by @epapbak in #1847
- Fix BDD test runner path mention in README by @epapbak in #1844
- Using a different base image for the final image by @joselsegura in #1848
- Remove mention of
is_internal
as it is deprecated by @tisnik in #1850 - Copy certificate authorities in final image by @joselsegura in #1851
- [CCXDEV-11822] Mention skipping of malformed reports in the documentation by @epapbak in #1849
- Drop support for
jwt
auth type by @Bee-lee in #1852 - [CCXDEV-10937] Update Travis BDD step to use run_in_container.sh script by @epapbak in #1853
- Create dependabot.yml by @tisnik in #1854
- Bump github.com/prometheus/client_model from 0.3.0 to 0.4.0 by @dependabot in #1855
- Bump github.com/BurntSushi/toml from 0.3.1 to 1.3.2 by @dependabot in #1856
- Bump github.com/deckarep/golang-set from 1.7.1 to 1.8.0 by @dependabot in #1858
- Bump github.com/prometheus/client_golang from 1.15.1 to 1.17.0 by @dependabot in #1857
- Bump github.com/RedHatInsights/insights-content-service from 0.0.0-20230607085809-59604fce8997 to 1.0.0 by @dependabot in #1863
- Bump github.com/google/uuid from 1.3.0 to 1.3.1 by @dependabot in #1862
- Bump github.com/stretchr/testify from 1.8.3 to 1.8.4 by @dependabot in #1861
- Bump github.com/rs/zerolog from 1.29.1 to 1.31.0 by @dependabot in #1860
- Bump-up
app-common-go
library + don't use deprecated field by @tisnik in #1865 - Support for SCRAM-SHA512 by @joselsegura in #1864
- Bump github.com/prometheus/client_model from 0.4.1-0.20230718164431-9a2bf3000d16 to 0.5.0 by @dependabot in #1869
- Bump github.com/xdg/scram from 0.0.0-20180814205039-7eeb5667e42c to 1.0.5 by @dependabot in #1868
- Bump golang.org/x/sync from 0.3.0 to 0.4.0 by @dependabot in #1867
- Bump golang.org/x/net from 0.10.0 to 0.17.0 by @dependabot in #1872
- GRPC dependency to fix HTTP/2 issue by @tisnik in #1873
- Update dependabot.yml by @tisnik in #1874
- [CCXDEV-12101] Move from Travis CI to GH Actions by @juandspy in #1877
- [CCXDEV-11922] Separate ccx-redis deployment from ccx-data-pipeline by @epapbak in #1879
- Revert "[CCXDEV-11922] Separate ccx-redis deployment from ccx-data-pipeline" by @epapbak in #1880
- [CCXDEV-11427] Drop frontend component in pr_check config by @juandspy in #1866
- Bump golang.org/x/sync from 0.4.0 to 0.5.0 by @dependabot in #1882
- Bump github.com/gorilla/mux from 1.8.0 to 1.8.1 by @dependabot in #1881
- Bump github.com/google/uuid from 1.3.1 to 1.4.0 by @dependabot in #1878
- Bump github.com/go-redis/redismock/v9 from 9.0.3 to 9.2.0 by @dependabot in #1875
- Refactor consumers by @tisnik in #1884
- Do not log updated recommendation table msg if nothing was done by @epapbak in #1883
- Consumers-only tests on CI by @tisnik in #1885
- Refactoring
Storage
interface name by @tisnik in #1886 - Refactoring: OCPRecommendationsStorage by @tisnik in #1887
- Fixed typo in PR check by @tisnik in #1889
- [CCXDEV-12286] For pr_check also use git version of ccx-cache-writer by @matysek in #1891
- Changed OCP configuration by @tisnik in #1888
- Updated doc before we change it with info about new consumer and new storage by @tisnik in #1892
- New storage configuration options by @tisnik in #1893
- Refactoring: OCPRecommendationsStorage by @tisnik in #1894
- Mutiple storages in Aggregator by @tisnik in #1895
- Bump github.com/RedHatInsights/insights-operator-utils from 1.24.11 to 1.24.12 by @dependabot in #1896
- Helper for decompress gzipped messages automagically by @tisnik in #1897
- [CCXDEV-12247] Support multiple consumer types with configurable processing by @epapbak in #1902
- Bump github.com/RedHatInsights/insights-operator-utils from 1.24.12 to 1.24.13 by @dependabot in #1905
- Adding temporary stage dashboards for dashboards showing Kafka information by @joselsegura in #1908
- allow the same connection for OCP and DVO storages in stage/prod by @Bee-lee in #1907
- [CCXDEV-11589] Add clowdapp for dvo-writer by @juandspy in #1906
- [CCXDEV-12250] Create DVOConsumer and DVOProcessor structs by @epapbak in #1903
- [CCXDEV-11596] Use Sentry configuration by @juandspy in #1911
- Try to unzip incoming DVO-related messages when deserializing by @epapbak in #1913
- Bump golang.org/x/crypto from 0.14.0 to 0.17.0 by @dependabot in #1915
- add support for DVO specific migrations by @Bee-lee in #1901
- [CCXDEV-12206] Fix ephemeral deployment by @juandspy in #1917
- Add command to install shellcheck in macos by @juandspy in #1919
- [CCXDEV-7292] Stop supporting SQLite by @epapbak in #1914
- Bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 by @dependabot in #1920
- [CCXDEV-12206] Add PG_PARAMS: "sslmode=disable" to test-dvo-writer.yaml by @juandspy in #1921
- Bump github.com/google/uuid from 1.4.0 to 1.5.0 by @dependabot in #1904
- Bump golang.org/x/sync from 0.5.0 to 0.6.0 by @dependabot in #1923
- extend migration module to support multiple database schemas by @Bee-lee in #1918
- Bump github.com/DATA-DOG/go-sqlmock from 1.5.0 to 1.5.2 by @dependabot in #1924
- Bump github.com/RedHatInsights/insights-operator-utils from 1.24.13 to 1.25.0 by @dependabot in #1926
- Store bdd logs as artifacts by @juandspy in #1927
- [CCXDEV-11595] Join cache-writer and db-writer in the same dashboard with support for dvo-writer too by @juandspy in #1928
- [DVO] Use shared DB by @juandspy in #1930
- Don't stop the GH Action if the BDD tests step failed by @juandspy in #1931
- add functionality for multple DB schemas, add support for both storages at once (aggregator case) by @Bee-lee in #1925
- Update pr_check to deploy dvo-writer too by @joselsegura in #1922
- [CCXDEV-11595][dvo-writer] Fix port by @juandspy in #1934
- [CCXDEV-11596] Enable Sentry for dvo-writer by @juandspy in #1935
- [CCXDEV-12342] Fix some SQL statements by @juandspy in #1932
- [CCXDEV-11596] Enable sentry for dvo-writer (main container) by @juandspy in #1936
- [CCXDEV-12426] Check for nil pointers before logging by @juandspy in #1940
- fix cache-writer not initializing redis storage because it's created as part of OCP storage by @Bee-lee in #1941
- add debug logs for dvo-writer DB prod issue by @Bee-lee in #1943
- add debug logs for dvo-writer DB prod issue by @Bee-lee in #1944
- do not initialize last_checked_at map if running as dvo-writer by @Bee-lee in #1945
- [CCXDEV-12473] Generalisation of storage in kafka consumer by @Jakub007d in #1947
- [CCXDEV-12345] Add DVO db version to /info endpoint by @juandspy in #1949
- add DVO migrations by @Bee-lee in #1948
- Add DVO storage to Server by @Jakub007d in #1953
- [CCXDEV-12475][dvo-writer] Parse DVO reports by @juandspy in #1954
- CCXDEV-12474: start DVO consumer when running as dvo-writer by @joselsegura in #1952
- [CCXDEV-12475] Insert workload recommendation in DB by @juandspy in #1955
- [CCXDEV-12475[debug] Try to find the cause of a parse time error by @juandspy in https://github.com//pull/1956
- Revert "[CCXDEV-12475[debug] Try to find the cause of a parse time error" by @juandspy in https://github.com//pull/1957
- Fix CCX Writers dashboard panel by @juandspy in #1959
- [CCXDEV-12388] Use prod ref env for dvo-writer by @juandspy in #1960
- Update cache-writer.yaml with a valid log stream by @juandspy in #1962
- Support for multiple broker addresses by @epapbak in #1961
- [CCXDEV-12529][dvo-writer] Use DELETE -> INSERT instead of upsert by @juandspy in #1965
- Update aggregator base images by @joselsegura in #1964
- Clean up the repeated unit tests execution mess by @joselsegura in #1966
- Update build image to ubi9 by @joselsegura in #1968
- add DVO related endpoints by @Bee-lee in #1969
New Contributors
- @dependabot made their first contribution in #1707
- @Jakub007d made their first contribution in #1805
Full Changelog: v1.3.4...v1.4.0