Skip to content

Create Service Push 1.1.0

Compare
Choose a tag to compare
@dawu415 dawu415 released this 04 Apr 05:59
· 37 commits to master since this release

Implements:

  1. Alias: 'csp'. Simply now call cf csp

  2. Support for user provided services.

  • Credentials
  • Routes
  • Log Drain

Usage:
Introduced new a field called 'type'. 'type' specifies the type of service
being created. The options are "brokered", "credentials", "drain" and "route".
If 'type' is not specified, the service type defaults to "brokered".

"brokered" are the brokered services that Create Service Push originally supported.

"credentials": Specifies service is a credentials user provided service. During creation, the plugin will look for a 'credentials' field with proceeding key-value pair of values.

Both "drain" and "route" require the input of an "url" YAML field. Route service urls must be of an HTTPS scheme.

Example service-manifest.yml

---
create-services:
- name:   "my-database-service"
  broker: "p-mysql"
  plan:   "1gb"
- name:   "Credentials-UPS"
  type:   "credentials"
  credentials:
    username: david
    password: 12.23@123password
- name:   "Route-UPS"
  type:   "route"
  url:    "https://www.google.com"
- name:   "LogDrain-UPS"
  type:   "drain"
  url:    "syslog-tls://server.myapp.com:1020"

Bug reports, feedback comments and pull requests welcome :-)