aKode fase 5: test e snapshot adeguati alla rinomina, 429 distinto (ProviderRateLimited), cargo fmt dopo il cambio dei prefissi

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-11 12:47:01 +01:00
parent 8b73331037
commit ad43f9281a
919 changed files with 2358 additions and 2430 deletions

View File

@@ -1,10 +1,10 @@
//! Loads AWS SDK configuration with the application's HTTP client.
use akode_http_client::HttpClientFactory;
use aws_config::BehaviorVersion;
use aws_config::SdkConfig;
use aws_credential_types::provider::SharedCredentialsProvider;
use aws_types::region::Region;
use akode_http_client::HttpClientFactory;
use crate::AwsAuthConfig;
use crate::AwsAuthError;

View File

@@ -2,9 +2,9 @@
use crate::AwsAuthError::Policy;
use crate::*;
use aws_config::provider_config::ProviderConfig;
use akode_http_client::DestinationPolicy;
use akode_http_client::NetworkPolicyDenied::Revoked;
use aws_config::provider_config::ProviderConfig;
use pretty_assertions::assert_eq;
use std::error::Error;
use tokio::io::AsyncReadExt;

View File

@@ -7,6 +7,12 @@ use std::task::Context;
use std::task::Poll;
use std::time::Duration;
use akode_http_client::ClientRouteClass;
use akode_http_client::HttpClient;
use akode_http_client::HttpClientBuilder;
use akode_http_client::HttpClientFactory;
use akode_http_client::HttpError;
use akode_http_client::RouteAwareClientPool;
use aws_smithy_runtime_api::client::http::HttpConnector;
use aws_smithy_runtime_api::client::http::HttpConnectorFuture;
use aws_smithy_runtime_api::client::http::SharedHttpClient;
@@ -17,12 +23,6 @@ use aws_smithy_runtime_api::client::orchestrator::HttpResponse;
use aws_smithy_runtime_api::client::result::ConnectorError;
use aws_smithy_types::body::SdkBody;
use bytes::Bytes;
use akode_http_client::ClientRouteClass;
use akode_http_client::HttpClient;
use akode_http_client::HttpClientBuilder;
use akode_http_client::HttpClientFactory;
use akode_http_client::HttpError;
use akode_http_client::RouteAwareClientPool;
use http_body_util::BodyExt;
pub(crate) fn http_client(factory: HttpClientFactory) -> SharedHttpClient {