File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 {
2424 "name" : " --thing_name" ,
2525 "data" : " ServiceTest_Jobs_$INPUT_UUID"
26- },
27- {
28- "name" : " --job_id" ,
29- "data" : " 1"
3026 }
3127 ]
3228}
Original file line number Diff line number Diff line change @@ -83,7 +83,6 @@ struct CmdArgs
8383 String cert;
8484 String key;
8585 String clientId;
86- String caFile;
8786 String templateName;
8887 String templateParameters;
8988 String csrPath;
@@ -197,10 +196,6 @@ std::shared_ptr<Mqtt::MqttConnection> createMqtt3Connection(const CmdArgs &cmdDa
197196 auto clientConfigBuilder =
198197 Aws::Iot::MqttClientConnectionConfigBuilder (cmdData.cert .c_str (), cmdData.key .c_str ());
199198 clientConfigBuilder.WithEndpoint (cmdData.endpoint );
200- if (!cmdData.caFile .empty ())
201- {
202- clientConfigBuilder.WithCertificateAuthority (cmdData.caFile .c_str ());
203- }
204199
205200 // Create the MQTT connection from the MQTT builder
206201 auto clientConfig = clientConfigBuilder.Build ();
Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ struct CmdArgs
4747 String cert;
4848 String key;
4949 String clientId;
50- String caFile;
5150 String thingName;
5251 uint32_t port = 0 ;
5352 uint32_t mqttVersion = 5 ;
@@ -64,10 +63,6 @@ std::shared_ptr<IotJobsClient> build_mqtt3_client(
6463 clientConfigBuilder =
6564 Aws::Iot::MqttClientConnectionConfigBuilder (cmdData.cert .c_str (), cmdData.key .c_str ());
6665 clientConfigBuilder.WithEndpoint (cmdData.endpoint );
67- if (!cmdData.caFile .empty ())
68- {
69- clientConfigBuilder.WithCertificateAuthority (cmdData.caFile .c_str ());
70- }
7166
7267 // Create the MQTT connection from the MQTT builder
7368 auto clientConfig = clientConfigBuilder.Build ();
Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ struct CmdArgs
7272 String cert;
7373 String key;
7474 String clientId;
75- String caFile;
7675 String thingName;
7776 String shadowProperty = " color" ;
7877 String shadowName;
@@ -92,10 +91,6 @@ std::shared_ptr<IotShadowClient> build_mqtt3_client(
9291 clientConfigBuilder =
9392 Aws::Iot::MqttClientConnectionConfigBuilder (cmdData.cert .c_str (), cmdData.key .c_str ());
9493 clientConfigBuilder.WithEndpoint (cmdData.endpoint );
95- if (!cmdData.caFile .empty ())
96- {
97- clientConfigBuilder.WithCertificateAuthority (cmdData.caFile .c_str ());
98- }
9994
10095 // Create the MQTT connection from the MQTT builder
10196 auto clientConfig = clientConfigBuilder.Build ();
You can’t perform that action at this time.
0 commit comments