-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add controllers for roles users sindex udf (#108)
* Create manage acl controller * Add manage udfs * Change tests to use a server with security enabled to accomidate manage acl testing * Create tests for manage acl * create "show user/roles" in sheets * Create `show users` and `show roles` e2e tests * change -r help info * Add `show udfs` command * Add show/manage udf tests * add manage udf help info * create `manage sindex` controller * create `manage sindex` tests * fix collectinfo `show config xdr` error * TOOLS-1627 Fix histogram -f option not working in py3 * Add show sindex controller to default and collectinfo analyzer * Add enable/disable to access asinfo and manage. Add show users, roles, udfs, and sindex to collectinfo-analyzer. * Add enable --warn flag for manage commands * Tools-1638 Fix `info xdr` in collectinfo-analyzer for server < 5.0 * TOOLS-1643 Fix traceback for 'show config xdr' and 'show config dc' * TOOLS-1632 Too many sprigs per partition rule should be for all-flash * [TOOLS-1643] Add warning message when there is an error parsing xdr configs * TOOLS-1634 Fix commit bug * TOOLS-1636 "Show distribution" shows same values for every column in a row * TOOLS-1649 fix log analyzer 'histogram' average output * TOOLS-1652 Remove 'src-id' from info xdr title * Add action to upload codecoverage to code cov Co-authored-by: Kevin Porter <[email protected]>
- Loading branch information
Showing
46 changed files
with
3,393 additions
and
560 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[run] | ||
|
||
include = | ||
lib/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Codecov | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.9] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install flake8 unittest2 coverage mock | ||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | ||
- name: Test with unittest2 | ||
run: | | ||
coverage run -m unittest2 discover -s test/unit -t . | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
token: ${{secrets.CODECOV_TOKEN}} | ||
flags: unittests | ||
verbose: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.