Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25398

As a developer I would like to inject cluster related settings defined in ezpublish.yml

    Details

      Description

      As a developer I would like to inject cluster related settings defined in ezpublish.yml

      At this moment we always have to define the cluster settings both on symfony and legacy.
      Example of my file.ini.append.php settings:

      [eZDFSClusteringSettings]
      DBHost=clusterhost
      DBPort=3306
      

      Example of my ezpublish.yml settings

      doctrine:
          dbal:
              connections:
                  default:
                      charset:  UTF8
                      driver:   pdo_mysql
                      port:     3306
                      host:     %mysql.server.ip%
                      dbname:   %database.name%
                      user:     %database.user%
                      password: %database.password%
                      server_version: 5.5
                  cluster:
                      charset:  UTF8
                      driver:   pdo_mysql
                      port:     3306
                      host:     %mysql.server.ip%
                      dbname:   %dfs.database.name%
                      user:     %dfs.database.user%
                      password: %dfs.database.password%
                      server_version: 5.5
      

      ez_io:
         metadata_handlers:
             dfs:
                 legacy_dfs_cluster:
                     connection: doctrine.dbal.cluster_connection
         binarydata_handlers:
             nfs:
                 flysystem:
                     adapter: nfs_adapter
      

      No injection is currently being done, so I have to always define the same settings twice (on symfony and legacy).
      Having these settings injected would be very useful.

        Activity

        No workflow transitions have been executed yet.

          People

          • Assignee:
            Unassigned
            Reporter:
            Eduardo Fernandes (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: