Skip to content
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
ae7f6a8
Handwritten classic shadow request-response client and sandbox sample…
Jan 14, 2025
7f88ec2
Remove copy of old README
Jan 14, 2025
168d54f
Sandbox readme + sample fix for property removal
Jan 14, 2025
bc442db
Simplification
Jan 28, 2025
9253301
Initial codegen checkpoint
Jan 28, 2025
efe223d
Updates
Jan 28, 2025
70b9176
Compile fixes
Jan 29, 2025
0368746
Shadow and Jobs tests
Jan 31, 2025
b69ac3d
Remove stub tests
Feb 3, 2025
fdd48a7
Pom updates; don't forget to revert local CRT version reference befor…
Feb 3, 2025
8a41c8a
Initial identity tests
bretambrose Feb 3, 2025
99c85a7
Csr tests
bretambrose Feb 3, 2025
0cc8bb2
Merge branch 'main' into RequestResponseWorkspace
Feb 20, 2025
cc994c3
Update CRT to one that supports MQTT request response
Feb 20, 2025
be75546
Android CRT and doc comment updates
Feb 21, 2025
f88769d
Disable all-test on java compat
Feb 21, 2025
82263f7
CI is such a mess; why do we have three ways of doing the same thing?
Feb 21, 2025
c639459
Use builder env variables
Feb 21, 2025
ffaccf8
Forced to use this nightmare of a CI setup
Feb 21, 2025
801b8a5
missing keyword
Feb 24, 2025
cd3e123
Add jobs and identity to java-compat jobs
Feb 24, 2025
9c39cd5
Add service tests to windows and linux CI jobs too
Feb 24, 2025
9d10355
Specify bash as shell for Windows jobs
Feb 24, 2025
08abedf
Add topic to serialization errors
Mar 4, 2025
f1e5431
Backport delete job limit exception handling
Mar 4, 2025
bfa923a
Sleep on hitting delete limit exceptions
Mar 4, 2025
6c84edd
Remove never-succeeding greengrass tests
Mar 4, 2025
60de317
ubuntu 20 -> 22
Mar 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 36 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- 'docs'

env:
BUILDER_VERSION: v0.9.60
BUILDER_VERSION: v0.9.75
BUILDER_SOURCE: releases
BUILDER_HOST: https://d19elf31gohf1l.cloudfront.net
PACKAGE_NAME: aws-iot-device-sdk-java-v2
Expand Down Expand Up @@ -167,18 +167,26 @@ jobs:
with:
role-to-assume: ${{ env.CI_MQTT5_ROLE }}
aws-region: ${{ env.AWS_DEFAULT_REGION }}
- name: Service tests
shell: bash
run: |
source utils/test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt us-east-1
mvn test -Dtest=ShadowTests -Dsurefire.failIfNoSpecifiedTests=false
mvn test -Dtest=JobsTests -Dsurefire.failIfNoSpecifiedTests=false
mvn test -Dtest=IdentityTests -Dsurefire.failIfNoSpecifiedTests=false
source utils/test_cleanup.sh
- name: MQTT311 tests
shell: bash
run: |
source utils/mqtt5_test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt us-east-1
source utils/test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt us-east-1
mvn test -Dtest=MqttBuilderTest -Dsurefire.failIfNoSpecifiedTests=false
source utils/mqtt5_test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt cleanup
source utils/test_cleanup.sh
- name: MQTT5 tests
shell: bash
run: |
source utils/mqtt5_test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt us-east-1
source utils/test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt us-east-1
mvn test -Dtest=Mqtt5BuilderTest -Dsurefire.failIfNoSpecifiedTests=false
source utils/mqtt5_test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt cleanup
source utils/test_cleanup.sh
- name: Running samples in CI setup
run: |
python -m pip install boto3
Expand Down Expand Up @@ -244,16 +252,23 @@ jobs:
with:
role-to-assume: ${{ env.CI_MQTT5_ROLE }}
aws-region: ${{ env.AWS_DEFAULT_REGION }}
- name: Service tests
run: |
source utils/test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt us-east-1
mvn test -Dtest=ShadowTests -Dsurefire.failIfNoSpecifiedTests=false
mvn test -Dtest=JobsTests -Dsurefire.failIfNoSpecifiedTests=false
mvn test -Dtest=IdentityTests -Dsurefire.failIfNoSpecifiedTests=false
source utils/test_cleanup.sh
- name: MQTT311 tests
run: |
source utils/mqtt5_test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt us-east-1
source utils/test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt us-east-1
mvn test -Dtest=MqttBuilderTest -DfailIfNoTests=false -Dsurefire.failIfNoSpecifiedTests=false
source utils/mqtt5_test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt cleanup
source utils/test_cleanup.sh
- name: MQTT5 tests
run: |
source utils/mqtt5_test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt us-east-1
source utils/test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt us-east-1
mvn test -Dtest=Mqtt5BuilderTest -DfailIfNoTests=false -Dsurefire.failIfNoSpecifiedTests=false
source utils/mqtt5_test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt cleanup
source utils/test_cleanup.sh
- name: Running samples in CI setup
run: |
python3 -m venv .venv
Expand Down Expand Up @@ -319,23 +334,30 @@ jobs:
- name: Build ${{ env.PACKAGE_NAME }} + consumers
run: |
java -version
mvn -B test -Daws.crt.debugnative=true
mvn compile
mvn install -Dmaven.test.skip
- name: configure AWS credentials (MQTT5)
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: ${{ env.CI_MQTT5_ROLE }}
aws-region: ${{ env.AWS_DEFAULT_REGION }}
- name: Service tests
run: |
source utils/test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt us-east-1
mvn test -Dtest=ShadowTests -Dsurefire.failIfNoSpecifiedTests=false
mvn test -Dtest=JobsTests -Dsurefire.failIfNoSpecifiedTests=false
mvn test -Dtest=IdentityTests -Dsurefire.failIfNoSpecifiedTests=false
source utils/test_cleanup.sh
- name: MQTT311 tests
run: |
source utils/mqtt5_test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt us-east-1
source utils/test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt us-east-1
mvn test -Dtest=MqttBuilderTest -Dsurefire.failIfNoSpecifiedTests=false
source utils/mqtt5_test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt cleanup
source utils/test_cleanup.sh
- name: MQTT5 tests
run: |
source utils/mqtt5_test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt us-east-1
source utils/test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt us-east-1
mvn test -Dtest=Mqtt5BuilderTest -Dsurefire.failIfNoSpecifiedTests=false
source utils/mqtt5_test_setup.sh s3://iot-sdk-ci-bucket-us-east1/IotUsProdMqtt5EnvironmentVariables.txt cleanup
source utils/test_cleanup.sh
- name: Running samples in CI setup
run: |
python3 -m pip install boto3
Expand Down
2 changes: 1 addition & 1 deletion android/iotdevicesdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ repositories {
}

dependencies {
api 'software.amazon.awssdk.crt:aws-crt-android:0.33.5'
api 'software.amazon.awssdk.crt:aws-crt-android:0.35.0'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
implementation 'org.slf4j:slf4j-api:1.7.30'
implementation 'com.google.code.gson:gson:2.9.0'
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<module>samples/CustomKeyOpsConnect</module>
<module>samples/WindowsCertConnect</module>
<module>samples/Shadow</module>
<module>samples/ShadowV2</module>
<module>samples/FleetProvisioning</module>
<module>samples/Mqtt5/PubSub</module>
<module>samples/Mqtt5/SharedSubscription</module>
Expand Down
Loading
Loading