Skip to content

Commit

Permalink
[MA-1665] Add Slo Corrections to open api spec (#654)
Browse files Browse the repository at this point in the history
* Add lifecycle test for SLO correction

* Update test

* Update TestSLOCorrectionsLifecycle.yaml

* Update api_service_level_objectives_test.go

Properly account for update object

* Update TestSLOCorrectionsLifecycle.freeze

* Update TestSLOCorrectionsLifecycle.yaml

* Update cassette

* Regenerate client from commit fe2e0b5 of spec repo

Co-authored-by: Thomas Hervé <thomas.herve@datadoghq.com>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
Co-authored-by: Ian Minoso <iminoso@gmail.com>
Co-authored-by: Nicholas Muesch <nicholas.muesch@datadoghq.com>
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
  • Loading branch information
5 people authored Jan 13, 2021
1 parent 4303ec4 commit c87f650
Show file tree
Hide file tree
Showing 37 changed files with 5,698 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.4.1.dev2",
"regenerated": "2021-01-13 15:26:40.504258",
"spec_repo_commit": "426d7a0"
"regenerated": "2021-01-13 20:15:49.147699",
"spec_repo_commit": "fe2e0b5"
},
"v2": {
"apigentools_version": "1.4.1.dev2",
"regenerated": "2021-01-13 15:26:46.218881",
"spec_repo_commit": "426d7a0"
"regenerated": "2021-01-13 20:15:56.218436",
"spec_repo_commit": "fe2e0b5"
}
}
}
26 changes: 26 additions & 0 deletions api/v1/datadog/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ api_metrics.go
api_monitors.go
api_organizations.go
api_pager_duty_integration.go
api_service_level_objective_corrections.go
api_service_level_objectives.go
api_snapshots.go
api_synthetics.go
Expand Down Expand Up @@ -258,6 +259,18 @@ docs/QueryValueWidgetRequest.md
docs/SLOBulkDeleteResponse.md
docs/SLOBulkDeleteResponseData.md
docs/SLOBulkDeleteResponseErrors.md
docs/SLOCorrectionCategory.md
docs/SLOCorrectionCreateRequest.md
docs/SLOCorrectionCreateRequestAttributes.md
docs/SLOCorrectionCreateRequestData.md
docs/SLOCorrectionListResponse.md
docs/SLOCorrectionListResponseData.md
docs/SLOCorrectionResponse.md
docs/SLOCorrectionResponseAttributes.md
docs/SLOCorrectionResponseData.md
docs/SLOCorrectionUpdateRequest.md
docs/SLOCorrectionUpdateRequestAttributes.md
docs/SLOCorrectionUpdateRequestData.md
docs/SLODeleteResponse.md
docs/SLOErrorTimeframe.md
docs/SLOHistoryMetrics.md
Expand All @@ -280,6 +293,7 @@ docs/ScatterPlotWidgetDefinition.md
docs/ScatterPlotWidgetDefinitionRequests.md
docs/ScatterPlotWidgetDefinitionType.md
docs/ServiceLevelObjective.md
docs/ServiceLevelObjectiveCorrectionsApi.md
docs/ServiceLevelObjectiveQuery.md
docs/ServiceLevelObjectiveRequest.md
docs/ServiceLevelObjectivesApi.md
Expand Down Expand Up @@ -725,6 +739,18 @@ model_service_summary_widget_definition_type.go
model_slo_bulk_delete_response.go
model_slo_bulk_delete_response_data.go
model_slo_bulk_delete_response_errors.go
model_slo_correction_category.go
model_slo_correction_create_request.go
model_slo_correction_create_request_attributes.go
model_slo_correction_create_request_data.go
model_slo_correction_list_response.go
model_slo_correction_list_response_data.go
model_slo_correction_response.go
model_slo_correction_response_attributes.go
model_slo_correction_response_data.go
model_slo_correction_update_request.go
model_slo_correction_update_request_attributes.go
model_slo_correction_update_request_data.go
model_slo_delete_response.go
model_slo_error_timeframe.go
model_slo_history_metrics.go
Expand Down
17 changes: 17 additions & 0 deletions api/v1/datadog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,11 @@ Class | Method | HTTP request | Description
*PagerDutyIntegrationApi* | [**DeletePagerDutyIntegrationService**](docs/PagerDutyIntegrationApi.md#deletepagerdutyintegrationservice) | **Delete** /api/v1/integration/pagerduty/configuration/services/{service_name} | Delete a single service object
*PagerDutyIntegrationApi* | [**GetPagerDutyIntegrationService**](docs/PagerDutyIntegrationApi.md#getpagerdutyintegrationservice) | **Get** /api/v1/integration/pagerduty/configuration/services/{service_name} | Get a single service object
*PagerDutyIntegrationApi* | [**UpdatePagerDutyIntegrationService**](docs/PagerDutyIntegrationApi.md#updatepagerdutyintegrationservice) | **Put** /api/v1/integration/pagerduty/configuration/services/{service_name} | Update a single service object
*ServiceLevelObjectiveCorrectionsApi* | [**CreateSLOCorrection**](docs/ServiceLevelObjectiveCorrectionsApi.md#createslocorrection) | **Post** /api/v1/slo/correction | Create an SLO correction
*ServiceLevelObjectiveCorrectionsApi* | [**DeleteSLOCorrection**](docs/ServiceLevelObjectiveCorrectionsApi.md#deleteslocorrection) | **Delete** /api/v1/slo/correction/{slo_correction_id} | Delete an SLO Correction
*ServiceLevelObjectiveCorrectionsApi* | [**GetSLOCorrection**](docs/ServiceLevelObjectiveCorrectionsApi.md#getslocorrection) | **Get** /api/v1/slo/correction/{slo_correction_id} | Get an SLO correction for an SLO
*ServiceLevelObjectiveCorrectionsApi* | [**ListSLOCorrection**](docs/ServiceLevelObjectiveCorrectionsApi.md#listslocorrection) | **Get** /api/v1/slo/correction | Get all SLO corrections
*ServiceLevelObjectiveCorrectionsApi* | [**UpdateSLOCorrection**](docs/ServiceLevelObjectiveCorrectionsApi.md#updateslocorrection) | **Patch** /api/v1/slo/correction/{slo_correction_id} | Update an SLO Correction
*ServiceLevelObjectivesApi* | [**CheckCanDeleteSLO**](docs/ServiceLevelObjectivesApi.md#checkcandeleteslo) | **Get** /api/v1/slo/can_delete | Check if SLOs can be safely deleted
*ServiceLevelObjectivesApi* | [**CreateSLO**](docs/ServiceLevelObjectivesApi.md#createslo) | **Post** /api/v1/slo | Create a SLO object
*ServiceLevelObjectivesApi* | [**DeleteSLO**](docs/ServiceLevelObjectivesApi.md#deleteslo) | **Delete** /api/v1/slo/{slo_id} | Delete a SLO
Expand Down Expand Up @@ -453,6 +458,18 @@ Class | Method | HTTP request | Description
- [SLOBulkDeleteResponse](docs/SLOBulkDeleteResponse.md)
- [SLOBulkDeleteResponseData](docs/SLOBulkDeleteResponseData.md)
- [SLOBulkDeleteResponseErrors](docs/SLOBulkDeleteResponseErrors.md)
- [SLOCorrectionCategory](docs/SLOCorrectionCategory.md)
- [SLOCorrectionCreateRequest](docs/SLOCorrectionCreateRequest.md)
- [SLOCorrectionCreateRequestAttributes](docs/SLOCorrectionCreateRequestAttributes.md)
- [SLOCorrectionCreateRequestData](docs/SLOCorrectionCreateRequestData.md)
- [SLOCorrectionListResponse](docs/SLOCorrectionListResponse.md)
- [SLOCorrectionListResponseData](docs/SLOCorrectionListResponseData.md)
- [SLOCorrectionResponse](docs/SLOCorrectionResponse.md)
- [SLOCorrectionResponseAttributes](docs/SLOCorrectionResponseAttributes.md)
- [SLOCorrectionResponseData](docs/SLOCorrectionResponseData.md)
- [SLOCorrectionUpdateRequest](docs/SLOCorrectionUpdateRequest.md)
- [SLOCorrectionUpdateRequestAttributes](docs/SLOCorrectionUpdateRequestAttributes.md)
- [SLOCorrectionUpdateRequestData](docs/SLOCorrectionUpdateRequestData.md)
- [SLODeleteResponse](docs/SLODeleteResponse.md)
- [SLOErrorTimeframe](docs/SLOErrorTimeframe.md)
- [SLOHistoryMetrics](docs/SLOHistoryMetrics.md)
Expand Down
Loading

0 comments on commit c87f650

Please sign in to comment.