• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cloudmarker / cloudmarker / 659
84%

Build:
DEFAULT BRANCH: master
Ran 28 Apr 2019 10:04AM UTC
Jobs 3
Files 35
Run time 21s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
659

push

travis-ci-com

susam
Put all plugin configs under a key named 'plugins'

Prior to this change, the various plugins were configured under separate
keys named `clouds`, `stores`, `events`, and `alerts`. This led to
duplicate plugin configs when the same store plugin is used as alert
plugin as well.

For example, in order to use `FileStore` and `SplunkHECStore` plugins
for both storing cloud records and event records, we need to duplicate
the configuration for them twice, once under `stores` and again under
`alerts`:

    stores:
      filestore:
        plugin: cloudmarker.stores.filestore.FileStore

      splunkstore:
        plugin: cloudmarker.stores.splunkhecstore.SplunkHECStore
        params:
          uri: https://localhost:8088/services/collector
          token: token123
          index_name: main
          ca_cert: false

    alerts:
      filestore:
        plugin: cloudmarker.stores.filestore.FileStore

      splunkstore:
        plugin: cloudmarker.stores.splunkhecstore.SplunkHECStore
        params:
          uri: https://localhost:8088/services/collector
          token: token123
          index_name: main
          ca_cert: false

    audits:
      mockaudit:
        stores:
          - filestore
          - splunkstore
        alerts:
          - filestore
          - splunkstore

With this change, all plugin configuration is placed under a single key
named `plugins` as shown in the following example:

    plugins:
      filestore:
        plugin: cloudmarker.stores.filestore.FileStore

      splunkstore:
        plugin: cloudmarker.stores.splunkhecstore.SplunkHECStore
        params:
          uri: https://localhost:8088/services/collector
          token: token123
          index_name: main
          ca_cert: false

    audits:
      mockaudit:
        stores:
          - filestore
          - splunkstore
        alerts:
          - filestore
          - splunkstore

Thus, there is no need to configure the same plugin twice as a store and
as an alert. If ... (continued)

326 of 372 branches covered (87.63%)

Branch coverage included in aggregate %.

1598 of 1760 relevant lines covered (90.8%)

2.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 659.1 28 Apr 2019 10:04AM UTC 0
90.51
Travis Job 659.1
2 659.2 28 Apr 2019 10:04AM UTC 0
90.51
Travis Job 659.2
3 659.3 28 Apr 2019 10:04AM UTC 0
90.51
Travis Job 659.3
Source Files on build 659
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #659
  • 95b1f3f3 on github
  • Prev Build on master (#656)
  • Next Build on master (#667)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc