Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execute jobs when in samples #656

Merged
merged 36 commits into from
Dec 13, 2023
Merged

Execute jobs when in samples #656

merged 36 commits into from
Dec 13, 2023

Conversation

alfred2g
Copy link
Contributor

Execute jobs when not in CI

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

.github/workflows/ci.yml Show resolved Hide resolved
samples/jobs/describe_job_execution/main.cpp Outdated Show resolved Hide resolved
samples/jobs/describe_job_execution/main.cpp Outdated Show resolved Hide resolved
samples/jobs/describe_job_execution/main.cpp Outdated Show resolved Hide resolved
samples/jobs/describe_job_execution/main.cpp Outdated Show resolved Hide resolved
servicetests/tests/JobsExecution/main.cpp Outdated Show resolved Hide resolved
servicetests/tests/JobsExecution/main.cpp Outdated Show resolved Hide resolved
servicetests/tests/JobsExecution/main.cpp Show resolved Hide resolved
servicetests/tests/JobsExecution/main.cpp Outdated Show resolved Hide resolved
servicetests/tests/JobsExecution/main.cpp Show resolved Hide resolved
@alfred2g alfred2g requested a review from sfod December 2, 2023 04:31
samples/jobs/job_execution/README.md Outdated Show resolved Hide resolved
samples/jobs/job_execution/README.md Outdated Show resolved Hide resolved
samples/jobs/job_execution/README.md Outdated Show resolved Hide resolved
samples/jobs/mqtt5_job_execution/README.md Outdated Show resolved Hide resolved
samples/jobs/mqtt5_job_execution/main.cpp Show resolved Hide resolved
servicetests/test_cases/mqtt3_jobs_cfg.json Outdated Show resolved Hide resolved
servicetests/test_cases/mqtt5_jobs_cfg.json Outdated Show resolved Hide resolved
servicetests/test_cases/test_jobs_execution.py Outdated Show resolved Hide resolved
servicetests/test_cases/test_jobs_execution.py Outdated Show resolved Hide resolved
@alfred2g alfred2g requested a review from sfod December 5, 2023 16:54
samples/README.md Outdated Show resolved Hide resolved
samples/jobs/job_execution/CMakeLists.txt Show resolved Hide resolved
samples/jobs/job_execution/main.cpp Show resolved Hide resolved
@alfred2g alfred2g requested a review from sfod December 11, 2023 23:28
samples/README.md Show resolved Hide resolved
samples/jobs/job_execution/main.cpp Outdated Show resolved Hide resolved
samples/jobs/mqtt5_job_execution/main.cpp Outdated Show resolved Hide resolved
@@ -539,7 +541,7 @@ namespace Utils
returnData.input_clientId =
cmdUtils.GetCommandOrDefault(m_cmd_client_id, Aws::Crt::String("test-") + Aws::Crt::UUID().ToString());
returnData.input_thingName = cmdUtils.GetCommandRequired(m_cmd_thing_name);
returnData.input_jobId = cmdUtils.GetCommandRequired(m_cmd_job_id);
returnData.input_jobId = cmdUtils.GetCommandOrDefault(m_cmd_job_id, "1");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Debatable: Set to empty string by default. And in the samples request for a job description only if jobId is set.

alfred2g and others added 3 commits December 12, 2023 15:13
Co-authored-by: Igor Abdrakhimov <octosyllabic@gmail.com>
Co-authored-by: Igor Abdrakhimov <octosyllabic@gmail.com>
@alfred2g alfred2g merged commit 6e80cf9 into main Dec 13, 2023
38 checks passed
@alfred2g alfred2g deleted the jobs_samples branch December 13, 2023 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants