Skip to content

Instantly share code, notes, and snippets.

View tonytan4ever's full-sized avatar

Tony Tan tonytan4ever

View GitHub Profile
{
"name": "my_service_name",
"domain_list": [{"domain": "www.mywebsite.com", "protocol": "http"},
{"domain": "blog.mywebsite.com", "protocol": "http"}],
"flavor": "cdn",
"origin_list": [{
"origin": "myorigin.com",
"port": 80,
"ssl": false,
"rules": [
Babel==1.3
Flask==0.10.1
Flask-Admin==1.0.8
Flask-Assets==0.10
Flask-Babel==0.9
Flask-Bootstrap==3.2.0.2
Flask-Cache==0.13.1
Flask-Classy==0.6.10
Flask-Cors==1.9.0
Flask-Limiter==0.7.1
[drivers:provider:akamai]
policy_api_client_token = "MY_POLICY_API_CLIENT_TOKEN"
policy_api_client_secret = "MY_POLICY_API_CLIENT_SECRET"
policy_api_access_token = "MY_POLICY_API_ACCESS_TOKEN"
policy_api_base_url = "MY_POLICY_API_BASE_URL"
ccu_api_client_token = "MY_CCU_API_CLIENT_TOKEN"
ccu_api_client_secret = "MY_CCU_API_CLIENT_SECRET"
ccu_api_access_token = "MY_CCU_API_ACCESS_TOKEN"
ccu_api_base_url = "MY_CCU_API_BASE_URL"
akamai_access_url_link = "MY_ACCESS_URL_LINK"
ile "/Users/tony7514/bin/python27/lib/python2.7/sre_compile.py", line 583, in compile
2015-10-07 14:01:22.610 1052 TRACE poppy.common.cli "sorry, but this version only supports 100 named groups"
2015-10-07 14:01:22.610 1052 TRACE poppy.common.cli AssertionError: sorry, but this version only supports 100 named groups
Traceback (most recent call last):
File "/Users/tony7514/projects/Rackspace/taskflow/.tox/py27/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/Users/tony7514/projects/Rackspace/taskflow/.tox/py27/lib/python2.7/site-packages/pip/commands/install.py", line 262, in run
for req in parse_requirements(filename, finder=finder, options=options, session=session):
File "/Users/tony7514/projects/Rackspace/taskflow/.tox/py27/lib/python2.7/site-packages/pip/req.py", line 1631, in parse_requirements
req = InstallRequirement.from_line(line, comes_from, prereleases=getattr(options, "pre", None))
File "/Users/tony7514/projects/Rackspace/taskflow/.tox/py27/lib/python2.7/site-packages/pip/req.py", line 172, in from_line
return cls(req, comes_from, url=url, prereleases=prereleases)
File "/Users/tony7514/projects/Rackspace/taskflow/.tox/py27/lib/python2.7/site-packages/pip/req.py", line 70, in __init__
from taskflow import task
from taskflow.patterns import linear_flow
from taskflow import engines
class Task1(task.Task):
default_provides = "param2"
def execute(self):
print "Task 1 running..."
Traceback (most recent call last):
File "/Users/tony7514/projects/new_workspace/testNPlayWith/TaskFlow/input_data_provider.py", line 52, in <module>
engines.run(flow, store={'param4': 'new param5'})
File "/Users/tony7514/projects/Rackspace/taskflow/taskflow/engines/helpers.py", line 222, in run
engine.run()
File "/Users/tony7514/projects/Rackspace/taskflow/taskflow/engines/action_engine/engine.py", line 159, in run
for _state in self.run_iter():
File "/Users/tony7514/projects/Rackspace/taskflow/taskflow/engines/action_engine/engine.py", line 185, in run_iter
self.validate()
File "/Users/tony7514/bin/python27/lib/python2.7/site-packages/fasteners/lock.py", line 291, in wrapper
DEBUG:taskflow.engines.helpers:Looking for 'default' engine driver in 'taskflow.engines'
DEBUG:stevedore.extension:found extension EntryPoint.parse('default = taskflow.engines.action_engine.engine:SerialActionEngine')
DEBUG:stevedore.extension:found extension EntryPoint.parse('serial = taskflow.engines.action_engine.engine:SerialActionEngine')
DEBUG:stevedore.extension:found extension EntryPoint.parse('workers = taskflow.engines.worker_based.engine:WorkerBasedActionEngine')
DEBUG:stevedore.extension:found extension EntryPoint.parse('worker-based = taskflow.engines.worker_based.engine:WorkerBasedActionEngine')
DEBUG:stevedore.extension:found extension EntryPoint.parse('parallel = taskflow.engines.action_engine.engine:ParallelActionEngine')
Level 5:taskflow.engines.action_engine.compiler:Compiling 'taskflow.patterns.linear_flow.Flow: flow name(len=3)'
Level 5:taskflow.engines.action_engine.compiler: Compiling '__main__.Task1==1.0'
Level 5:taskflow.engines.action_engine.compiler: Decomposed '__main__.Task1==1.
response text: {
"type" : "https://problems.luna.akamaiapis.net/papi/v0/activation/errors",
"status" : 400,
"instance" : "https://akab-3r276kizolbgfqbi-6tnfu4jessqtn4b4.luna.akamaiapis.net/papi/v0/properties/prp_226831/activations/?contractId=ctr_C-2M6JYA&groupId=grp_23174#1b82044d-91cf-489d-92d9-c8049e4005b8",
"errors" : [ {
"type" : "https://problems.luna.akamaiapis.net/papi/v0/activation/validation_errors_exist",
"detail" : "There are validation errors that exist. Please return to the edit page to correct them.",
"messageId" : "msg_48d270436925422781ac6dd06763470987ed7a5d"
} ]
}
<?xml version="1.0" encoding="utf-8"?><testsuite errors="0" failures="1" name="pytest" skips="0" tests="2" time="0.027"><testcase classname="test_xfail.test_1.TestUserHandling" name="test_01" time="5.19752502441e-05"/><testcase classname="test_xfail.test_1.TestUserHandling" name="test_02" time="0.000103950500488"><failure message="AssertionError: assert 0">self = &lt;test_1.TestUserHandling testMethod=test_02&gt;
def test_02(self):
&gt; assert 0
E AssertionError: assert 0
test_xfail/test_1.py:17: AssertionError</failure></testcase></testsuite>