<commit_before># -*- coding: utf-8 -*-
##############################################################################
#
#    Copyright (C) 2015 Compassion CH (http://www.compassion.ch)
#    Releasing children from poverty in Jesus' name
#    @author: <NAME>, <NAME> <<EMAIL>>
#
#    The licence is in the file __manifest__.py
#
##############################################################################
import logging
import uuid
import time

from odoo import http, exceptions
from odoo.http import request
from odoo.tools import config
from ..tools.onramp_connector import OnrampConnector

_logger = logging.getLogger(__name__)

try:
    import simplejson as json
except ImportError:
    _logger.error("Please install simplejson")


# Put any authorized sender here. Its address must be part of the headers
# in order to handle a request.
AUTHORIZED_SENDERS = ['CHTest', 'CISalesforce', 'CISFDC', 'CINetsuite',
                      'SFDC-CI']

_logger = logging.getLogger(__name__)


class RestController(http.Controller):

    @http.route('/onramp-test', type='http', auth='oauth2', methods=['POST'],<commit_msg>Add new authorization for new AM software of GMC<commit_after># -*- coding: utf-8 -*-
##############################################################################
#
#    Copyright (C) 2015 Compassion CH (http://www.compassion.ch)
#    Releasing children from poverty in Jesus' name
#    @author: <NAME>, <NAME> <<EMAIL>>
#
#    The licence is in the file __manifest__.py
#
##############################################################################
import logging
import uuid
import time

from odoo import http, exceptions
from odoo.http import request
from odoo.tools import config
from ..tools.onramp_connector import OnrampConnector

_logger = logging.getLogger(__name__)

try:
    import simplejson as json
except ImportError:
    _logger.error("Please install simplejson")


# Put any authorized sender here. Its address must be part of the headers
# in order to handle a request.
AUTHORIZED_SENDERS = ['CHTest', 'CISalesforce', 'CISFDC', 'CINetsuite',
                      'SFDC-CI', 'SponsorshipPool']

_logger = logging.getLogger(__name__)


class RestController(http.Controller):

    @http.route('/onramp-test', type='http', auth='oauth2', methods=['POST'],
{'fraction_non_alphanumeric': 0.23342059336823734, 'fraction_numerical': 0.005235602094240838, 'mean_word_length': 4.87948717948718, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6263637', 'n_tokens_mistral': 659, 'n_tokens_neox': 627, 'n_words': 198}