dependabot[bot]
fc32660145
build(deps): bump golang.org/x/sync
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.0.0-20210220032951-036812b2e83c to 0.2.0.
- [Commits](https://github.com/golang/sync/commits/v0.2.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-23 14:31:05 +00:00
dependabot[bot]
726bb78787
build(deps): bump github.com/docker/docker in /tests
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.8+incompatible to 20.10.24+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v20.10.8...v20.10.24 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-23 14:30:22 +00:00
Alexander Aleksandrovič Klimov
a6dab96f69
Merge pull request #549 from Icinga/dependabot/go_modules/go.uber.org/zap-1.24.0
...
build(deps): bump go.uber.org/zap from 1.23.0 to 1.24.0
2023-05-23 16:29:30 +02:00
Alexander Aleksandrovič Klimov
1688c3d67f
Merge pull request #548 from Icinga/dependabot/go_modules/github.com/go-sql-driver/mysql-1.7.0
...
build(deps): bump github.com/go-sql-driver/mysql from 1.6.0 to 1.7.0
2023-05-23 16:28:45 +02:00
Alexander Aleksandrovič Klimov
a3e5690301
Merge pull request #565 from Icinga/gha-go-lint
...
GitHub Actions: run Go lint job with at least 1.19
2023-05-23 16:06:07 +02:00
Alexander A. Klimov
cde27fd608
schema: notification: enlarge name and name_ci 255 -> 767
2023-05-23 15:36:17 +02:00
Julian Brost
0baaf74174
GitHub Actions: run Go lint job with at least 1.19
...
The jobs were failing and the output contained: "note: module requires Go 1.19" (e.g. https://github.com/Icinga/icingadb/actions/runs/4233417770/jobs/7354361633 )
2023-02-21 15:08:56 +01:00
Julian Brost
efec262c9c
Merge pull request #562 from Icinga/gha-breaking
...
GHA: handle changed interface of Icinga/docker-icingadb
2023-02-21 15:00:58 +01:00
Alexander A. Klimov
7bd475b2fe
GHA: handle changed interface of Icinga/docker-icingadb
2023-02-02 10:38:55 +01:00
Alexander A. Klimov
5a79a72ff5
Heartbeat#sendEvent(m): nil-check m before dereferencing it
...
as it can be nil.
2023-01-19 16:55:11 +01:00
Alexander A. Klimov
03b0e84808
convertFlappingRows(): fix foreign key error history -> flapping_history
...
Don't INSERT IGNORE everything, then UPSERT everything. Instead INSERT IGNORE
flapping_history, UPSERT flapping_history and finally INSERT IGNORE history.
2022-12-19 16:07:55 +01:00
Alexander A. Klimov
a778fc8d34
migrateOneType(): allow multiple stages of INSERT IGNORE, UPSERT
...
Refactor the converters so they can signal the caller to behave not as usual
i.e. not to INSERT IGNORE everything, then UPSERT everything.
2022-12-19 16:07:53 +01:00
dependabot[bot]
86199ea000
build(deps): bump go.uber.org/zap from 1.23.0 to 1.24.0
...
Bumps [go.uber.org/zap](https://github.com/uber-go/zap ) from 1.23.0 to 1.24.0.
- [Release notes](https://github.com/uber-go/zap/releases )
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/uber-go/zap/compare/v1.23.0...v1.24.0 )
---
updated-dependencies:
- dependency-name: go.uber.org/zap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 10:00:38 +00:00
dependabot[bot]
9b896576a9
build(deps): bump github.com/go-sql-driver/mysql from 1.6.0 to 1.7.0
...
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql ) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/go-sql-driver/mysql/releases )
- [Changelog](https://github.com/go-sql-driver/mysql/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-sql-driver/mysql/compare/v1.6.0...v1.7.0 )
---
updated-dependencies:
- dependency-name: github.com/go-sql-driver/mysql
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 10:00:33 +00:00
Julian Brost
4ed4db3ab6
Merge pull request #545 from theFeu/patch-3
...
Replace apt-get with apt
2022-11-24 10:48:39 +01:00
Feu Mourek
f8be92ebd2
Replace apt-get with apt
2022-11-23 12:06:50 +01:00
Julian Brost
de78af332f
Merge pull request #542 from Icinga/unix-port
...
Log UNIX socket address w/o port number
2022-11-09 16:04:11 +01:00
Julian Brost
a0093d1df6
Merge pull request #537 from Icinga/feature/release-1.1.0
...
Release 1.1.0
2022-11-09 12:10:31 +01:00
Alexander A. Klimov
ab14413393
Log UNIX socket address w/o port number
...
E.g. not
Connecting to database at '/var/lib/mysql/mysql.sock:0'
Connecting to Redis at '/run/icingadb-redis/icingadb-redis-server.sock:6380'
2022-11-09 11:03:50 +01:00
Julian Brost
2f87c84139
Merge pull request #536 from Icinga/feature/migrate-history-docs
...
Improve documentation for migration tool
2022-11-08 11:31:28 +01:00
Julian Brost
9981cd8e1c
Merge pull request #540 from Icinga/dependabot/go_modules/github.com/mattn/go-sqlite3-1.14.16
...
build(deps): bump github.com/mattn/go-sqlite3 from 1.14.6 to 1.14.16
2022-11-07 14:01:36 +01:00
Julian Brost
cf561d786c
Release 1.1.0
2022-11-07 13:57:34 +01:00
Julian Brost
ed9ae66e7c
Improve documentation for migration tool
...
1. Moves the example config to a separate file one can just download.
2. Establishes some kind of standard workflow for the migration.
2022-11-07 13:35:09 +01:00
Julian Brost
5326cb3421
Merge pull request #541 from Icinga/migrate-endpoint
...
cmd/icingadb-migrate: avoid unnecessary config option
2022-11-07 13:33:15 +01:00
dependabot[bot]
43ecb18cd0
build(deps): bump github.com/mattn/go-sqlite3 from 1.14.6 to 1.14.16
...
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3 ) from 1.14.6 to 1.14.16.
- [Release notes](https://github.com/mattn/go-sqlite3/releases )
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.6...v1.14.16 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-07 12:26:07 +00:00
Alexander Aleksandrovič Klimov
e6795f4594
Merge pull request #534 from Icinga/goccy
...
go get -u github.com/goccy/go-yaml
2022-11-07 13:25:28 +01:00
Alexander A. Klimov
ea6620e042
go mod tidy
2022-11-07 12:54:51 +01:00
Alexander A. Klimov
7fb3457c6f
go get -u github.com/goccy/go-yaml
...
to change it "back" master -> tag so dependabot will take care of it.
Meanwhile the latest tag has everything we need.
2022-11-07 12:39:13 +01:00
Alexander A. Klimov
cfaee2e3d4
cmd/icingadb-migrate: avoid unnecessary config option
...
for columns which are NULLable anyway.
2022-11-07 12:35:31 +01:00
Eric Lippmann
833c935b35
Merge pull request #538 from julianbrost/master
...
Fix release issue template
2022-11-07 09:13:38 +01:00
Julian Brost
6c9b27272e
Fix release issue template
...
Square brackets are a problem and have to be quoted.
2022-11-04 15:29:00 +01:00
Julian Brost
a8f18a871b
Merge pull request #533 from Icinga/dependabot/go_modules/github.com/stretchr/testify-1.8.1
...
Bump github.com/stretchr/testify from 1.8.0 to 1.8.1
2022-11-02 16:29:34 +01:00
dependabot[bot]
a5df8952ba
Bump github.com/stretchr/testify from 1.8.0 to 1.8.1
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 14:49:00 +00:00
Julian Brost
4969c7e19b
Merge pull request #522 from Icinga/dependabot/go_modules/go.uber.org/zap-1.23.0
...
Bump go.uber.org/zap from 1.21.0 to 1.23.0
2022-11-02 15:48:18 +01:00
Julian Brost
df60b61fc5
Merge pull request #524 from Icinga/dependabot/go_modules/github.com/lib/pq-1.10.7
...
Bump github.com/lib/pq from 1.10.6 to 1.10.7
2022-11-02 14:00:09 +01:00
Julian Brost
a327ef0275
Merge pull request #525 from Icinga/save-memory
...
Save memory during config sync via SyncSubject#FactoryForDelta()
2022-11-02 12:27:06 +01:00
dependabot[bot]
ba3143b093
Bump go.uber.org/zap from 1.21.0 to 1.23.0
...
Bumps [go.uber.org/zap](https://github.com/uber-go/zap ) from 1.21.0 to 1.23.0.
- [Release notes](https://github.com/uber-go/zap/releases )
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/uber-go/zap/compare/v1.21.0...v1.23.0 )
---
updated-dependencies:
- dependency-name: go.uber.org/zap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 11:17:44 +00:00
dependabot[bot]
3dbf9bd96a
Bump github.com/lib/pq from 1.10.6 to 1.10.7
...
Bumps [github.com/lib/pq](https://github.com/lib/pq ) from 1.10.6 to 1.10.7.
- [Release notes](https://github.com/lib/pq/releases )
- [Commits](https://github.com/lib/pq/compare/v1.10.6...v1.10.7 )
---
updated-dependencies:
- dependency-name: github.com/lib/pq
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 11:17:34 +00:00
Julian Brost
9fb9a10a8b
Merge pull request #253 from Icinga/feature/migrate-history
...
cmd/ido2icingadb: migrate history from IDO to Icinga DB
2022-11-02 12:16:47 +01:00
Alexander A. Klimov
c51d767d7d
Migration: docs enhancements
2022-10-26 15:30:36 +02:00
Alexander A. Klimov
6a5f3fd02f
cmd/: rename ido2icingadb/ to icingadb-migrate/
2022-10-26 11:18:52 +02:00
Alexander A. Klimov
0ff1728434
cmd/ido2icingadb: move docs to the main tree
2022-10-26 10:24:40 +02:00
Alexander A. Klimov
70a0bfb867
cmd/ido2icingadb: use built-in decorators for the progress bar
2022-10-24 16:44:38 +02:00
Alexander A. Klimov
649f7e0e3d
cmd/ido2icingadb: build cache from [0,toId], not just [fromId,toId]
...
Just to be sure.
2022-10-14 16:58:14 +02:00
Julian Brost
e62a6204da
Merge pull request #531 from Icinga/bugfix/tests-dont-update-some-attrs
...
Tests: don't update some attributes via API in to work with recent icinga2 changes
2022-10-13 09:37:15 +02:00
Julian Brost
5cbaac5cbc
Fix tests for new icinga2 master
...
A recent change in icinga2 [1] prevents modifying some object attributes via
the API, most notably those that influence the name of the object. Previously,
the tests would also include these attributes in the POST requests that modify
the objects (but with the same value as before), something that is now
rejected. Therefore, this commits allows to label attributes as "nomodify" so
that they won't be sent in this case.
[1]: https://github.com/Icinga/icinga2/pull/9407
2022-10-12 15:37:54 +02:00
Julian Brost
2faa13439d
Increase Go version for integration tests to 1.18
...
This allows the use of generics (or libraries that do) in the tests.
2022-10-12 15:34:36 +02:00
Alexander A. Klimov
016a5ddae1
cmd/ido2icingadb: don't tell how to mess up everything
2022-10-11 16:32:22 +02:00
Alexander A. Klimov
5ebb2b0798
cmd/ido2icingadb: Keep It Simple Stupid
2022-10-11 16:32:22 +02:00
Alexander A. Klimov
f233c63209
cmd/ido2icingadb: assert schema
2022-10-11 16:32:22 +02:00