Skip to content

Commit

Permalink
rename the package to InternalAmplifyCredentials
Browse files Browse the repository at this point in the history
  • Loading branch information
5d committed May 17, 2024
1 parent 7415441 commit 75b9a45
Show file tree
Hide file tree
Showing 53 changed files with 119 additions and 51 deletions.
68 changes: 68 additions & 0 deletions .swiftpm/xcode/xcshareddata/xcschemes/Amplify-Package.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,34 @@
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AmplifyCredentials"
BuildableName = "AmplifyCredentials"
BlueprintName = "AmplifyCredentials"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "InternalAmplifyCredentials"
BuildableName = "InternalAmplifyCredentials"
BlueprintName = "InternalAmplifyCredentials"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
Expand Down Expand Up @@ -755,6 +783,26 @@
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AmplifyNetworkUnitTests"
BuildableName = "AmplifyNetworkUnitTests"
BlueprintName = "AmplifyNetworkUnitTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "InternalAmplifyNetworkUnitTests"
BuildableName = "InternalAmplifyNetworkUnitTests"
BlueprintName = "InternalAmplifyNetworkUnitTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
Expand All @@ -765,6 +813,26 @@
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AmplifyCredentialsTests"
BuildableName = "AmplifyCredentialsTests"
BlueprintName = "AmplifyCredentialsTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "InternalAmplifyCredentialsTests"
BuildableName = "InternalAmplifyCredentialsTests"
BlueprintName = "InternalAmplifyCredentialsTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

@_spi(InternalAmplifyConfiguration) import Amplify
import AWSPluginsCore
import AWSPluginsSDKCore
import InternalAmplifyCredentials
import AwsCommonRuntimeKit

public extension AWSAPIPlugin {
Expand Down
2 changes: 1 addition & 1 deletion AmplifyPlugins/API/Sources/AWSAPIPlugin/AWSAPIPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import Amplify
import AWSPluginsCore
import AWSPluginsSDKCore
import InternalAmplifyCredentials
import Foundation

final public class AWSAPIPlugin: NSObject, APICategoryPlugin, AWSAPIAuthInformation {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@_spi(InternalAmplifyConfiguration) import Amplify
import Foundation
import AWSPluginsCore
import AWSPluginsSDKCore
import InternalAmplifyCredentials

// Convenience typealias
typealias APIEndpointName = String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import Amplify
import Foundation
import AWSPluginsCore
import AWSPluginsSDKCore
import InternalAmplifyCredentials

/// The order of interceptor decoration is as follows:
/// 1. **prelude interceptors**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import Amplify
import AWSPluginsCore
import AWSPluginsSDKCore
import InternalAmplifyCredentials
import Foundation

struct APIKeyURLRequestInterceptor: URLRequestInterceptor {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import Amplify
import AWSPluginsCore
import AWSPluginsSDKCore
import InternalAmplifyCredentials
import Foundation

class AuthTokenProviderWrapper: AuthTokenProvider {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import Amplify
import AWSPluginsCore
import AWSPluginsSDKCore
import InternalAmplifyCredentials
import Foundation

struct AuthTokenURLRequestInterceptor: URLRequestInterceptor {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import Amplify
import AWSPluginsCore
import AWSPluginsSDKCore
import InternalAmplifyCredentials
import Foundation
import ClientRuntime

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import Foundation
@_spi(WebSocket) import AWSPluginsCore
import AWSPluginsSDKCore
import InternalAmplifyCredentials
import Amplify
import AWSClientRuntime
import ClientRuntime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import Amplify
import Foundation
import AWSPluginsCore
import AWSPluginsSDKCore
import InternalAmplifyCredentials
import Combine

public class AWSGraphQLSubscriptionTaskRunner<R: Decodable>: InternalTaskRunner, InternalTaskAsyncThrowingSequence, InternalTaskThrowingChannel {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import Foundation
import Amplify
import Combine
import AWSPluginsSDKCore
import InternalAmplifyCredentials
@_spi(WebSocket) import AWSPluginsCore

protocol AppSyncRealTimeClientFactoryProtocol {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Combine
@testable import Amplify
@testable import AWSAPIPlugin
@testable @_spi(WebSocket) import AWSPluginsCore
@testable import AWSPluginsSDKCore
@testable import InternalAmplifyCredentials

class AppSyncRealTimeClientTests: XCTestCase {
let subscriptionRequest = """
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import XCTest
@testable import AWSAPIPlugin
import AWSPluginsCore
import AWSPluginsSDKCore
import InternalAmplifyCredentials

// swiftlint:disable:next type_name
class AWSAPICategoryPluginInterceptorBehaviorTests: AWSAPICategoryPluginTestBase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Foundation
@testable import AWSAPIPlugin
@testable import AWSPluginsTestCommon
import AWSPluginsCore
import AWSPluginsSDKCore
import InternalAmplifyCredentials

class AWSAPICategoryPluginConfigurationTests: XCTestCase {
let graphQLAPI = "graphQLAPI"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import XCTest
import Amplify
import AWSPluginsCore
import AWSPluginsSDKCore
import InternalAmplifyCredentials
@testable import AmplifyTestCommon
@testable import AWSAPIPlugin
@testable import AWSPluginsTestCommon
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import XCTest
import AWSPluginsCore
import AWSPluginsSDKCore
import InternalAmplifyCredentials
@testable import Amplify
@testable import AmplifyTestCommon
@testable import AWSAPIPlugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Amplify
import Combine
@testable import AWSAPIPlugin
@_spi(WebSocket) import AWSPluginsCore
import AWSPluginsSDKCore
import InternalAmplifyCredentials

struct MockSubscriptionConnectionFactory: AppSyncRealTimeClientFactoryProtocol {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import AWSCognitoIdentityProvider
import AWSPluginsCore
import ClientRuntime
import AWSClientRuntime
@_spi(PluginHTTPClientEngine) import AWSPluginsSDKCore
@_spi(PluginHTTPClientEngine) import InternalAmplifyCredentials
@_spi(InternalHttpEngineProxy) import AWSPluginsCore

extension AWSCognitoAuthPlugin {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// SPDX-License-Identifier: Apache-2.0
//

@_spi(InternalAmplifyPluginExtension) import AWSPluginsSDKCore
@_spi(InternalAmplifyPluginExtension) import InternalAmplifyCredentials
import Foundation
import ClientRuntime

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// SPDX-License-Identifier: Apache-2.0
//

@_spi(InternalHttpEngineProxy) @_spi(InternalAmplifyPluginExtension) import AWSPluginsSDKCore
@_spi(InternalHttpEngineProxy) @_spi(InternalAmplifyPluginExtension) import InternalAmplifyCredentials
import ClientRuntime
import Foundation

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import ClientRuntime
import AWSClientRuntime
import Amplify
import AWSPluginsSDKCore
import InternalAmplifyCredentials

public class MockAWSAuthService: AWSAuthCredentialsProviderBehavior {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import AWSPluginsCore
import ClientRuntime
import AWSClientRuntime
import AWSPluginsSDKCore
import InternalAmplifyCredentials
import Foundation

class MockAWSSignatureV4Signer: AWSSignatureV4Signer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
{
"target" : {
"containerPath" : "container:",
"identifier" : "AWSPluginsSDKCoreTests",
"name" : "AWSPluginsSDKCoreTests"
"identifier" : "InternalAmplifyCredentialsTests",
"name" : "InternalAmplifyCredentialsTests"
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import XCTest

@testable import Amplify
@testable import AWSPluginsCore
@testable import AWSPluginsSDKCore
@testable import InternalAmplifyCredentials
import AWSClientRuntime

class AWSAuthServiceTests: XCTestCase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@_spi(InternalAmplifyPluginExtension)
@_spi(PluginHTTPClientEngine)
@_spi(InternalHttpEngineProxy)
import AWSPluginsSDKCore
import InternalAmplifyCredentials
import ClientRuntime
import XCTest

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// SPDX-License-Identifier: Apache-2.0
//

@_spi(InternalAmplifyPluginExtension) @_spi(InternalHttpEngineProxy) import AWSPluginsSDKCore
@_spi(InternalAmplifyPluginExtension) @_spi(InternalHttpEngineProxy) import InternalAmplifyCredentials
import ClientRuntime
import XCTest

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import Foundation
@_spi(InternalAmplifyConfiguration) import Amplify
import AWSPluginsCore
@_spi(PluginHTTPClientEngine) import AWSPluginsSDKCore
@_spi(PluginHTTPClientEngine) import InternalAmplifyCredentials
import AWSLocation
import AWSClientRuntime

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import AWSPinpoint
import AWSPluginsCore
import AWSPluginsSDKCore
import InternalAmplifyCredentials
import Foundation

extension PinpointEvent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import AWSClientRuntime
import AWSPluginsCore
import AWSPinpoint
@_spi(PluginHTTPClientEngine) import AWSPluginsSDKCore
@_spi(PluginHTTPClientEngine) import InternalAmplifyCredentials

extension PinpointClient {
convenience init(region: String, credentialsProvider: CredentialsProviding) throws {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import Foundation
import AWSPinpoint
import ClientRuntime
@_spi(PluginHTTPClientEngine) import AWSPluginsSDKCore
@_spi(PluginHTTPClientEngine) import InternalAmplifyCredentials

@globalActor actor PinpointRequestsRegistry {
static let shared = PinpointRequestsRegistry()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//

import AWSPluginsCore
@_spi(PluginHTTPClientEngine) import AWSPluginsSDKCore
@_spi(PluginHTTPClientEngine) import InternalAmplifyCredentials
import Amplify
import Combine
import Foundation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import Foundation
import Amplify
import AWSPluginsCore
import AWSPluginsSDKCore
import InternalAmplifyCredentials
import AWSClientRuntime
import ClientRuntime

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import AWSTextract
import AWSComprehend
import AWSPolly
import AWSPluginsCore
@_spi(PluginHTTPClientEngine) import AWSPluginsSDKCore
@_spi(PluginHTTPClientEngine) import InternalAmplifyCredentials
import Foundation
import ClientRuntime
import AWSClientRuntime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import AWSS3
import Amplify
import AWSPluginsCore
import ClientRuntime
@_spi(PluginHTTPClientEngine) import AWSPluginsSDKCore
@_spi(PluginHTTPClientEngine) import InternalAmplifyCredentials

/// - Tag: AWSS3StorageService
class AWSS3StorageService: AWSS3StorageServiceBehavior, StorageServiceProxy {
Expand Down
Loading

0 comments on commit 75b9a45

Please sign in to comment.