Skip to content

Commit 4de35fe

Browse files
committed
Revert "Add TLS ALPN support for AWS IoT MQTT connections (#779)"
This reverts commit 753ef9f.
1 parent 5fce8ef commit 4de35fe

File tree

17 files changed

+1232
-281
lines changed

17 files changed

+1232
-281
lines changed

.circleci/config.yml

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ workflows:
968968
branches:
969969
only:
970970
- master
971-
- develop
971+
- develop
972972
- integrationtest:
973973
name: apigateway
974974
testmodule: aws-android-sdk-apigateway-test
@@ -998,7 +998,7 @@ workflows:
998998
branches:
999999
only:
10001000
- master
1001-
- develop
1001+
- develop
10021002
- integrationtest:
10031003
name: comprehend
10041004
testmodule: aws-android-sdk-comprehend-test
@@ -1041,14 +1041,14 @@ workflows:
10411041
- develop
10421042
- integrationtest:
10431043
name: iot
1044-
testmodule: aws-android-sdk-iot
1044+
testmodule: aws-android-sdk-iot-test
10451045
requires:
10461046
- pre_integrationtest
10471047
filters:
10481048
branches:
10491049
only:
10501050
- master
1051-
- develop
1051+
- develop
10521052
- integrationtest:
10531053
name: kinesis
10541054
testmodule: aws-android-sdk-kinesis-test
@@ -1069,6 +1069,7 @@ workflows:
10691069
only:
10701070
- master
10711071
- develop
1072+
10721073
- integrationtest:
10731074
name: polly
10741075
testmodule: aws-android-sdk-polly-test
@@ -1108,7 +1109,7 @@ workflows:
11081109
branches:
11091110
only:
11101111
- master
1111-
- develop
1112+
- develop
11121113
- integrationtest:
11131114
name: ses
11141115
testmodule: aws-android-sdk-ses-test
@@ -1118,7 +1119,7 @@ workflows:
11181119
branches:
11191120
only:
11201121
- master
1121-
- develop
1122+
- develop
11221123
- integrationtest:
11231124
name: sns
11241125
testmodule: aws-android-sdk-sns-test
@@ -1128,7 +1129,7 @@ workflows:
11281129
branches:
11291130
only:
11301131
- master
1131-
- develop
1132+
- develop
11321133
- integrationtest:
11331134
name: sqs
11341135
testmodule: aws-android-sdk-sqs-test
@@ -1138,7 +1139,8 @@ workflows:
11381139
branches:
11391140
only:
11401141
- master
1141-
- develop
1142+
- develop
1143+
11421144
- integrationtest:
11431145
name: transcribe
11441146
testmodule: aws-android-sdk-transcribe-test
@@ -1148,7 +1150,7 @@ workflows:
11481150
branches:
11491151
only:
11501152
- master
1151-
- develop
1153+
- develop
11521154
- integrationtest:
11531155
name: translate
11541156
testmodule: aws-android-sdk-translate-test
@@ -1158,7 +1160,7 @@ workflows:
11581160
branches:
11591161
only:
11601162
- master
1161-
- develop
1163+
- develop
11621164
- integrationtest:
11631165
name: mobile-client
11641166
testmodule: aws-android-sdk-mobile-client
@@ -1168,7 +1170,7 @@ workflows:
11681170
branches:
11691171
only:
11701172
- master
1171-
- develop
1173+
- develop
11721174
- integrationtest:
11731175
name: CognitoIdentityProvider
11741176
testmodule: aws-android-sdk-cognitoidentityprovider-test
@@ -1178,7 +1180,7 @@ workflows:
11781180
branches:
11791181
only:
11801182
- master
1181-
- develop
1183+
- develop
11821184
- integrationtest:
11831185
name: Core
11841186
testmodule: aws-android-sdk-core-test
@@ -1188,7 +1190,7 @@ workflows:
11881190
branches:
11891191
only:
11901192
- master
1191-
- develop
1193+
- develop
11921194
- integrationtest:
11931195
name: CognitoAuth
11941196
testmodule: aws-android-sdk-cognitoauth
@@ -1198,7 +1200,7 @@ workflows:
11981200
branches:
11991201
only:
12001202
- master
1201-
- develop
1203+
- develop
12021204
# - integrationtest:
12031205
# name: kinesisvideo
12041206
# testmodule: aws-android-sdk-kinesisvideo
@@ -1218,7 +1220,7 @@ workflows:
12181220
# branches:
12191221
# only:
12201222
# - master
1221-
# - develop
1223+
# - develop
12221224
# - integrationtest:
12231225
# name: kinesisvideo-archivedmedia
12241226
# testmodule: aws-android-sdk-kinesisvideo-archivedmedia
@@ -1228,7 +1230,7 @@ workflows:
12281230
# branches:
12291231
# only:
12301232
# - master
1231-
# - develop
1233+
# - develop
12321234
- post_integrationtest:
12331235
requires:
12341236
# - kinesisvideo-archivedmedia
@@ -1385,7 +1387,7 @@ workflows:
13851387
only: /^(release|beta)_v[0-9]+.[0-9]+.[0-9]+$/
13861388
- integrationtest:
13871389
name: iot
1388-
testmodule: aws-android-sdk-iot
1390+
testmodule: aws-android-sdk-iot-test
13891391
requires:
13901392
- pre_integrationtest
13911393
filters:

CHANGELOG.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
# Change Log - AWS SDK for Android
22

3-
## [Release 2.13.0](https://github.com/aws/aws-sdk-android/releases/tag/release_v2.13.0)
4-
5-
### Enhancements
6-
7-
* **AWS IoT**
8-
* AWS IoT SDK for Android now supports MQTT over TLS with X.509 client certificate authentication on port 443. Previously this combination of protocol and authentication mechanism was only supported on port 8883. `connectUsingALPN()` method allows developers to connect to AWS IoT using client certificate authentication on port 443. Please look at [this blog](https://aws.amazon.com/blogs/iot/mqtt-with-tls-client-authentication-on-port-443-why-it-is-useful-and-how-it-works/) for more details.
9-
* **Breaking Change:** Please note that the type of aws-android-sdk-iot artifact is being changed from a`jar` to an `aar`. Also note that the `aar` artifacts needs to be explicitly specified in the dependency as `implementation ("com.amazonaws:aws-android-sdk-iot:2.12.+@aar") { transitive =true }` on some of the older versions of gradle.
3+
## [Release 2.12.7](https://github.com/aws/aws-sdk-android/releases/tag/release_v2.12.7)
104

115
### Enhancements
126

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
apply plugin: 'com.android.library'
2+
repositories {
3+
google()
4+
mavenCentral()
5+
}
6+
7+
android {
8+
compileSdkVersion 27
9+
10+
defaultConfig {
11+
minSdkVersion 21
12+
targetSdkVersion 27
13+
versionCode 1
14+
versionName "1.0"
15+
16+
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
17+
18+
}
19+
20+
buildTypes {
21+
release {
22+
minifyEnabled false
23+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
24+
}
25+
}
26+
27+
packagingOptions {
28+
exclude 'META-INF/DEPENDENCIES'
29+
}
30+
31+
}
32+
33+
dependencies {
34+
implementation fileTree(dir: 'libs', include: ['*.jar'])
35+
36+
api (project(":aws-android-sdk-iot")){
37+
exclude group: "com.google.android", module: "android"
38+
}
39+
40+
testImplementation 'junit:junit:4.12'
41+
androidTestImplementation project(":aws-android-sdk-testutils")
42+
androidTestImplementation "org.robolectric:robolectric:2.4"
43+
androidTestImplementation 'com.android.support.test:runner:1.0.2'
44+
45+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Add project specific ProGuard rules here.
2+
# You can control the set of applied configuration files using the
3+
# proguardFiles setting in build.gradle.
4+
#
5+
# For more details, see
6+
# http://developer.android.com/guide/developing/tools/proguard.html
7+
8+
# If your project uses WebView with JS, uncomment the following
9+
# and specify the fully qualified class name to the JavaScript interface
10+
# class:
11+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12+
# public *;
13+
#}
14+
15+
# Uncomment this to preserve the line number information for
16+
# debugging stack traces.
17+
#-keepattributes SourceFile,LineNumberTable
18+
19+
# If you keep the line number information, uncomment this to
20+
# hide the original source file name.
21+
#-renamesourcefileattribute SourceFile
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import android.support.test.InstrumentationRegistry;
1919

20-
import com.amazonaws.iot.R;
20+
import com.amazonaws.iottest.R;
2121
import com.amazonaws.testutils.AWSTestBase;
2222

2323
import org.json.JSONObject;

0 commit comments

Comments
 (0)