This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.pipes-1.0.0 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-pipes.git
commit d218d710c44c85315c25fdde37165931d8a263f1 Author: Robert Munteanu <romb...@apache.org> AuthorDate: Fri May 5 10:27:44 2017 +0000 SLING-6801 change remote to local json test this change allows any yahoo API change or disruption to breaks the tests Submitted-By: Nicolas Peltier This closes #221 git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/sling-pipes@1794004 13f79535-47bb-0310-9956-ffa450edef68 --- src/test/resources/json.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/resources/json.json b/src/test/resources/json.json index 47dea17..9d765f2 100644 --- a/src/test/resources/json.json +++ b/src/test/resources/json.json @@ -22,17 +22,17 @@ } } }, - "yahoo": { + "weather": { "jcr:primaryType": "nt:unstructured", "sling:resourceType": "slingPipes/json", - "expr": "https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20in%20(select%20woeid%20from%20geo.places(1)%20where%20text%3D%22${selector.city }%2C%20${selector.country}%22)&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys" + "expr": "{'query':{'ro':{'city':'Bucharest','temp':'12°'}, 'fr':{'city':'Paris','temp':'13°'}}}}" }, "write": { "jcr:primaryType": "nt:unstructured", "sling:resourceType": "slingPipes/write", "path":"/content/json/windSpeed", "conf": { - "${yahoo.get('query').get('results').get('channel').get('location').get('city')}":"${yahoo.get('query').get('results').get('channel').get('wind').get('speed')}" + "${weather.get('query').get(selector.country).get('city')}":"${weather.get('query').get(selector.country).get('temp')}" } } } -- To stop receiving notification emails like this one, please contact "commits@sling.apache.org" <commits@sling.apache.org>.