Skip to content

Commit

Permalink
Regenerate client from commit 0d1b8737 of spec repo (#874)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Apr 22, 2022
1 parent 459686e commit fa78fb1
Show file tree
Hide file tree
Showing 15 changed files with 22 additions and 22 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.6.2",
"regenerated": "2022-04-20 18:58:31.665827",
"spec_repo_commit": "8df9ca3b"
"regenerated": "2022-04-22 09:14:17.230408",
"spec_repo_commit": "0d1b8737"
},
"v2": {
"apigentools_version": "1.6.2",
"regenerated": "2022-04-20 18:58:31.686080",
"spec_repo_commit": "8df9ca3b"
"regenerated": "2022-04-22 09:14:17.252142",
"spec_repo_commit": "0d1b8737"
}
}
}
2 changes: 1 addition & 1 deletion examples/v1/organizations/UploadIdPForOrg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::OrganizationsAPI.new
p api_instance.upload_idp_for_org("abc123", File.open("./idp_metadata.xml", "r"))
p api_instance.upload_id_p_for_org("abc123", File.open("./idp_metadata.xml", "r"))
2 changes: 1 addition & 1 deletion examples/v1/service-level-objectives/ListSLOs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
opts = {
ids: SLO_DATA_0_ID,
}
p api_instance.list_slos(opts)
p api_instance.list_sl_os(opts)
2 changes: 1 addition & 1 deletion examples/v2/authn-mappings/CreateAuthNMapping.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
type: DatadogAPIClient::V2::AuthNMappingsType::AUTHN_MAPPINGS,
}),
})
p api_instance.create_authn_mapping(body)
p api_instance.create_auth_n_mapping(body)
2 changes: 1 addition & 1 deletion examples/v2/authn-mappings/DeleteAuthNMapping.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

# there is a valid "authn_mapping" in the system
AUTHN_MAPPING_DATA_ID = ENV["AUTHN_MAPPING_DATA_ID"]
api_instance.delete_authn_mapping(AUTHN_MAPPING_DATA_ID)
api_instance.delete_auth_n_mapping(AUTHN_MAPPING_DATA_ID)
2 changes: 1 addition & 1 deletion examples/v2/authn-mappings/GetAuthNMapping.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

# there is a valid "authn_mapping" in the system
AUTHN_MAPPING_DATA_ID = ENV["AUTHN_MAPPING_DATA_ID"]
p api_instance.get_authn_mapping(AUTHN_MAPPING_DATA_ID)
p api_instance.get_auth_n_mapping(AUTHN_MAPPING_DATA_ID)
2 changes: 1 addition & 1 deletion examples/v2/authn-mappings/ListAuthNMappings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::AuthNMappingsAPI.new
p api_instance.list_authn_mappings()
p api_instance.list_auth_n_mappings()
2 changes: 1 addition & 1 deletion examples/v2/authn-mappings/UpdateAuthNMapping.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
type: DatadogAPIClient::V2::AuthNMappingsType::AUTHN_MAPPINGS,
}),
})
p api_instance.update_authn_mapping(AUTHN_MAPPING_DATA_ID, body)
p api_instance.update_auth_n_mapping(AUTHN_MAPPING_DATA_ID, body)
2 changes: 1 addition & 1 deletion examples/v2/organizations/UploadIdPMetadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
opts = {
idp_file: File.open("fixtures/organizations/saml_configurations/valid_idp_metadata.xml", "r"),
}
p api_instance.upload_idp_metadata(opts)
p api_instance.upload_id_p_metadata(opts)
4 changes: 2 additions & 2 deletions features/v2/audit.feature
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Feature: Audit
When the request is sent
Then the response status is 200 OK

@replay-only @skip-go @skip-java @skip-typescript @team:DataDog/team-aaa @with-pagination
@replay-only @team:DataDog/team-aaa @with-pagination
Scenario: Get a list of Audit Logs events returns "OK" response with pagination
Given new "ListAuditLogs" request
And request contains "page[limit]" parameter with value 2
Expand All @@ -41,7 +41,7 @@ Feature: Audit
When the request is sent
Then the response status is 200 OK

@replay-only @skip-go @skip-java @skip-typescript @team:DataDog/team-aaa @with-pagination
@replay-only @team:DataDog/team-aaa @with-pagination
Scenario: Search Audit Logs events returns "OK" response with pagination
Given new "SearchAuditLogs" request
And body with value {"filter": {"from": "now-15m", "to": "now"}, "options": {"timezone": "GMT"}, "page": {"limit": 2}, "sort": "timestamp"}
Expand Down
2 changes: 1 addition & 1 deletion features/v2/incidents.feature
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Feature: Incidents
When the request is sent
Then the response status is 200 OK

@replay-only @skip-go @skip-java @skip-typescript @team:DataDog/incident-app @with-pagination
@replay-only @team:DataDog/incident-app @with-pagination
Scenario: Get a list of incidents returns "OK" response with pagination
Given operation "ListIncidents" enabled
And new "ListIncidents" request
Expand Down
4 changes: 2 additions & 2 deletions features/v2/logs.feature
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Feature: Logs
When the request is sent
Then the response status is 200 OK

@replay-only @skip-go @skip-java @skip-typescript @team:DataDog/logs-app @with-pagination
@replay-only @team:DataDog/logs-app @with-pagination
Scenario: Get a list of logs returns "OK" response with pagination
Given a valid "appKeyAuth" key in the system
And new "ListLogsGet" request
Expand Down Expand Up @@ -89,7 +89,7 @@ Feature: Logs
When the request is sent
Then the response status is 200 OK

@replay-only @skip-go @skip-java @skip-typescript @team:DataDog/logs-app @with-pagination
@replay-only @team:DataDog/logs-app @with-pagination
Scenario: Search logs returns "OK" response with pagination
Given a valid "appKeyAuth" key in the system
And new "ListLogs" request
Expand Down
2 changes: 1 addition & 1 deletion features/v2/processes.feature
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Feature: Processes
When the request is sent
Then the response status is 200 OK

@replay-only @skip-go @skip-java @skip-typescript @team:DataDog/processes @with-pagination
@replay-only @team:DataDog/processes @with-pagination
Scenario: Get all processes returns "OK" response with pagination
Given request contains "page[limit]" parameter with value 2
When the request with pagination is sent
Expand Down
4 changes: 2 additions & 2 deletions features/v2/rum.feature
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Feature: RUM
When the request is sent
Then the response status is 200 OK

@replay-only @skip-go @skip-java @skip-typescript @team:DataDog/rum-back @with-pagination
@replay-only @team:DataDog/rum-back @with-pagination
Scenario: Get a list of RUM events returns "OK" response with pagination
Given new "ListRUMEvents" request
And request contains "page[limit]" parameter with value 2
Expand All @@ -55,7 +55,7 @@ Feature: RUM
When the request is sent
Then the response status is 200 OK

@replay-only @skip-go @skip-java @skip-typescript @team:DataDog/rum-back @with-pagination
@replay-only @team:DataDog/rum-back @with-pagination
Scenario: Search RUM events returns "OK" response with pagination
Given new "SearchRUMEvents" request
And body with value {"filter": {"from": "now-15m", "query": "@type:session AND @session.type:user", "to": "now"}, "options": {"time_offset": 0, "timezone": "GMT"}, "page": {"limit": 2}, "sort": "timestamp"}
Expand Down
4 changes: 2 additions & 2 deletions features/v2/security_monitoring.feature
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Feature: Security Monitoring
When the request is sent
Then the response status is 200 OK

@replay-only @skip-go @skip-java @skip-typescript @team:DataDog/security-monitoring @with-pagination
@replay-only @team:DataDog/security-monitoring @with-pagination
Scenario: Get a list of security signals returns "OK" response with pagination
Given operation "SearchSecurityMonitoringSignals" enabled
And new "SearchSecurityMonitoringSignals" request
Expand All @@ -139,7 +139,7 @@ Feature: Security Monitoring
When the request is sent
Then the response status is 200 OK

@replay-only @skip-go @skip-java @skip-typescript @team:DataDog/security-monitoring @with-pagination
@replay-only @team:DataDog/security-monitoring @with-pagination
Scenario: Get a quick list of security signals returns "OK" response with pagination
Given operation "ListSecurityMonitoringSignals" enabled
And new "ListSecurityMonitoringSignals" request
Expand Down

0 comments on commit fa78fb1

Please sign in to comment.