Skip to content

Commit f29cdfd

Browse files
authored
Merge pull request #40 from tower/develop
v0.3.11 release
2 parents e22a31f + 30d2c48 commit f29cdfd

176 files changed

Lines changed: 5388 additions & 366 deletions

File tree

Some content is hidden

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

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,14 @@
22
/.venv
33
*.pyc
44
__pycache__
5+
6+
#
7+
# Artifacts from the Rust client generation process
8+
#
9+
/crates/tower-api/.openapi-generator-ignore
10+
/crates/tower-api/.openapi-generator/
11+
/crates/tower-api/.travis.yml
12+
/crates/tower-api/git_push.sh
13+
/crates/tower-api/.gitignore
14+
/scripts/openapi.json
15+
/scripts/openapi-generator-cli-*.jar

Cargo.lock

Lines changed: 10 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ resolver = "2"
44

55
[workspace.package]
66
edition = "2021"
7-
version = "0.3.10"
7+
version = "0.3.11"
88
description = "Tower is the best way to host Python data apps in production"
99
rust-version = "1.77"
1010
authors = ["Brad Heller <brad@tower.dev>"]

crates/tower-api/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ license = "Unlicense"
88
edition = "2021"
99

1010
[dependencies]
11+
log = { workspace = true }
1112
serde = { version = "^1.0", features = ["derive"] }
1213
serde_with = { version = "^3.8", default-features = false, features = ["base64", "std", "macros"] }
1314
serde_json = "^1.0"
1415
serde_repr = "^0.1"
1516
url = "^2.5"
16-
reqwest = { version = "^0.12", features = ["json", "multipart"] }
17+
reqwest = { version = "^0.12", default-features = false, features = ["json", "multipart"] }

crates/tower-api/README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ For more information, please visit [https://tower.dev](https://tower.dev)
88

99
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client.
1010

11-
- API version: v0.5.1
11+
- API version: v0.5.9
1212
- Package version: 1.0.0
13-
- Generator version: 7.13.0-SNAPSHOT
13+
- Generator version: 7.13.0
1414
- Build package: `org.openapitools.codegen.languages.RustClientCodegen`
1515

1616
## Installation
@@ -28,6 +28,7 @@ All URIs are relative to *https://api.tower.dev/v1*
2828
Class | Method | HTTP request | Description
2929
------------ | ------------- | ------------- | -------------
3030
*DefaultApi* | [**accept_invitation**](docs/DefaultApi.md#accept_invitation) | **POST** /accounts/invite | Accept an invitation code
31+
*DefaultApi* | [**acknowledge_alert**](docs/DefaultApi.md#acknowledge_alert) | **POST** /alerts/{alert_id}/acknowledge | Acknowledge alert
3132
*DefaultApi* | [**cancel_run**](docs/DefaultApi.md#cancel_run) | **POST** /apps/{slug}/runs/{seq} | Cancel run
3233
*DefaultApi* | [**claim_device_login_ticket**](docs/DefaultApi.md#claim_device_login_ticket) | **POST** /login/device/claim | Claim a device login ticket
3334
*DefaultApi* | [**create_account**](docs/DefaultApi.md#create_account) | **POST** /accounts | Create account
@@ -38,6 +39,7 @@ Class | Method | HTTP request | Description
3839
*DefaultApi* | [**create_secret**](docs/DefaultApi.md#create_secret) | **POST** /secrets | Create secret
3940
*DefaultApi* | [**create_session**](docs/DefaultApi.md#create_session) | **POST** /session | Create session
4041
*DefaultApi* | [**create_team**](docs/DefaultApi.md#create_team) | **POST** /teams | Create team
42+
*DefaultApi* | [**delete_alert**](docs/DefaultApi.md#delete_alert) | **DELETE** /alerts/{alert_id} | Delete alert
4143
*DefaultApi* | [**delete_api_key**](docs/DefaultApi.md#delete_api_key) | **DELETE** /api-keys | Delete API key
4244
*DefaultApi* | [**delete_app**](docs/DefaultApi.md#delete_app) | **DELETE** /apps/{slug} | Delete app
4345
*DefaultApi* | [**delete_catalog**](docs/DefaultApi.md#delete_catalog) | **DELETE** /catalogs/{slug} | Delete catalog
@@ -57,6 +59,7 @@ Class | Method | HTTP request | Description
5759
*DefaultApi* | [**generate_run_statistics**](docs/DefaultApi.md#generate_run_statistics) | **GET** /stats/runs | Generate run statistics
5860
*DefaultApi* | [**invite_team_member**](docs/DefaultApi.md#invite_team_member) | **POST** /teams/{slug}/invites | Invite team member
5961
*DefaultApi* | [**leave_team**](docs/DefaultApi.md#leave_team) | **POST** /teams/{slug}/leave | Leave team
62+
*DefaultApi* | [**list_alerts**](docs/DefaultApi.md#list_alerts) | **GET** /alerts | List alerts
6063
*DefaultApi* | [**list_api_keys**](docs/DefaultApi.md#list_api_keys) | **GET** /api-keys | List API keys
6164
*DefaultApi* | [**list_app_environments**](docs/DefaultApi.md#list_app_environments) | **GET** /apps/{slug}/environments | List app environments
6265
*DefaultApi* | [**list_app_versions**](docs/DefaultApi.md#list_app_versions) | **GET** /apps/{name}/versions | List app versions
@@ -88,6 +91,9 @@ Class | Method | HTTP request | Description
8891
- [AcceptInvitationParams](docs/AcceptInvitationParams.md)
8992
- [AcceptInvitationResponse](docs/AcceptInvitationResponse.md)
9093
- [Account](docs/Account.md)
94+
- [AcknowledgeAlertResponse](docs/AcknowledgeAlertResponse.md)
95+
- [Alert](docs/Alert.md)
96+
- [AlertDetail](docs/AlertDetail.md)
9197
- [ApiKey](docs/ApiKey.md)
9298
- [App](docs/App.md)
9399
- [AppStatistics](docs/AppStatistics.md)
@@ -141,6 +147,7 @@ Class | Method | HTTP request | Description
141147
- [InviteTeamMemberParams](docs/InviteTeamMemberParams.md)
142148
- [InviteTeamMemberResponse](docs/InviteTeamMemberResponse.md)
143149
- [LeaveTeamResponse](docs/LeaveTeamResponse.md)
150+
- [ListAlertsResponse](docs/ListAlertsResponse.md)
144151
- [ListApiKeysResponse](docs/ListApiKeysResponse.md)
145152
- [ListAppEnvironmentsResponse](docs/ListAppEnvironmentsResponse.md)
146153
- [ListAppVersionsResponse](docs/ListAppVersionsResponse.md)
@@ -167,6 +174,7 @@ Class | Method | HTTP request | Description
167174
- [RunAppParams](docs/RunAppParams.md)
168175
- [RunAppResponse](docs/RunAppResponse.md)
169176
- [RunLogLine](docs/RunLogLine.md)
177+
- [RunParameter](docs/RunParameter.md)
170178
- [RunResults](docs/RunResults.md)
171179
- [RunStatistics](docs/RunStatistics.md)
172180
- [Secret](docs/Secret.md)

crates/tower-api/src/apis/configuration.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* REST API to interact with Tower Services.
55
*
6-
* The version of the OpenAPI document: v0.5.1
6+
* The version of the OpenAPI document: v0.5.9
77
* Contact: hello@tower.dev
88
* Generated by: https://openapi-generator.tech
99
*/
@@ -40,7 +40,7 @@ impl Default for Configuration {
4040
fn default() -> Self {
4141
Configuration {
4242
base_path: "https://api.tower.dev/v1".to_owned(),
43-
user_agent: Some("tower_cli_client".to_owned()),
43+
user_agent: Some("Tower CLI".to_owned()),
4444
client: reqwest::Client::new(),
4545
basic_auth: None,
4646
oauth_access_token: None,

0 commit comments

Comments
 (0)