This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/Users/tony7514/projects/Rackspace/cdn/tests/api/services/test_services.py", line 62, in tearDown | |
super(TestServices, self).tearDown() | |
File "/Users/tony7514/projects/Rackspace/cdn/.tox/py33/lib/python3.3/site-packages/cafe/drivers/unittest/fixtures.py", line 118, in tearDown | |
self._reporter.stop_test_metrics(self._testMethodName, 'Passed') | |
File "/Users/tony7514/projects/Rackspace/cdn/.tox/py33/lib/python3.3/site-packages/cafe/drivers/base.py", line 115, in stop_test_metrics | |
self.stats_log.report(self.test_metrics) | |
File "/Users/tony7514/projects/Rackspace/cdn/.tox/py33/lib/python3.3/site-packages/cafe/common/reporting/metrics.py", line 172, in report | |
test_result.timer.stop_time, test_result.result]) | |
File "/Users/tony7514/projects/Rackspace/cdn/.tox/py33/lib/python3.3/site-packages/cafe/common/reporting/metrics.py", line 154, in writerow |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.jeromqexample; | |
import android.os.Handler; | |
import android.os.Bundle; | |
import android.os.Message; | |
public class Util { | |
public static final String MESSAGE_PAYLOAD_KEY = "jeromq-service-payload"; | |
public static char[] reverseInPlace(byte[] input){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
from akamai.edgegrid import EdgeGridAuth | |
def main(): | |
s = requests.Session() | |
s.auth = EdgeGridAuth( | |
# This is rax_test credential | |
client_token = '<your_client_token>', | |
client_secret='<your_client_secret>', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{'rules': | |
[{'matches': [{'name': 'url-path', 'value': u'/*'}, | |
{'name': 'url-path', 'value': u'/text'}], | |
'behaviors': [ | |
{'params': {'cacheKeyValue': '-', 'digitalProperty': u'sage.com', | |
'cacheKeyType': 'origin', 'hostHeaderValue': '-', | |
'originDomain': u'mockdomain-text.com', 'hostHeaderType': 'digital_property'}, | |
'name': 'origin', 'value': '-'}, | |
{'name': 'referer-whitelist', 'value': u'*www.mocksitegraphic.com*'}, | |
{'type': 'fixed', 'name': 'caching', 'string': '1200s'}]}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import newrelic | |
import poppy.transport.app | |
print "START" | |
app = poppy.transport.app.app.application | |
print "APP LOAD" | |
app = newrelic.agent.WSGIApplicationWrapper(app) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from newrelic import agent | |
import poppy.transport.app | |
print "START" | |
app = poppy.transport.app.app | |
print "APP LOAD" | |
app = agent.WSGIApplicationWrapper(app) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
from akamai.edgegrid import EdgeGridAuth | |
def main(): | |
s = requests.Session() | |
s.auth = EdgeGridAuth( | |
# This is rax_test credential | |
client_token = '<your_token>', | |
client_secret='<your_secret>', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
session.execute(''' | |
INSERT INTO poppy.flavors (flavor_id, | |
providers) | |
VALUES (%(flavor_id)s, | |
%(providers)s) | |
''', dict(flavor_id="standard", | |
providers=dict([("fastly", 'www.fastly.com')]) | |
)) | |
session.execute(''' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-02-04 17:07:35.542 1016 TRACE taskflow.conductors.single_threaded Traceback (most recent call last): | |
2015-02-04 17:07:35.542 1016 TRACE taskflow.conductors.single_threaded File "/Users/tony7514/bin/python27/lib/python2.7/site-packages/taskflow/conductors/single_threaded.py", line 95, in _dispatch_job | |
2015-02-04 17:07:35.542 1016 TRACE taskflow.conductors.single_threaded engine.run() | |
2015-02-04 17:07:35.542 1016 TRACE taskflow.conductors.single_threaded File "/Users/tony7514/bin/python27/lib/python2.7/site-packages/taskflow/engines/action_engine/engine.py", line 97, in run | |
2015-02-04 17:07:35.542 1016 TRACE taskflow.conductors.single_threaded for _state in self.run_iter(): | |
2015-02-04 17:07:35.542 1016 TRACE taskflow.conductors.single_threaded File "/Users/tony7514/bin/python27/lib/python2.7/site-packages/taskflow/engines/action_engine/engine.py", line 147, in run_iter | |
2015-02-04 17:07:35.542 1016 TRACE taskflow.conductors.single_threaded self._change_state(states.FAILURE) | |
2015-02-04 17:0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
from akamai.edgegrid import EdgeGridAuth | |
def main(): | |
s = requests.Session() | |
s.auth = EdgeGridAuth( | |
client_token = '<your client token>', | |
client_secret='<your client secret>', | |
access_token='<your access url>') |
OlderNewer