Skip to content

Commit 356f8ad

Browse files
authored
feat(data): Rename events packages (#3034)
1 parent f6d81ee commit 356f8ad

File tree

65 files changed

+470
-465
lines changed

Some content is hidden

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

65 files changed

+470
-465
lines changed

appsync/aws-appsync-events/src/main/java/com/amplifyframework/aws/appsync/events/WebSocketDisconnectReason.kt

Lines changed: 0 additions & 33 deletions
This file was deleted.

appsync/aws-appsync-events/src/main/java/com/amplifyframework/aws/appsync/events/data/ChannelAuthorizers.kt

Lines changed: 0 additions & 29 deletions
This file was deleted.

appsync/aws-appsync-events/src/main/java/com/amplifyframework/aws/appsync/events/data/EventsMessage.kt

Lines changed: 0 additions & 24 deletions
This file was deleted.

appsync/aws-appsync-events/src/main/java/com/amplifyframework/aws/appsync/events/utils/JsonUtils.kt

Lines changed: 0 additions & 25 deletions
This file was deleted.

appsync/aws-appsync-amplify/build.gradle.kts renamed to appsync/aws-sdk-appsync-amplify/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ project.setProperty("VERSION_NAME", readVersion())
3131
group = properties["POM_GROUP"].toString()
3232

3333
android {
34-
namespace = "com.amplifyframework.aws.appsync.amplify"
34+
namespace = "com.amazonaws.sdk.appsync.amplify"
3535
defaultConfig {
3636
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
3737
}
@@ -43,7 +43,7 @@ android {
4343

4444
dependencies {
4545

46-
api(project(":aws-appsync-core"))
46+
api(project(":aws-sdk-appsync-core"))
4747
api(project(":core"))
4848

4949
implementation(project(":aws-auth-cognito"))
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
POM_ARTIFACT_ID=aws-appsync-amplify
1+
POM_GROUP=com.amazonaws
2+
POM_ARTIFACT_ID=aws-sdk-appsync-amplify
23
POM_NAME=Amplify Extensions for AWS AppSync
34
POM_DESCRIPTION=Amplify Extensions for AWS AppSync
45
POM_PACKAGING=aar
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@
1212
* express or implied. See the License for the specific language governing
1313
* permissions and limitations under the License.
1414
*/
15-
package com.amplifyframework.aws.appsync.core.authorizers
15+
package com.amazonaws.sdk.appsync.amplify.authorizers
1616

17-
import com.amplifyframework.aws.appsync.core.AppSyncAuthorizer
18-
import com.amplifyframework.aws.appsync.core.AppSyncRequest
19-
import com.amplifyframework.aws.appsync.core.util.AppSyncRequestSigner
17+
import com.amazonaws.sdk.appsync.core.AppSyncAuthorizer
18+
import com.amazonaws.sdk.appsync.core.AppSyncRequest
19+
import com.amazonaws.sdk.appsync.amplify.util.AppSyncRequestSigner
20+
import com.amazonaws.sdk.appsync.core.authorizers.IamAuthorizer
2021
import org.jetbrains.annotations.VisibleForTesting
2122

2223
/**
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@
1212
* express or implied. See the License for the specific language governing
1313
* permissions and limitations under the License.
1414
*/
15-
package com.amplifyframework.aws.appsync.core.authorizers
15+
package com.amazonaws.sdk.appsync.amplify.authorizers
1616

1717
import com.amplifyframework.auth.AuthCredentialsProvider
1818
import com.amplifyframework.auth.CognitoCredentialsProvider
19-
import com.amplifyframework.aws.appsync.core.AppSyncAuthorizer
20-
import com.amplifyframework.aws.appsync.core.AppSyncRequest
19+
import com.amazonaws.sdk.appsync.core.AppSyncAuthorizer
20+
import com.amazonaws.sdk.appsync.core.AppSyncRequest
21+
import com.amazonaws.sdk.appsync.core.authorizers.AuthTokenAuthorizer
2122
import kotlin.coroutines.resume
2223
import kotlin.coroutines.resumeWithException
2324
import kotlin.coroutines.suspendCoroutine
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* express or implied. See the License for the specific language governing
1313
* permissions and limitations under the License.
1414
*/
15-
package com.amplifyframework.aws.appsync.core.util
15+
package com.amazonaws.sdk.appsync.amplify.util
1616

1717
import aws.smithy.kotlin.runtime.InternalApi
1818
import aws.smithy.kotlin.runtime.auth.awscredentials.Credentials
@@ -27,7 +27,7 @@ import aws.smithy.kotlin.runtime.http.toHttpBody
2727
import aws.smithy.kotlin.runtime.net.url.Url
2828
import com.amplifyframework.auth.AuthCredentialsProvider
2929
import com.amplifyframework.auth.CognitoCredentialsProvider
30-
import com.amplifyframework.aws.appsync.core.AppSyncRequest
30+
import com.amazonaws.sdk.appsync.core.AppSyncRequest
3131

3232
internal class AppSyncRequestSigner(
3333
private val credentialsProvider: AuthCredentialsProvider = CognitoCredentialsProvider(),

0 commit comments

Comments
 (0)