Issue #, if available:
Create GGMQ-1-T15 scenario to test the same features as GGAD-1-T15
Description of changes:
Extend client-ipc with publish code
Add reporting error from client-ipc to nucleus by calling System.exit()
Move recipes and artifacts to classpath:/local-store to avoid duplicates
Rename IPC subscribed component to LocalIpcSubscriber
Added IPC publisher components LocalIpcPublisher
Set versions of IPC components to 0.0.0
Add GGMQ-1-T15 scenario outline for v3/v5 MQTT and SDK and mosquitto clients
IPC Publisher started from local deployment
Why is this change necessary:
In GGMQ-1-T15 we testing ability to publish on local IPC topics and receive message on local MQTT
How was this change tested:
Scenarios run manually and on CI
Test results:
[INFO ] 2023-06-12 22:59:12.022 [main] StepTrackingReporting - Passed: 'GGMQ-1-T1-v3-sdk-java: As a customer, I can connect, subscribe/publish at QoS 0 and 1 and receive using client application to MQTT topic'
[ERROR] 2023-06-12 22:59:12.022 [main] StepTrackingReporting - Failed: 'GGMQ-1-T1-v3-mosquitto-c: As a customer, I can connect, subscribe/publish at QoS 0 and 1 and receive using client application to MQTT topic
': Failed at 'I connect device "clientDeviceTest" on aws.greengrass.client.MqttMosquittoClient to "default_broker" using mqtt "v3"'
[INFO ] 2023-06-12 22:59:12.022 [main] StepTrackingReporting - Passed: 'GGMQ-1-T1-v5-sdk-java: As a customer, I can connect, subscribe/publish at QoS 0 and 1 and receive using client application to MQTT topic'
[INFO ] 2023-06-12 22:59:12.022 [main] StepTrackingReporting - Passed: 'GGMQ-1-T1-v5-mosquitto-c: As a customer, I can connect, subscribe/publish at QoS 0 and 1 and receive using client application to MQTT topic
'
[INFO ] 2023-06-12 22:59:12.022 [main] StepTrackingReporting - Passed: 'GGMQ-1-T8-v3-sdk-java: As a customer, I can configure local MQTT messages to be forwarded to a PubSub topic'
[INFO ] 2023-06-12 22:59:12.022 [main] StepTrackingReporting - Passed: 'GGMQ-1-T8-v3-mosquitto-c: As a customer, I can configure local MQTT messages to be forwarded to a PubSub topic'
[INFO ] 2023-06-12 22:59:12.022 [main] StepTrackingReporting - Passed: 'GGMQ-1-T8-v5-sdk-java: As a customer, I can configure local MQTT messages to be forwarded to a PubSub topic'
[INFO ] 2023-06-12 22:59:12.022 [main] StepTrackingReporting - Passed: 'GGMQ-1-T8-v5-mosquitto-c: As a customer, I can configure local MQTT messages to be forwarded to a PubSub topic'
[ERROR] 2023-06-12 22:59:12.023 [main] StepTrackingReporting - Failed: 'GGMQ-1-T13-v3: As a customer, I can connect two GGADs and send message from one GGAD to the other based on CDA configuration': Failed at 'm
essage "Hello world0" received on "subscriber" from "iot_data_0" topic within 10 seconds'
[ERROR] 2023-06-12 22:59:12.023 [main] StepTrackingReporting - Failed: 'GGMQ-1-T13-v5: As a customer, I can connect two GGADs and send message from one GGAD to the other based on CDA configuration': Failed at 'm
essage "Hello world0" received on "subscriber" from "iot_data_0" topic within 10 seconds'
[INFO ] 2023-06-12 22:59:12.023 [main] StepTrackingReporting - Passed: 'GGMQ-1-T14-v3-sdk-java: As a customer, I can configure IoT Core messages to be forwarded to local MQTT topic'
[INFO ] 2023-06-12 22:59:12.023 [main] StepTrackingReporting - Passed: 'GGMQ-1-T14-v3-mosquitto-c: As a customer, I can configure IoT Core messages to be forwarded to local MQTT topic'
[INFO ] 2023-06-12 22:59:12.023 [main] StepTrackingReporting - Passed: 'GGMQ-1-T14-v5-sdk-java: As a customer, I can configure IoT Core messages to be forwarded to local MQTT topic'
[INFO ] 2023-06-12 22:59:12.023 [main] StepTrackingReporting - Passed: 'GGMQ-1-T14-v5-mosquitto-c: As a customer, I can configure IoT Core messages to be forwarded to local MQTT topic'
[ERROR] 2023-06-12 22:59:12.023 [main] StepTrackingReporting - Failed: 'GGMQ-1-T15-v3-sdk-java: As a customer, I can configure Pubsub messages to be forwarded to local MQTT topic': Failed at 'the Greengrass depl
oyment is COMPLETED on the device after 300 seconds'
[INFO ] 2023-06-12 22:59:12.023 [main] StepTrackingReporting - Passed: 'GGMQ-1-T15-v3-mosquitto-c: As a customer, I can configure Pubsub messages to be forwarded to local MQTT topic'
[INFO ] 2023-06-12 22:59:12.023 [main] StepTrackingReporting - Passed: 'GGMQ-1-T15-v5-sdk-java: As a customer, I can configure Pubsub messages to be forwarded to local MQTT topic'
[INFO ] 2023-06-12 22:59:12.023 [main] StepTrackingReporting - Passed: 'GGMQ-1-T15-v5-mosquitto-c: As a customer, I can configure Pubsub messages to be forwarded to local MQTT topic'
[INFO ] 2023-06-12 22:59:12.023 [main] StepTrackingReporting - Passed: 'GGMQ-1-T101-v3-sdk-java: As a customer, I can use publish retain flag and subscribe retain handling as expected'
[INFO ] 2023-06-12 22:59:12.023 [main] StepTrackingReporting - Passed: 'GGMQ-1-T101-v3-paho-java: As a customer, I can use publish retain flag and subscribe retain handling as expected'
[INFO ] 2023-06-12 22:59:12.023 [main] StepTrackingReporting - Passed: 'GGMQ-1-T101-v3-mosquitto-c: As a customer, I can use publish retain flag and subscribe retain handling as expected'
[INFO ] 2023-06-12 22:59:12.023 [main] StepTrackingReporting - Passed: 'GGMQ-1-T101-v5-sdk-java: As a customer, I can use publish retain flag and subscribe retain handling as expected'
[INFO ] 2023-06-12 22:59:12.023 [main] StepTrackingReporting - Passed: 'GGMQ-1-T101-v5-paho-java: As a customer, I can use publish retain flag and subscribe retain handling as expected'
[INFO ] 2023-06-12 22:59:12.023 [main] StepTrackingReporting - Passed: 'GGMQ-1-T101-v5-mosquitto-c: As a customer, I can use publish retain flag and subscribe retain handling as expected'
Any additional information or context required to review the change:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available: Create GGMQ-1-T15 scenario to test the same features as GGAD-1-T15
Description of changes:
Why is this change necessary: In GGMQ-1-T15 we testing ability to publish on local IPC topics and receive message on local MQTT
How was this change tested: Scenarios run manually and on CI
Test results:
Any additional information or context required to review the change:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.