eclipse / kapua

Eclipse Public License 2.0
227 stars 160 forks source link

:sparkles: [Job] Added 'description' to JobStepDefinition.jobStepProperty #4132

Closed Coduz closed 1 week ago

Coduz commented 2 weeks ago

This PR adds a new description attribute to JobStepProperty that contains info about the JobStepProperty

Related Issue None

Description of the solution adopted Added the new field and modified available JobStepDefinition.

View in the Console GWT:

Screenshot 2024-11-15 at 10 21 53 Screenshot 2024-11-15 at 10 22 00 Screenshot 2024-11-15 at 10 22 09 Screenshot 2024-11-15 at 10 22 17 Screenshot 2024-11-15 at 10 22 25 Screenshot 2024-11-15 at 10 22 33 Screenshot 2024-11-15 at 10 22 40 Screenshot 2024-11-15 at 10 22 48 Screenshot 2024-11-15 at 10 22 57 Screenshot 2024-11-15 at 10 23 05

Any side note on the changes made None

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 0% with 15 lines in your changes missing coverage. Please review.

Project coverage is 16.80%. Comparing base (840c13a) to head (b14f044). Report is 12 commits behind head on develop.

Files with missing lines Patch % Lines
...ice/job/step/definition/JobStepPropertyRecord.java 0.00% 6 Missing :warning:
.../step/definition/internal/JobStepPropertyImpl.java 0.00% 4 Missing :warning:
...evice/management/TimeoutJobStepPropertyRecord.java 0.00% 3 Missing :warning:
.../definition/internal/JobStepDefinitionAligner.java 0.00% 2 Missing :warning:
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/eclipse/kapua/pull/4132/graphs/tree.svg?width=650&height=150&src=pr&token=1P4N4CApH8&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse)](https://app.codecov.io/gh/eclipse/kapua/pull/4132?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse) ```diff @@ Coverage Diff @@ ## develop #4132 +/- ## ============================================= - Coverage 16.80% 16.80% -0.01% Complexity 22 22 ============================================= Files 2021 2022 +1 Lines 52471 52476 +5 Branches 4426 4426 ============================================= Hits 8820 8820 - Misses 43253 43258 +5 Partials 398 398 ``` | [Files with missing lines](https://app.codecov.io/gh/eclipse/kapua/pull/4132?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse) | Coverage Δ | | |---|---|---| | [.../definition/DeviceAssetWriteJobStepDefinition.java](https://app.codecov.io/gh/eclipse/kapua/pull/4132?src=pr&el=tree&filepath=service%2Fdevice%2Fmanagement%2Fasset%2Fjob%2Fsrc%2Fmain%2Fjava%2Forg%2Feclipse%2Fkapua%2Fservice%2Fdevice%2Fmanagement%2Fasset%2Fjob%2Fdefinition%2FDeviceAssetWriteJobStepDefinition.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-c2VydmljZS9kZXZpY2UvbWFuYWdlbWVudC9hc3NldC9qb2Ivc3JjL21haW4vamF2YS9vcmcvZWNsaXBzZS9rYXB1YS9zZXJ2aWNlL2RldmljZS9tYW5hZ2VtZW50L2Fzc2V0L2pvYi9kZWZpbml0aW9uL0RldmljZUFzc2V0V3JpdGVKb2JTdGVwRGVmaW5pdGlvbi5qYXZh) | `0.00% <ø> (ø)` | | | [...definition/DeviceBundleStartJobStepDefinition.java](https://app.codecov.io/gh/eclipse/kapua/pull/4132?src=pr&el=tree&filepath=service%2Fdevice%2Fmanagement%2Fbundle%2Fjob%2Fsrc%2Fmain%2Fjava%2Forg%2Feclipse%2Fkapua%2Fservice%2Fdevice%2Fmanagement%2Fbundle%2Fjob%2Fdefinition%2FDeviceBundleStartJobStepDefinition.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-c2VydmljZS9kZXZpY2UvbWFuYWdlbWVudC9idW5kbGUvam9iL3NyYy9tYWluL2phdmEvb3JnL2VjbGlwc2Uva2FwdWEvc2VydmljZS9kZXZpY2UvbWFuYWdlbWVudC9idW5kbGUvam9iL2RlZmluaXRpb24vRGV2aWNlQnVuZGxlU3RhcnRKb2JTdGVwRGVmaW5pdGlvbi5qYXZh) | `0.00% <ø> (ø)` | | | [.../definition/DeviceBundleStopJobStepDefinition.java](https://app.codecov.io/gh/eclipse/kapua/pull/4132?src=pr&el=tree&filepath=service%2Fdevice%2Fmanagement%2Fbundle%2Fjob%2Fsrc%2Fmain%2Fjava%2Forg%2Feclipse%2Fkapua%2Fservice%2Fdevice%2Fmanagement%2Fbundle%2Fjob%2Fdefinition%2FDeviceBundleStopJobStepDefinition.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-c2VydmljZS9kZXZpY2UvbWFuYWdlbWVudC9idW5kbGUvam9iL3NyYy9tYWluL2phdmEvb3JnL2VjbGlwc2Uva2FwdWEvc2VydmljZS9kZXZpY2UvbWFuYWdlbWVudC9idW5kbGUvam9iL2RlZmluaXRpb24vRGV2aWNlQnVuZGxlU3RvcEpvYlN0ZXBEZWZpbml0aW9uLmphdmE=) | `0.00% <ø> (ø)` | | | [...definition/DeviceCommandExecJobStepDefinition.java](https://app.codecov.io/gh/eclipse/kapua/pull/4132?src=pr&el=tree&filepath=service%2Fdevice%2Fmanagement%2Fcommand%2Fjob%2Fsrc%2Fmain%2Fjava%2Forg%2Feclipse%2Fkapua%2Fservice%2Fdevice%2Fmanagement%2Fcommand%2Fjob%2Fdefinition%2FDeviceCommandExecJobStepDefinition.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-c2VydmljZS9kZXZpY2UvbWFuYWdlbWVudC9jb21tYW5kL2pvYi9zcmMvbWFpbi9qYXZhL29yZy9lY2xpcHNlL2thcHVhL3NlcnZpY2UvZGV2aWNlL21hbmFnZW1lbnQvY29tbWFuZC9qb2IvZGVmaW5pdGlvbi9EZXZpY2VDb21tYW5kRXhlY0pvYlN0ZXBEZWZpbml0aW9uLmphdmE=) | `0.00% <ø> (ø)` | | | [...ition/DeviceConfigurationPutJobStepDefinition.java](https://app.codecov.io/gh/eclipse/kapua/pull/4132?src=pr&el=tree&filepath=service%2Fdevice%2Fmanagement%2Fconfiguration%2Fjob%2Fsrc%2Fmain%2Fjava%2Forg%2Feclipse%2Fkapua%2Fservice%2Fdevice%2Fmanagement%2Fconfiguration%2Fjob%2Fdefinition%2FDeviceConfigurationPutJobStepDefinition.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-c2VydmljZS9kZXZpY2UvbWFuYWdlbWVudC9jb25maWd1cmF0aW9uL2pvYi9zcmMvbWFpbi9qYXZhL29yZy9lY2xpcHNlL2thcHVhL3NlcnZpY2UvZGV2aWNlL21hbmFnZW1lbnQvY29uZmlndXJhdGlvbi9qb2IvZGVmaW5pdGlvbi9EZXZpY2VDb25maWd1cmF0aW9uUHV0Sm9iU3RlcERlZmluaXRpb24uamF2YQ==) | `0.00% <ø> (ø)` | | | [...iceKeystoreCertificateCreateJobStepDefinition.java](https://app.codecov.io/gh/eclipse/kapua/pull/4132?src=pr&el=tree&filepath=service%2Fdevice%2Fmanagement%2Fkeystore%2Fjob%2Fsrc%2Fmain%2Fjava%2Forg%2Feclipse%2Fkapua%2Fservice%2Fdevice%2Fmanagement%2Fkeystore%2Fjob%2Fdefinition%2FDeviceKeystoreCertificateCreateJobStepDefinition.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-c2VydmljZS9kZXZpY2UvbWFuYWdlbWVudC9rZXlzdG9yZS9qb2Ivc3JjL21haW4vamF2YS9vcmcvZWNsaXBzZS9rYXB1YS9zZXJ2aWNlL2RldmljZS9tYW5hZ2VtZW50L2tleXN0b3JlL2pvYi9kZWZpbml0aW9uL0RldmljZUtleXN0b3JlQ2VydGlmaWNhdGVDcmVhdGVKb2JTdGVwRGVmaW5pdGlvbi5qYXZh) | `0.00% <ø> (ø)` | | | [...ion/DeviceKeystoreItemDeleteJobStepDefinition.java](https://app.codecov.io/gh/eclipse/kapua/pull/4132?src=pr&el=tree&filepath=service%2Fdevice%2Fmanagement%2Fkeystore%2Fjob%2Fsrc%2Fmain%2Fjava%2Forg%2Feclipse%2Fkapua%2Fservice%2Fdevice%2Fmanagement%2Fkeystore%2Fjob%2Fdefinition%2FDeviceKeystoreItemDeleteJobStepDefinition.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-c2VydmljZS9kZXZpY2UvbWFuYWdlbWVudC9rZXlzdG9yZS9qb2Ivc3JjL21haW4vamF2YS9vcmcvZWNsaXBzZS9rYXB1YS9zZXJ2aWNlL2RldmljZS9tYW5hZ2VtZW50L2tleXN0b3JlL2pvYi9kZWZpbml0aW9uL0RldmljZUtleXN0b3JlSXRlbURlbGV0ZUpvYlN0ZXBEZWZpbml0aW9uLmphdmE=) | `0.00% <ø> (ø)` | | | [.../DeviceKeystoreKeypairCreateJobStepDefinition.java](https://app.codecov.io/gh/eclipse/kapua/pull/4132?src=pr&el=tree&filepath=service%2Fdevice%2Fmanagement%2Fkeystore%2Fjob%2Fsrc%2Fmain%2Fjava%2Forg%2Feclipse%2Fkapua%2Fservice%2Fdevice%2Fmanagement%2Fkeystore%2Fjob%2Fdefinition%2FDeviceKeystoreKeypairCreateJobStepDefinition.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-c2VydmljZS9kZXZpY2UvbWFuYWdlbWVudC9rZXlzdG9yZS9qb2Ivc3JjL21haW4vamF2YS9vcmcvZWNsaXBzZS9rYXB1YS9zZXJ2aWNlL2RldmljZS9tYW5hZ2VtZW50L2tleXN0b3JlL2pvYi9kZWZpbml0aW9uL0RldmljZUtleXN0b3JlS2V5cGFpckNyZWF0ZUpvYlN0ZXBEZWZpbml0aW9uLmphdmE=) | `0.00% <ø> (ø)` | | | [...nition/DevicePackageDownloadJobStepDefinition.java](https://app.codecov.io/gh/eclipse/kapua/pull/4132?src=pr&el=tree&filepath=service%2Fdevice%2Fmanagement%2Fpackages%2Fjob%2Fsrc%2Fmain%2Fjava%2Forg%2Feclipse%2Fkapua%2Fservice%2Fdevice%2Fmanagement%2Fpackages%2Fjob%2Fdefinition%2FDevicePackageDownloadJobStepDefinition.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-c2VydmljZS9kZXZpY2UvbWFuYWdlbWVudC9wYWNrYWdlcy9qb2Ivc3JjL21haW4vamF2YS9vcmcvZWNsaXBzZS9rYXB1YS9zZXJ2aWNlL2RldmljZS9tYW5hZ2VtZW50L3BhY2thZ2VzL2pvYi9kZWZpbml0aW9uL0RldmljZVBhY2thZ2VEb3dubG9hZEpvYlN0ZXBEZWZpbml0aW9uLmphdmE=) | `0.00% <ø> (ø)` | | | [...ition/DevicePackageUninstallJobStepDefinition.java](https://app.codecov.io/gh/eclipse/kapua/pull/4132?src=pr&el=tree&filepath=service%2Fdevice%2Fmanagement%2Fpackages%2Fjob%2Fsrc%2Fmain%2Fjava%2Forg%2Feclipse%2Fkapua%2Fservice%2Fdevice%2Fmanagement%2Fpackages%2Fjob%2Fdefinition%2FDevicePackageUninstallJobStepDefinition.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse#diff-c2VydmljZS9kZXZpY2UvbWFuYWdlbWVudC9wYWNrYWdlcy9qb2Ivc3JjL21haW4vamF2YS9vcmcvZWNsaXBzZS9rYXB1YS9zZXJ2aWNlL2RldmljZS9tYW5hZ2VtZW50L3BhY2thZ2VzL2pvYi9kZWZpbml0aW9uL0RldmljZVBhY2thZ2VVbmluc3RhbGxKb2JTdGVwRGVmaW5pdGlvbi5qYXZh) | `0.00% <ø> (ø)` | | | ... and [4 more](https://app.codecov.io/gh/eclipse/kapua/pull/4132?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=eclipse) | |

🚨 Try these New Features: