Module Expr Str ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpOr UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Return Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Call NameLoad keyword Num Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad While CompareLt Call AttributeLoad NameLoad attr NameLoad body Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr If UnaryOpNot NameLoad body Raise Call NameLoad Str If CompareEq AttributeLoad NameLoad attr Str body Return Expr Call NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str body Expr Str Assign NameStore BoolOpOr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword BoolOpOr NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword BoolOpOr NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword BoolOpOr NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword BoolOpOr NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareIs Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return Dict Str Num Raise NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str body Expr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword BoolOpOr NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword BoolOpOr NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword BoolOpOr NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword BoolOpOr NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body If CompareIs Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return Dict Str Num Raise NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Num Call AttributeLoad Str attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr While CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr While BoolOpAnd CompareNotIn NameLoad NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str attr Assign NameStore Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body If CompareEq Call AttributeLoad NameLoad attr NameLoad body Return NameLoad orelse Return NameLoad decorator_list decorator_list
N/A N/A 
Copyright 2013 Rackspace

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
 datetime datetime timedelta httplib BadStatusLine requests.exceptions ConnectionError time sleep cloudcafe.common.tools time cloudcafe.cloudkeep.common.responses CloudkeepResponse OrdersBehavior N/A object N/A __init__ N/A N/A self orders_client secrets_client config N/A N/A N/A N/A N/A N/A super OrdersBehavior self __init__ N/A N/A self orders_client orders_client N/A N/A self secrets_client secrets_client N/A N/A self config config N/A N/A self created_orders N/A N/A _wait_for_order_to_activate N/A N/A self create_resp N/A N/A N/A  Recheck the order every second to see if it's active yet. N/A N/A N/A N/A create_resp entity N/A N/A N/A create_resp entity reference N/A N/A N/A stop_time N/A N/A N/A datetime now N/A timedelta seconds 30 N/A order_ref N/A N/A create_resp entity reference N/A order_id N/A N/A CloudkeepResponse get_id_from_ref order_ref N/A N/A N/A N/A datetime now stop_time N/A N/A order N/A N/A N/A N/A self orders_client get_order order_id entity N/A N/A order N/A N/A N/A Exception Couldn't properly retrieve or parse order N/A N/A N/A order status ACTIVE N/A N/A N/A N/A sleep 0.1 N/A create_and_check_order N/A N/A self name payload_content_type algorithm bit_length mode N/A None None None None None N/A N/A Creates order, gets order, and gets secret made by order. N/A resp N/A N/A self create_order_overriding_cfg name name algorithm algorithm bit_length bit_length mode mode payload_content_type payload_content_type N/A get_order_resp N/A N/A N/A self orders_client get_order order_id N/A resp id N/A behavior_response N/A CloudkeepResponse resp N/A resp create_resp get_resp get_order_resp N/A behavior_response N/A create_order_from_config N/A N/A self use_expiration N/A False N/A N/A Creates order from configuration. N/A expiration None N/A use_expiration N/A N/A expiration N/A N/A time get_tomorrow_timestamp N/A resp N/A N/A self create_order name N/A N/A self config name payload_content_type N/A N/A self config payload_content_type algorithm N/A N/A self config algorithm bit_length N/A N/A self config bit_length mode N/A N/A self config mode expiration expiration order_type key N/A resp N/A create_order_overriding_cfg N/A N/A self name expiration algorithm bit_length payload_content_type payload_content_encoding mode headers order_type N/A None None None None None None None None key N/A N/A Creates order using provided parameters or default configurations.
        Allows for testing individual parameters on creation.
         N/A content_type N/A payload_content_type N/A N/A self config payload_content_type N/A resp N/A N/A self create_order name N/A name N/A N/A self config name payload_content_type content_type payload_content_encoding payload_content_encoding algorithm N/A algorithm N/A N/A self config algorithm bit_length N/A bit_length N/A N/A self config bit_length mode N/A mode N/A N/A self config mode expiration expiration order_type order_type headers headers N/A resp N/A create_order N/A N/A self name algorithm bit_length mode payload_content_type payload_content_encoding expiration headers order_type N/A None None None None None None None None key N/A N/A N/A N/A resp N/A N/A N/A self orders_client create_order name name payload_content_type payload_content_type payload_content_encoding payload_content_encoding algorithm algorithm bit_length bit_length mode mode expiration expiration order_type order_type headers headers N/A N/A N/A ConnectionError N/A e N/A N/A N/A N/A type N/A N/A e message reason BadStatusLine N/A N/A N/A status_code 0 N/A e N/A N/A N/A self _wait_for_order_to_activate resp N/A behavior_response N/A CloudkeepResponse resp resp N/A order_id N/A behavior_response id N/A N/A order_id None N/A N/A N/A N/A N/A self created_orders append N/A behavior_response id N/A behavior_response N/A create_order_w_payload N/A N/A self name algorithm bit_length mode payload_content_type payload_content_encoding expiration payload order_type N/A None None None None None None None None key N/A N/A Creates an order with a plain_text value. Separate from
        standard create order method because it is used for negative
        testing only and is expected to fail.
         N/A N/A N/A resp N/A N/A N/A self orders_client create_order_w_payload name N/A name N/A N/A self config name algorithm N/A algorithm N/A N/A self config algorithm bit_length N/A bit_length N/A N/A self config bit_length mode N/A mode N/A N/A self config mode expiration expiration payload_content_type payload_content_type payload_content_encoding payload_content_encoding payload payload order_type order_type N/A N/A N/A ConnectionError N/A e N/A N/A N/A N/A type N/A N/A e message reason BadStatusLine N/A N/A N/A status_code 0 N/A e N/A N/A N/A self _wait_for_order_to_activate resp N/A behavior_response N/A CloudkeepResponse resp resp N/A order_id N/A behavior_response id N/A N/A order_id None N/A N/A N/A N/A N/A self created_orders append N/A behavior_response id N/A behavior_response N/A delete_order N/A N/A self order_id delete_secret N/A True N/A N/A delete_secret N/A N/A resp N/A N/A N/A self orders_client get_order order_id N/A order N/A resp entity N/A N/A N/A resp status_code 200 N/A N/A Could not get order {id} to delete format id order_id N/A secret_id N/A N/A order get_secret_id N/A N/A N/A N/A self secrets_client delete_secret secret_id N/A resp N/A N/A N/A self orders_client delete_order order_id N/A N/A order_id N/A self created_orders N/A N/A N/A N/A N/A self created_orders remove order_id N/A resp N/A delete_all_orders_in_db N/A N/A self N/A N/A N/A order_group N/A N/A N/A N/A self orders_client get_orders entity N/A found_ids N/A N/A N/A N/A found_ids extend N/A N/A order_group get_ids N/A N/A N/A order_group next None N/A N/A query N/A N/A order_group get_next_query_data N/A order_group N/A N/A N/A N/A self orders_client get_orders limit N/A query N/A limit offset N/A query N/A offset entity N/A N/A N/A found_ids extend N/A N/A order_group get_ids N/A order_id found_ids N/A N/A N/A N/A self delete_order order_id N/A delete_all_created_orders_and_secrets N/A N/A self N/A N/A N/A order_id N/A list N/A self created_orders N/A N/A N/A N/A self delete_order order_id delete_secret True N/A N/A self created_orders N/A N/A remove_from_created_orders N/A N/A self order_id N/A N/A N/A N/A order_id N/A self created_orders N/A N/A N/A N/A N/A self created_orders remove order_id N/A find_order N/A N/A self order_id N/A N/A N/A order_group N/A N/A N/A N/A self orders_client get_orders entity N/A ids N/A N/A order_group get_ids N/A N/A N/A order_id ids N/A N/A order_group next None N/A N/A query N/A N/A order_group get_next_query_data N/A order_group N/A N/A N/A N/A self orders_client get_orders limit N/A query N/A limit offset N/A query N/A offset entity N/A ids N/A N/A order_group get_ids N/A order N/A order_group orders N/A N/A N/A N/A N/A order get_id order_id N/A N/A order N/A N/A None N/A N/A