camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [26/28] camel git commit: Revert "Committed renamed firebase connection file."
Date Fri, 25 Nov 2016 12:17:49 GMT
Revert "Committed renamed firebase connection file."

This reverts commit e7fa94dd7c287e44d66c390a9d6888a1a7cc8060.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/e8539312
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/e8539312
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/e8539312

Branch: refs/heads/master
Commit: e853931296dd23d1b747f01e533c4bb3ebf3692e
Parents: ced32a8
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Fri Nov 25 12:50:35 2016 +0100
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Fri Nov 25 12:50:35 2016 +0100

----------------------------------------------------------------------
 .../camel/component/firebase/FirebaseProducerTest.java  |  1 +
 .../firebase/provider/ConfigurationProvider.java        |  2 +-
 .../src/test/resources/firebase-admin-connection.json   | 12 ------------
 ...l-sample-app-firebase-adminsdk-rcwg7-fea519a672.json | 12 ++++++++++++
 4 files changed, 14 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/e8539312/components/camel-firebase/src/test/java/org/apache/camel/component/firebase/FirebaseProducerTest.java
----------------------------------------------------------------------
diff --git a/components/camel-firebase/src/test/java/org/apache/camel/component/firebase/FirebaseProducerTest.java
b/components/camel-firebase/src/test/java/org/apache/camel/component/firebase/FirebaseProducerTest.java
index 549bfef..75dd869 100644
--- a/components/camel-firebase/src/test/java/org/apache/camel/component/firebase/FirebaseProducerTest.java
+++ b/components/camel-firebase/src/test/java/org/apache/camel/component/firebase/FirebaseProducerTest.java
@@ -45,6 +45,7 @@ public class FirebaseProducerTest {
         startRoute(true, String.class);
     }
 
+
     private void startRoute(final boolean async, final Class<?> expectedBodyClass)
throws Exception {
         sampleInputProvider.copySampleFile();
         CamelContext context = new DefaultCamelContext();

http://git-wip-us.apache.org/repos/asf/camel/blob/e8539312/components/camel-firebase/src/test/java/org/apache/camel/component/firebase/provider/ConfigurationProvider.java
----------------------------------------------------------------------
diff --git a/components/camel-firebase/src/test/java/org/apache/camel/component/firebase/provider/ConfigurationProvider.java
b/components/camel-firebase/src/test/java/org/apache/camel/component/firebase/provider/ConfigurationProvider.java
index d33d881..666abf7 100644
--- a/components/camel-firebase/src/test/java/org/apache/camel/component/firebase/provider/ConfigurationProvider.java
+++ b/components/camel-firebase/src/test/java/org/apache/camel/component/firebase/provider/ConfigurationProvider.java
@@ -18,7 +18,7 @@ import static org.junit.Assert.assertNotNull;
 public class ConfigurationProvider {
 
     public static String createFirebaseConfigLink() throws URISyntaxException, UnsupportedEncodingException
{
-        URL url = Thread.currentThread().getContextClassLoader().getResource("firebase-admin-connection.json");
+        URL url = Thread.currentThread().getContextClassLoader().getResource("gil-sample-app-firebase-adminsdk-rcwg7-fea519a672.json");
         assertNotNull(url);
         File f = new File(url.toURI());
         return URLEncoder.encode(f.getAbsolutePath(), "UTF-8");

http://git-wip-us.apache.org/repos/asf/camel/blob/e8539312/components/camel-firebase/src/test/resources/firebase-admin-connection.json
----------------------------------------------------------------------
diff --git a/components/camel-firebase/src/test/resources/firebase-admin-connection.json b/components/camel-firebase/src/test/resources/firebase-admin-connection.json
deleted file mode 100644
index 69feae7..0000000
--- a/components/camel-firebase/src/test/resources/firebase-admin-connection.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
-  "type": "service_account",
-  "project_id": "gil-sample-app",
-  "private_key_id": "",
-  "private_key": "",
-  "client_email": "",
-  "client_id": "107121076566697579073",
-  "auth_uri": "https://accounts.google.com/o/oauth2/auth",
-  "token_uri": "https://accounts.google.com/o/oauth2/token",
-  "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
-  "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/firebase-adminsdk-rcwg7%40gil-sample-app.iam.gserviceaccount.com"
-}

http://git-wip-us.apache.org/repos/asf/camel/blob/e8539312/components/camel-firebase/src/test/resources/gil-sample-app-firebase-adminsdk-rcwg7-fea519a672.json
----------------------------------------------------------------------
diff --git a/components/camel-firebase/src/test/resources/gil-sample-app-firebase-adminsdk-rcwg7-fea519a672.json
b/components/camel-firebase/src/test/resources/gil-sample-app-firebase-adminsdk-rcwg7-fea519a672.json
new file mode 100644
index 0000000..69feae7
--- /dev/null
+++ b/components/camel-firebase/src/test/resources/gil-sample-app-firebase-adminsdk-rcwg7-fea519a672.json
@@ -0,0 +1,12 @@
+{
+  "type": "service_account",
+  "project_id": "gil-sample-app",
+  "private_key_id": "",
+  "private_key": "",
+  "client_email": "",
+  "client_id": "107121076566697579073",
+  "auth_uri": "https://accounts.google.com/o/oauth2/auth",
+  "token_uri": "https://accounts.google.com/o/oauth2/token",
+  "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
+  "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/firebase-adminsdk-rcwg7%40gil-sample-app.iam.gserviceaccount.com"
+}


Mime
View raw message