Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-126920

Add support for portal properties overriding OSGi configs

Details

    • 7.3.x, 7.2.x
    • Committed

    Description

      With this change you can override OSGi config via portal properties to provide a centralized way to configure osgi services.

      The syntax for override is:

      configuration.override.${pid}_${key}=${value}

      For example:

      configuration.override.com.liferay.journal.configuration.JournalServiceConfiguration_indexAllArticleVersionsEnabled=B"false"
      configuration.override.com.liferay.journal.configuration.JournalServiceConfiguration_journalArticleMaxVersionCount=I"5"

      Note that the value must be using the same type escaping format as normal osgi config files do.

      This override takes the highest priority, with it the normal config file and db persistented config values will not be used.

      Attachments

        Issue Links

          Activity

            People

              victor.ware Victor Ware
              shuyang.zhou Shuyang Zhou
              SE Support SE Support
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  7.2.10 DXP FP17
                  7.2.10.6 DXP SP6
                  7.2.X
                  7.3.7 CE GA8
                  7.3.X
                  7.4.1 CE GA2 DXP 7,4
                  7.4.13 DXP GA1
                  Master