Skip to content

Commit e17aaaa

Browse files
authored
Merge pull request #19 from rsnyman/regenerate-2.2
Regenerated client
2 parents 451bae3 + beec5f6 commit e17aaaa

78 files changed

Lines changed: 10630 additions & 3521 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openapi-generator/FILES

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@
33
.openapi-generator-ignore
44
.travis.yml
55
README.md
6+
docs/AccountRecovery.md
7+
docs/AccountRegistration.md
8+
docs/AccountReset.md
69
docs/Artifact.md
710
docs/ArtifactApi.md
811
docs/ArtifactList.md
12+
docs/CreateToken.md
13+
docs/Credentials.md
914
docs/Dashboard.md
1015
docs/DashboardApi.md
1116
docs/DashboardList.md
@@ -17,6 +22,11 @@ docs/HealthApi.md
1722
docs/HealthInfo.md
1823
docs/ImportApi.md
1924
docs/InlineResponse200.md
25+
docs/LoginApi.md
26+
docs/LoginConfig.md
27+
docs/LoginError.md
28+
docs/LoginSupport.md
29+
docs/LoginToken.md
2030
docs/ModelImport.md
2131
docs/Pagination.md
2232
docs/Project.md
@@ -33,7 +43,11 @@ docs/Run.md
3343
docs/RunApi.md
3444
docs/RunList.md
3545
docs/TaskApi.md
46+
docs/Token.md
47+
docs/TokenList.md
3648
docs/UpdateRun.md
49+
docs/User.md
50+
docs/UserApi.md
3751
docs/WidgetApi.md
3852
docs/WidgetConfig.md
3953
docs/WidgetConfigApi.md
@@ -49,27 +63,38 @@ ibutsu_client/api/dashboard_api.py
4963
ibutsu_client/api/group_api.py
5064
ibutsu_client/api/health_api.py
5165
ibutsu_client/api/import_api.py
66+
ibutsu_client/api/login_api.py
5267
ibutsu_client/api/project_api.py
5368
ibutsu_client/api/report_api.py
5469
ibutsu_client/api/result_api.py
5570
ibutsu_client/api/run_api.py
5671
ibutsu_client/api/task_api.py
72+
ibutsu_client/api/user_api.py
5773
ibutsu_client/api/widget_api.py
5874
ibutsu_client/api/widget_config_api.py
5975
ibutsu_client/api_client.py
6076
ibutsu_client/apis/__init__.py
6177
ibutsu_client/configuration.py
6278
ibutsu_client/exceptions.py
6379
ibutsu_client/model/__init__.py
80+
ibutsu_client/model/account_recovery.py
81+
ibutsu_client/model/account_registration.py
82+
ibutsu_client/model/account_reset.py
6483
ibutsu_client/model/artifact.py
6584
ibutsu_client/model/artifact_list.py
85+
ibutsu_client/model/create_token.py
86+
ibutsu_client/model/credentials.py
6687
ibutsu_client/model/dashboard.py
6788
ibutsu_client/model/dashboard_list.py
6889
ibutsu_client/model/group.py
6990
ibutsu_client/model/group_list.py
7091
ibutsu_client/model/health.py
7192
ibutsu_client/model/health_info.py
7293
ibutsu_client/model/inline_response200.py
94+
ibutsu_client/model/login_config.py
95+
ibutsu_client/model/login_error.py
96+
ibutsu_client/model/login_support.py
97+
ibutsu_client/model/login_token.py
7398
ibutsu_client/model/model_import.py
7499
ibutsu_client/model/pagination.py
75100
ibutsu_client/model/project.py
@@ -81,7 +106,10 @@ ibutsu_client/model/result.py
81106
ibutsu_client/model/result_list.py
82107
ibutsu_client/model/run.py
83108
ibutsu_client/model/run_list.py
109+
ibutsu_client/model/token.py
110+
ibutsu_client/model/token_list.py
84111
ibutsu_client/model/update_run.py
112+
ibutsu_client/model/user.py
85113
ibutsu_client/model/widget_config.py
86114
ibutsu_client/model/widget_config_list.py
87115
ibutsu_client/model/widget_param.py
@@ -95,9 +123,14 @@ setup.cfg
95123
setup.py
96124
test-requirements.txt
97125
test/__init__.py
126+
test/test_account_recovery.py
127+
test/test_account_registration.py
128+
test/test_account_reset.py
98129
test/test_artifact.py
99130
test/test_artifact_api.py
100131
test/test_artifact_list.py
132+
test/test_create_token.py
133+
test/test_credentials.py
101134
test/test_dashboard.py
102135
test/test_dashboard_api.py
103136
test/test_dashboard_list.py
@@ -109,6 +142,11 @@ test/test_health_api.py
109142
test/test_health_info.py
110143
test/test_import_api.py
111144
test/test_inline_response200.py
145+
test/test_login_api.py
146+
test/test_login_config.py
147+
test/test_login_error.py
148+
test/test_login_support.py
149+
test/test_login_token.py
112150
test/test_model_import.py
113151
test/test_pagination.py
114152
test/test_project.py
@@ -125,7 +163,11 @@ test/test_run.py
125163
test/test_run_api.py
126164
test/test_run_list.py
127165
test/test_task_api.py
166+
test/test_token.py
167+
test/test_token_list.py
128168
test/test_update_run.py
169+
test/test_user.py
170+
test/test_user_api.py
129171
test/test_widget_api.py
130172
test/test_widget_config.py
131173
test/test_widget_config_api.py

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.2.1
1+
5.3.0

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# ref: https://docs.travis-ci.com/user/languages/python
2+
language: python
3+
python:
4+
- "3.6"
5+
- "3.7"
6+
- "3.8"
7+
- "3.9"
8+
# command to install dependencies
9+
install:
10+
- "pip install -r requirements.txt"
11+
- "pip install -r test-requirements.txt"
12+
# command to run tests
13+
script: pytest --cov=ibutsu_client

README.md

Lines changed: 39 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A system to store and query test results
44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: 1.13.4
7-
- Package version: 2.1
7+
- Package version: 2.2
88
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99

1010
## Requirements.
@@ -17,9 +17,9 @@ Python >= 3.6
1717
If the python package is hosted on a repository, you can install directly using:
1818

1919
```sh
20-
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
20+
pip install git+https://github.com/ibutsu/ibutsu-client-python.git
2121
```
22-
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
22+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/ibutsu/ibutsu-client-python.git`)
2323

2424
Then import the package:
2525
```python
@@ -58,6 +58,15 @@ configuration = ibutsu_client.Configuration(
5858
host = "http://localhost/api"
5959
)
6060

61+
# The client must configure the authentication and authorization parameters
62+
# in accordance with the API server security policy.
63+
# Examples for each auth method are provided below, use the example that
64+
# satisfies your auth use case.
65+
66+
# Configure Bearer authorization (JWT): jwt
67+
configuration = ibutsu_client.Configuration(
68+
access_token = 'YOUR_BEARER_TOKEN'
69+
)
6170

6271

6372
# Enter a context with an instance of the API client
@@ -99,6 +108,14 @@ Class | Method | HTTP request | Description
99108
*HealthApi* | [**get_health_info**](docs/HealthApi.md#get_health_info) | **GET** /health/info | Get information about the server
100109
*ImportApi* | [**add_import**](docs/ImportApi.md#add_import) | **POST** /import | Import a file into Ibutsu. This can be either a JUnit XML file, or an Ibutsu archive
101110
*ImportApi* | [**get_import**](docs/ImportApi.md#get_import) | **GET** /import/{id} | Get the status of an import
111+
*LoginApi* | [**activate**](docs/LoginApi.md#activate) | **GET** /login/activate/{activation_code} |
112+
*LoginApi* | [**auth**](docs/LoginApi.md#auth) | **GET** /login/auth/{provider} |
113+
*LoginApi* | [**config**](docs/LoginApi.md#config) | **GET** /login/config/{provider} |
114+
*LoginApi* | [**login**](docs/LoginApi.md#login) | **POST** /login |
115+
*LoginApi* | [**recover**](docs/LoginApi.md#recover) | **POST** /login/recover |
116+
*LoginApi* | [**register**](docs/LoginApi.md#register) | **POST** /login/register |
117+
*LoginApi* | [**reset_password**](docs/LoginApi.md#reset_password) | **POST** /login/reset-password |
118+
*LoginApi* | [**support**](docs/LoginApi.md#support) | **GET** /login/support |
102119
*ProjectApi* | [**add_project**](docs/ProjectApi.md#add_project) | **POST** /project | Create a project
103120
*ProjectApi* | [**get_project**](docs/ProjectApi.md#get_project) | **GET** /project/{id} | Get a single project by ID
104121
*ProjectApi* | [**get_project_list**](docs/ProjectApi.md#get_project_list) | **GET** /project | Get a list of projects
@@ -120,6 +137,11 @@ Class | Method | HTTP request | Description
120137
*RunApi* | [**get_run_list**](docs/RunApi.md#get_run_list) | **GET** /run | Get a list of the test runs
121138
*RunApi* | [**update_run**](docs/RunApi.md#update_run) | **PUT** /run/{id} | Update a single run
122139
*TaskApi* | [**get_task**](docs/TaskApi.md#get_task) | **GET** /task/{id} | Get the status or result of a task
140+
*UserApi* | [**add_token**](docs/UserApi.md#add_token) | **POST** /user/token | Create a token for the current user
141+
*UserApi* | [**delete_token**](docs/UserApi.md#delete_token) | **DELETE** /user/token/{id} | Delete the token
142+
*UserApi* | [**get_token**](docs/UserApi.md#get_token) | **GET** /user/token/{id} | Retrieve a single token for the current user
143+
*UserApi* | [**get_token_list**](docs/UserApi.md#get_token_list) | **GET** /user/token | Return the tokens for the user
144+
*UserApi* | [**get_user**](docs/UserApi.md#get_user) | **GET** /user | Return the user details for the current user
123145
*WidgetApi* | [**get_widget**](docs/WidgetApi.md#get_widget) | **GET** /widget/{id} | Generate data for a dashboard widget
124146
*WidgetApi* | [**get_widget_types**](docs/WidgetApi.md#get_widget_types) | **GET** /widget/types | Get a list of widget types
125147
*WidgetConfigApi* | [**add_widget_config**](docs/WidgetConfigApi.md#add_widget_config) | **POST** /widget-config | Create a widget configuration
@@ -131,15 +153,24 @@ Class | Method | HTTP request | Description
131153

132154
## Documentation For Models
133155

156+
- [AccountRecovery](docs/AccountRecovery.md)
157+
- [AccountRegistration](docs/AccountRegistration.md)
158+
- [AccountReset](docs/AccountReset.md)
134159
- [Artifact](docs/Artifact.md)
135160
- [ArtifactList](docs/ArtifactList.md)
161+
- [CreateToken](docs/CreateToken.md)
162+
- [Credentials](docs/Credentials.md)
136163
- [Dashboard](docs/Dashboard.md)
137164
- [DashboardList](docs/DashboardList.md)
138165
- [Group](docs/Group.md)
139166
- [GroupList](docs/GroupList.md)
140167
- [Health](docs/Health.md)
141168
- [HealthInfo](docs/HealthInfo.md)
142169
- [InlineResponse200](docs/InlineResponse200.md)
170+
- [LoginConfig](docs/LoginConfig.md)
171+
- [LoginError](docs/LoginError.md)
172+
- [LoginSupport](docs/LoginSupport.md)
173+
- [LoginToken](docs/LoginToken.md)
143174
- [ModelImport](docs/ModelImport.md)
144175
- [Pagination](docs/Pagination.md)
145176
- [Project](docs/Project.md)
@@ -151,7 +182,10 @@ Class | Method | HTTP request | Description
151182
- [ResultList](docs/ResultList.md)
152183
- [Run](docs/Run.md)
153184
- [RunList](docs/RunList.md)
185+
- [Token](docs/Token.md)
186+
- [TokenList](docs/TokenList.md)
154187
- [UpdateRun](docs/UpdateRun.md)
188+
- [User](docs/User.md)
155189
- [WidgetConfig](docs/WidgetConfig.md)
156190
- [WidgetConfigList](docs/WidgetConfigList.md)
157191
- [WidgetParam](docs/WidgetParam.md)
@@ -162,11 +196,9 @@ Class | Method | HTTP request | Description
162196
## Documentation For Authorization
163197

164198

165-
## api_key
199+
## jwt
166200

167-
- **Type**: API key
168-
- **API key parameter name**: api_key
169-
- **Location**: HTTP header
201+
- **Type**: Bearer authentication (JWT)
170202

171203

172204
## Author

docs/AccountRecovery.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# AccountRecovery
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**email** | **str** | The user's e-mail address |
8+
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

docs/AccountRegistration.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# AccountRegistration
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**email** | **str** | The user's e-mail address |
8+
**password** | **str** | The user's password |
9+
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
10+
11+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12+
13+

docs/AccountReset.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# AccountReset
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**activation_code** | **str** | The activation code generated by Ibutsu |
8+
**password** | **str** | The user's password |
9+
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
10+
11+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
12+
13+

0 commit comments

Comments
 (0)