ara icon indicating copy to clipboard operation
ara copied to clipboard

fix : thread block on some unix system when creating demo project

Open rossignolloic opened this issue 2 years ago • 4 comments

Type of modification

  • [ ] Breaking change
  • [ ] New Feature
  • [x] Bug Fix
  • [ ] Chore (refactor, documentation, tests... all the changes with no impact on ARA functionalities.)

Technical description

The use of SecureRandom.getInstanceStrong() has been replace by new Random(). SecureRandom.getInstanceStrong() can lead to blocked Thread, new Random() doesn't have this problem and is sufficient for generating demo data.

PR CheckList

Please make sure your PullRequest respect all those items :

  • [x] Your PR's title has the prefix : feat:, fix: or chore:
  • [ ] You have asked a review from one of the ARA maintainer in your PR.
  • [ ] If your PR is related to an issue, add the issue's number in it.
  • [ ] All the code you added is documented.
  • [ ] All the code you added is tested and the tests are in success.
  • [ ] You already signed the Contributor License Agreement and give us the document

rossignolloic avatar May 05 '22 08:05 rossignolloic

[ARA core-api] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

sonarqubecloud[bot] avatar May 05 '22 08:05 sonarqubecloud[bot]

[ARA web-ui] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

sonarqubecloud[bot] avatar May 05 '22 08:05 sonarqubecloud[bot]

[ARA api] SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 1 Security Hotspot
Code Smell A 0 Code Smells

50.0% 50.0% Coverage
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar May 05 '22 08:05 sonarqubecloud[bot]