-
Notifications
You must be signed in to change notification settings - Fork 1
add: cron job to check mail server connectivity #148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: subtask/AT-2834-BE-CRUD-operations-for-eventype-mail
Are you sure you want to change the base?
add: cron job to check mail server connectivity #148
Conversation
Scanning the following files:
Scan: 'Dockerfile'Nothing detected in Dockerfile Scan: 'cmd/notification-service/main.go'Nothing detected in cmd/notification-service/main.go Scan: 'go.mod'Nothing detected in go.mod Scan: 'go.sum'Nothing detected in go.sum Scan: 'pkg/jobs/checkmailconnectivity/checkMailConnectivity.go'Nothing detected in pkg/jobs/checkmailconnectivity/checkMailConnectivity.go Scan: 'pkg/port/mocks/notification_channel_service.go'Nothing detected in pkg/port/mocks/notification_channel_service.go Scan: 'pkg/port/repository.go'Nothing detected in pkg/port/repository.go Scan: 'pkg/port/service.go'Nothing detected in pkg/port/service.go Scan: 'pkg/repository/notificationrepository/notificationChannelRepository.go'Nothing detected in pkg/repository/notificationrepository/notificationChannelRepository.go Scan: 'pkg/services/notificationchannelservice/connectionCheck.go'Nothing detected in pkg/services/notificationchannelservice/connectionCheck.go Scan: 'pkg/services/notificationchannelservice/notificationChannelService.go'Nothing detected in pkg/services/notificationchannelservice/notificationChannelService.go Scan: 'pkg/web/mailcontroller/mailController.go'Nothing detected in pkg/web/mailcontroller/mailController.go |
Conventional Commits Report
🚀 Conventional commits found. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #148 +/- ##
==========================================
+ Coverage 22.43% 28.26% +5.83%
==========================================
Files 27 35 +8
Lines 584 1072 +488
==========================================
+ Hits 131 303 +172
- Misses 441 744 +303
- Partials 12 25 +13
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Bumps the go-modules group with 1 update: [github.com/greenbone/opensight-golang-libraries](https://github.com/greenbone/opensight-golang-libraries). Updates `github.com/greenbone/opensight-golang-libraries` from 1.22.0 to 1.23.0 - [Release notes](https://github.com/greenbone/opensight-golang-libraries/releases) - [Commits](greenbone/opensight-golang-libraries@v1.22.0...v1.23.0) --- updated-dependencies: - dependency-name: github.com/greenbone/opensight-golang-libraries dependency-version: 1.23.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-modules ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps golang from 1.25.4-alpine to 1.25.5-alpine. --- updated-dependencies: - dependency-name: golang dependency-version: 1.25.5-alpine dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps the go-modules group with 13 updates: | Package | From | To | | --- | --- | --- | | [github.com/gabriel-vasile/mimetype](https://github.com/gabriel-vasile/mimetype) | `1.4.11` | `1.4.12` | | [github.com/go-openapi/jsonpointer](https://github.com/go-openapi/jsonpointer) | `0.22.3` | `0.22.4` | | [github.com/go-openapi/jsonreference](https://github.com/go-openapi/jsonreference) | `0.21.3` | `0.21.4` | | [github.com/go-openapi/spec](https://github.com/go-openapi/spec) | `0.22.1` | `0.22.2` | | [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) | `10.28.0` | `10.29.0` | | [golang.org/x/crypto](https://github.com/golang/crypto) | `0.45.0` | `0.46.0` | | [golang.org/x/mod](https://github.com/golang/mod) | `0.30.0` | `0.31.0` | | [golang.org/x/net](https://github.com/golang/net) | `0.47.0` | `0.48.0` | | [golang.org/x/sync](https://github.com/golang/sync) | `0.18.0` | `0.19.0` | | [golang.org/x/sys](https://github.com/golang/sys) | `0.38.0` | `0.39.0` | | [golang.org/x/text](https://github.com/golang/text) | `0.31.0` | `0.32.0` | | [golang.org/x/tools](https://github.com/golang/tools) | `0.39.0` | `0.40.0` | | google.golang.org/protobuf | `1.36.10` | `1.36.11` | Updates `github.com/gabriel-vasile/mimetype` from 1.4.11 to 1.4.12 - [Release notes](https://github.com/gabriel-vasile/mimetype/releases) - [Commits](gabriel-vasile/mimetype@v1.4.11...v1.4.12) Updates `github.com/go-openapi/jsonpointer` from 0.22.3 to 0.22.4 - [Release notes](https://github.com/go-openapi/jsonpointer/releases) - [Commits](go-openapi/jsonpointer@v0.22.3...v0.22.4) Updates `github.com/go-openapi/jsonreference` from 0.21.3 to 0.21.4 - [Release notes](https://github.com/go-openapi/jsonreference/releases) - [Commits](go-openapi/jsonreference@v0.21.3...v0.21.4) Updates `github.com/go-openapi/spec` from 0.22.1 to 0.22.2 - [Release notes](https://github.com/go-openapi/spec/releases) - [Commits](go-openapi/spec@v0.22.1...v0.22.2) Updates `github.com/go-playground/validator/v10` from 10.28.0 to 10.29.0 - [Release notes](https://github.com/go-playground/validator/releases) - [Commits](go-playground/validator@v10.28.0...v10.29.0) Updates `golang.org/x/crypto` from 0.45.0 to 0.46.0 - [Commits](golang/crypto@v0.45.0...v0.46.0) Updates `golang.org/x/mod` from 0.30.0 to 0.31.0 - [Commits](golang/mod@v0.30.0...v0.31.0) Updates `golang.org/x/net` from 0.47.0 to 0.48.0 - [Commits](golang/net@v0.47.0...v0.48.0) Updates `golang.org/x/sync` from 0.18.0 to 0.19.0 - [Commits](golang/sync@v0.18.0...v0.19.0) Updates `golang.org/x/sys` from 0.38.0 to 0.39.0 - [Commits](golang/sys@v0.38.0...v0.39.0) Updates `golang.org/x/text` from 0.31.0 to 0.32.0 - [Release notes](https://github.com/golang/text/releases) - [Commits](golang/text@v0.31.0...v0.32.0) Updates `golang.org/x/tools` from 0.39.0 to 0.40.0 - [Release notes](https://github.com/golang/tools/releases) - [Commits](golang/tools@v0.39.0...v0.40.0) Updates `google.golang.org/protobuf` from 1.36.10 to 1.36.11 --- updated-dependencies: - dependency-name: github.com/gabriel-vasile/mimetype dependency-version: 1.4.12 dependency-type: indirect update-type: version-update:semver-patch dependency-group: go-modules - dependency-name: github.com/go-openapi/jsonpointer dependency-version: 0.22.4 dependency-type: indirect update-type: version-update:semver-patch dependency-group: go-modules - dependency-name: github.com/go-openapi/jsonreference dependency-version: 0.21.4 dependency-type: indirect update-type: version-update:semver-patch dependency-group: go-modules - dependency-name: github.com/go-openapi/spec dependency-version: 0.22.2 dependency-type: indirect update-type: version-update:semver-patch dependency-group: go-modules - dependency-name: github.com/go-playground/validator/v10 dependency-version: 10.29.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: go-modules - dependency-name: golang.org/x/crypto dependency-version: 0.46.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: go-modules - dependency-name: golang.org/x/mod dependency-version: 0.31.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: go-modules - dependency-name: golang.org/x/net dependency-version: 0.48.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: go-modules - dependency-name: golang.org/x/sync dependency-version: 0.19.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: go-modules - dependency-name: golang.org/x/sys dependency-version: 0.39.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: go-modules - dependency-name: golang.org/x/text dependency-version: 0.32.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: go-modules - dependency-name: golang.org/x/tools dependency-version: 0.40.0 dependency-type: indirect update-type: version-update:semver-minor dependency-group: go-modules - dependency-name: google.golang.org/protobuf dependency-version: 1.36.11 dependency-type: indirect update-type: version-update:semver-patch dependency-group: go-modules ... Signed-off-by: dependabot[bot] <support@github.com>
…heck-mail # Conflicts: # go.mod # go.sum
What
Adds a cron job to check mail server connectivity.
Why
Configuration provided by the user may be wrong, or we can loose connectivity to the mail server. In all those cases we want to notify the user.
References
Checklist