[infinispan-issues] [JBoss JIRA] (ISPN-11010) Server should support URL configuration

Diego Lovison (Jira) issues at jboss.org
Fri Nov 29 11:23:01 EST 2019


Diego Lovison created ISPN-11010:
------------------------------------

             Summary: Server should support URL configuration
                 Key: ISPN-11010
                 URL: https://issues.jboss.org/browse/ISPN-11010
             Project: Infinispan
          Issue Type: Enhancement
          Components: Server
    Affects Versions: 10.1.0.Beta1
            Reporter: Diego Lovison


As a developer, I would like to store the configurations outside the project.

A few changes are required before that:
1) Server should support all in one config file (xml|yalm)

The config file should support all configuration available at `server.sh -h`

Example: *config.yaml*
{code:yaml}
bind-address: localhost
server-config: infinispan.xml
{code}

In this case, I am going to start the server with: server.sh --file-config=config.yaml

2) In order to have all configuration in one place, as a developer I would like to have the following:

{code:yaml}
infinispan:

  config:

    server:

      git:

         uri: https://github.com/infinispan/config-repo
         username: foo
         password: foo123
bind-address: localhost
server-config: infinispan.xml
{code}

Different authentications should be supported like:

{code:yaml}
uri: git at gitserver.com:infinispan/repo1.git
ignoreLocalSshSettings: true
hostKey: myKey
hostKeyAlgorithm: ssh-rsa
privateKey: |
     -----BEGIN RSA PRIVATE KEY-----
     bLaH
     -----END RSA PRIVATE KEY-----
{code}

It allows the team have a centralised configuration files with formal approval (aka PR).



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list