Ran
|
Jobs
8
|
Files
49
|
Run time
2min
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/Kintyre/ksconf/commit/<a class=hub.com/Kintyre/ksconf/commit/<a class="double-link" href="https://git"><a class=hub.com/Kintyre/ksconf/commit/20be65a55b86f18d8a6514348744c494198e9cc4">20be65a55<a href="https://github.com/Kintyre/ksconf/commit/20be65a55b86f18d8a6514348744c494198e9cc4"><a href="https://github.com/Kintyre/ksconf/commit/20be65a55b86f18d8a6514348744c494198e9cc4">&quot;&gt;Add &amp;#39;rest-publish&amp;#39; command Supports: - Pushing multiple stanzas to a specific config endpoint at once, in a fairly efficient process. - Changes made on the server are show in the form of a diff. (Eventually, this should be configurable, and a dry-run mode should be added.) - Supports pushing to a live Splunk instance (via Splunkd REST API). This should replace the use of &amp;#39;rest-export&amp;#39; for MOST use cases. - Supports reading and applying metadata (ACLs, owner, shared, app) to imported objects. - Any type of conf entry should be supported. Limitations: - NO UNIT TESTING! (This will require some fancy mork work.) - Doesn&amp;#39;t support attribute-level metadata. - No SSL validation setup yet. This is primarily because of how Splunk&#39;s Python SDK works. For other Python HTTP libraries this is enabled by default. Squashed commit of the following: commit </a><a class="double-link" href="https://github.com/Kintyre/ksconf/commit/<a class="double-link" href="https://github.com/Kintyre/ksconf/commit/5ef130cfc1c526f4d1d026820f6f219038ac040b">5ef130cfc</a>">5ef130cfc</a><a href="https://github.com/Kintyre/ksconf/commit/20be65a55b86f18d8a6514348744c494198e9cc4"> Author: Lowell Alleman &lt;lowell@kintyre.co&gt; Date: Mon Feb 25 18:39:54 2019 -0500 Fixed bugs in rest-publish - Fixed issue where rest-publish would fail if &#39;--conf&#39; wasn&#39;t explicitly set. Has something to do with encoding. Splunk SDK is looking for a non-unicode value for conf-type. Whatever. - Fixed corner-case thing where ACL has 'read' or 'write' is an empty list. commit </a><a class="double-link" href="https://github.com/Kintyre/ksconf/commit/<a class="double-link" href="https://github.com/Kintyre/ksconf/commit/d0a3df2078f2c148214c7bd095fcca714bd355d8">d0a3df207</a>">d0a3df207</a><a href="https://github.com/Kintyre/ksconf/commit/20be65a55b86f18d8a6514348744c494198e9cc4"> Author: Lowell Alleman <lowell@kintyre.co> Date: Mon Feb 25 18:08:56 2019 -0500 Reduce server roun... (continued)
205 of 205 new or added lines in 4 files covered. (100.0%)
3436 of 3818 relevant lines covered (89.99%)
7.13 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
5 |
58.33 |
0.0% | ksconf/util/rest.py |
137 |
23.89 |
0.0% | ksconf/commands/restpublish.py |
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
80.65 |
0.0% | ksconf/setup_entrypoints.py |
35 |
82.51 |
1.14% | ksconf/commands/__init__.py |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 307.1 | 49 |
89.32 |
Travis Job 307.1 | |
2 | 307.2 | 49 |
88.87 |
Travis Job 307.2 | |
3 | 307.3 (EXTRA_PKGS="argcomplete") | 49 |
88.76 |
Travis Job 307.3 | |
4 | 307.4 (BUILD_SDIST=true) | 49 |
88.87 |
Travis Job 307.4 | |
5 | 307.5 | 49 |
88.87 |
Travis Job 307.5 | |
6 | 307.6 (PYENV_VERSION=2.7.15) | 49 |
89.95 |
Travis Job 307.6 | |
7 | 307.7 (PYENV_VERSION=3.6.5) | 49 |
88.87 |
Travis Job 307.7 | |
8 | 307.8 | 49 |
89.29 |
Travis Job 307.8 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|