notifications-client

command
v9.9.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL