You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/02/12 17:44:10 UTC

[camel] branch master updated (0652c0b -> b4a5c51)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.


    from 0652c0b  Regen for commit 6ede5be902da2358b1a6397a6ea2d7d6f73f5772 (#5082)
     new ab909bf  CAMEL-16193 - Use SecureRandom instead of Random - Camel-Azure-Storage-Blob
     new 5667afd  CAMEL-16193 - Use SecureRandom instead of Random - Camel-Azure-Storage-Blob
     new b4a5c51  Regen

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../azure/storage/blob/integration/BlobOperationsITTest.java          | 3 ++-
 .../component/azure/storage/blob/integration/BlobProducerITTest.java  | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)


[camel] 02/03: CAMEL-16193 - Use SecureRandom instead of Random - Camel-Azure-Storage-Blob

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 5667afddd50396800ad8fc8141656a570eeb959d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 12 18:41:46 2021 +0100

    CAMEL-16193 - Use SecureRandom instead of Random - Camel-Azure-Storage-Blob
---
 .../component/azure/storage/blob/integration/BlobOperationsITTest.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/components/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/integration/BlobOperationsITTest.java b/components/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/integration/BlobOperationsITTest.java
index ea5a5a1..9958b14 100644
--- a/components/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/integration/BlobOperationsITTest.java
+++ b/components/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/integration/BlobOperationsITTest.java
@@ -26,6 +26,7 @@ import java.io.InputStreamReader;
 import java.nio.charset.Charset;
 import java.nio.charset.StandardCharsets;
 import java.nio.file.Path;
+import java.security.SecureRandom;
 import java.util.LinkedList;
 import java.util.List;
 import java.util.Objects;
@@ -271,7 +272,7 @@ class BlobOperationsITTest extends BaseIT {
         final BlobOperations operations = new BlobOperations(configuration, blobClientWrapper);
 
         byte[] dataBytes = new byte[512]; // we set range for the page from 0-511
-        new Random().nextBytes(dataBytes);
+        new SecureRandom().nextBytes(dataBytes);
         final String data = new String(dataBytes, StandardCharsets.UTF_8);
         final InputStream dataStream = new ByteArrayInputStream(dataBytes);
 


[camel] 03/03: Regen

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit b4a5c5156f2f8e4cba899554682f30e15534a770
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 12 18:42:42 2021 +0100

    Regen
---
 .../component/azure/storage/blob/integration/BlobProducerITTest.java     | 1 -
 1 file changed, 1 deletion(-)

diff --git a/components/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/integration/BlobProducerITTest.java b/components/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/integration/BlobProducerITTest.java
index 3ee6944..f4ad930 100644
--- a/components/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/integration/BlobProducerITTest.java
+++ b/components/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/integration/BlobProducerITTest.java
@@ -23,7 +23,6 @@ import java.nio.charset.StandardCharsets;
 import java.security.SecureRandom;
 import java.util.LinkedList;
 import java.util.List;
-import java.util.Random;
 
 import com.azure.storage.blob.BlobContainerClient;
 import com.azure.storage.blob.models.PageRange;


[camel] 01/03: CAMEL-16193 - Use SecureRandom instead of Random - Camel-Azure-Storage-Blob

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit ab909bf1ac2bf6957473c34e05da075f6d9b49a6
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Feb 12 18:40:58 2021 +0100

    CAMEL-16193 - Use SecureRandom instead of Random - Camel-Azure-Storage-Blob
---
 .../component/azure/storage/blob/integration/BlobProducerITTest.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/components/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/integration/BlobProducerITTest.java b/components/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/integration/BlobProducerITTest.java
index 246b478..3ee6944 100644
--- a/components/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/integration/BlobProducerITTest.java
+++ b/components/camel-azure-storage-blob/src/test/java/org/apache/camel/component/azure/storage/blob/integration/BlobProducerITTest.java
@@ -20,6 +20,7 @@ import java.io.ByteArrayInputStream;
 import java.io.IOException;
 import java.io.InputStream;
 import java.nio.charset.StandardCharsets;
+import java.security.SecureRandom;
 import java.util.LinkedList;
 import java.util.List;
 import java.util.Random;
@@ -151,7 +152,7 @@ class BlobProducerITTest extends BaseIT {
             exchange.getIn().setHeader(BlobConstants.BLOB_NAME, blobName);
 
             byte[] dataBytes = new byte[512]; // we set range for the page from 0-511
-            new Random().nextBytes(dataBytes);
+            new SecureRandom().nextBytes(dataBytes);
             final InputStream dataStream = new ByteArrayInputStream(dataBytes);
             final PageRange pageRange = new PageRange().setStart(0).setEnd(511);