[Backlogmanager] [FIWARE-JIRA] (HELP-14505) [fiware-stackoverflow] Process verify Configuration in right_time ckan plugin?

Veronika Vlnkova (JIRA) jira-help-desk at jira.fiware.org
Fri Aug 10 08:40:00 CEST 2018


     [ https://jira.fiware.org/browse/HELP-14505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Veronika Vlnkova reassigned HELP-14505:
---------------------------------------

    Assignee: Francisco de la Vega

> [fiware-stackoverflow] Process verify Configuration in right_time ckan plugin?
> ------------------------------------------------------------------------------
>
>                 Key: HELP-14505
>                 URL: https://jira.fiware.org/browse/HELP-14505
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Francisco de la Vega
>              Labels: ckan, fiware, python, python-2.7, six
>
> Created question in FIWARE Q/A platform on 10-08-2018 at 05:08
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/51778660/process-verify-configuration-in-right-time-ckan-plugin
> +Question:+
> Process verify Configuration in right_time ckan plugin?
> +Description:+
> I am unable to understand about what is happening in this code.?
>   verify_conf = os.environ.get('CKAN_RIGHT_TIME_CONTEXT_VERIFY_REQUESTS', toolkit.config.get('ckan.right_time_context.verify_requests'))
>         if verify_conf is None or (isinstance(verify_conf, six.string_types) and verify_conf.strip() == ""):
>             verify_conf = os.environ.get('CKAN_VERIFY_REQUESTS', toolkit.config.get('ckan.verify_requests'))
>         if isinstance(verify_conf, six.string_types) and verify_conf.strip() != "":
>             compare_env = verify_conf.lower().strip()
>             if compare_env in ("true", "1", "on"):
>                 verify = True
>             elif compare_env in ("false", "0", "off"):
>                 verify = False
>             else:
>                 verify = verify_conf
>         elif isinstance(verify_conf, bool):
>             verify = verify_conf
>         else:
>             verify = True



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy