qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-1888) Allow configuration of connection details via a simple config file
Date Mon, 09 Jul 2018 10:43:00 GMT

    [ https://issues.apache.org/jira/browse/PROTON-1888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16536770#comment-16536770
] 

ASF GitHub Bot commented on PROTON-1888:
----------------------------------------

GitHub user grs opened a pull request:

    https://github.com/apache/qpid-proton/pull/150

    PROTON-1888: allow configuration of connection details from a config …

    …file
    
    The file to use can be specified using the CONNECT_CONFIG environment variable. If
    that is not set, it will look for a file name connect.json, first in the current
    directory, then in the users local configuration directory (~/.config/messaging)
    and then in the system config directory (/etc/messaging/)
    
    The config file is in json format and the following properties can be specified:
    
    scheme
    host
    port
    sasl_mechanisms
    user
    password
    cert_file
    private_key_file
    private_key_password
    ca_cert_file

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/grs/qpid-proton default_connect_proposal

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/qpid-proton/pull/150.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #150
    
----
commit 52f0f270dc40017cdaffba4f9c5e865e2859df4d
Author: Gordon Sim <gsim@...>
Date:   2018-05-16T15:54:19Z

    PROTON-1888: allow configuration of connection details from a config file
    
    The file to use can be specified using the CONNECT_CONFIG environment variable. If
    that is not set, it will look for a file name connect.json, first in the current
    directory, then in the users local configuration directory (~/.config/messaging)
    and then in the system config directory (/etc/messaging/)
    
    The config file is in json format and the following properties can be specified:
    
    scheme
    host
    port
    sasl_mechanisms
    user
    password
    cert_file
    private_key_file
    private_key_password
    ca_cert_file

----


> Allow configuration of connection details via a simple config file
> ------------------------------------------------------------------
>
>                 Key: PROTON-1888
>                 URL: https://issues.apache.org/jira/browse/PROTON-1888
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: python-binding
>            Reporter: Gordon Sim
>            Priority: Major
>
> It can be convenient to keep details of the connection to be established out of application
code, making it easier to switch between environments. Support for a simple config file that
can be used to point the application at the right AMQP service would be useful. Ideally this
would be common across a range of clients.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message