Subversion Repositories SmartDukaan

Rev

Rev 19182 | Rev 20873 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 19182 Rev 19889
Line 36... Line 36...
36
    is_private_deal_user, add_private_deal_user, change_private_deal_user_status, \
36
    is_private_deal_user, add_private_deal_user, change_private_deal_user_status, \
37
    get_private_deal_user, register_counter, search_counter, \
37
    get_private_deal_user, register_counter, search_counter, \
38
    get_all_users_by_counter, get_active_access_token_for_user, \
38
    get_all_users_by_counter, get_active_access_token_for_user, \
39
    validate_access_token, is_address_editable_for_counter, \
39
    validate_access_token, is_address_editable_for_counter, \
40
    get_billing_address_for_user, is_creditor_assigned, is_tax_invoice_enabled_user, \
40
    get_billing_address_for_user, is_creditor_assigned, is_tax_invoice_enabled_user, \
41
    get_cart_by_value, get_counter_by_user_id, tax_invoice_available
41
    get_cart_by_value, get_counter_by_user_id, tax_invoice_available,\
-
 
42
    get_counter_name
42
from shop2020.thriftpy.model.v1.user.ttypes import ShoppingCartException
43
from shop2020.thriftpy.model.v1.user.ttypes import ShoppingCartException
43
from shop2020.utils.Utils import log_entry, to_py_date
44
from shop2020.utils.Utils import log_entry, to_py_date
44
 
45
 
45
    
46
    
46
 
47
 
Line 992... Line 993...
992
        For checking weather service is active alive or not. It also checks connectivity with database
993
        For checking weather service is active alive or not. It also checks connectivity with database
993
        """
994
        """
994
        try:
995
        try:
995
            return is_alive()
996
            return is_alive()
996
        finally:
997
        finally:
-
 
998
            self.closeSession()
-
 
999
            
-
 
1000
    def getCounterName(self,userIds):
-
 
1001
        try:
-
 
1002
            return get_counter_name(userIds)
-
 
1003
        finally:
997
            self.closeSession()
1004
            self.closeSession()
998
1005