camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [02/28] camel git commit: Committed renamed firebase connection file.
Date Fri, 25 Nov 2016 10:00:41 GMT
Committed renamed firebase connection file.


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

Branch: refs/heads/master
Commit: e7fa94dd7c287e44d66c390a9d6888a1a7cc8060
Parents: 93911bc
Author: gilfernandes <gil.fernandes@gmail.com>
Authored: Fri Nov 18 16:14:15 2016 +0000
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Fri Nov 25 10:05: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, 13 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/e7fa94dd/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 75dd869..549bfef 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,7 +45,6 @@ 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/e7fa94dd/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 666abf7..d33d881 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("gil-sample-app-firebase-adminsdk-rcwg7-fea519a672.json");
+        URL url = Thread.currentThread().getContextClassLoader().getResource("firebase-admin-connection.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/e7fa94dd/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
new file mode 100644
index 0000000..69feae7
--- /dev/null
+++ b/components/camel-firebase/src/test/resources/firebase-admin-connection.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"
+}

http://git-wip-us.apache.org/repos/asf/camel/blob/e7fa94dd/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
deleted file mode 100644
index 69feae7..0000000
--- a/components/camel-firebase/src/test/resources/gil-sample-app-firebase-adminsdk-rcwg7-fea519a672.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"
-}


Mime
View raw message