package
8.20.0+incompatible
Repository: https://github.com/cloudfoundry/mysql-monitoring-release.git
Documentation: pkg.go.dev

# README

notifications-client

Description

This client library connects to a notifications service, using credentials for a UAA client which has the appropriate notifications-related scopes. It provides an interface for sending emails using the underlying notifications service.

Testing

To run the integration tests

  • You need a Cloud Foundry with a deployed notifications service (ERT provides this)
  • Ensure that you also set the following environment variables. Some defaults are provided (with valid values for bosh-lite):
    • NOTIFICATIONS_MAILINATOR_TOKEN
    • NOTIFICATIONS_UAA_DOMAIN
    • NOTIFICATIONS_NOTIFICATIONS_DOMAIN
    • NOTIFICATIONS_RECIPIENT_EMAIL
    • NOTIFICATIONS_CLIENT_SECRET
    • NOTIFICATIONS_CLIENT_USERNAME
    • NOTIFICATIONS_UAA_ADMIN_CLIENT_USERNAME
    • NOTIFICATIONS_UAA_ADMIN_CLIENT_SECRET
  • run bin/test-integration
  • You can find an example concourse task for running these tests here

# Packages

No description provided by the author
No description provided by the author

# Structs

No description provided by the author