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

    • Branch Version/s:
      7.3.x, 7.2.x
    • Backported to Branch:
      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

              Assignee:
              victor.ware Victor Ware
              Reporter:
              shuyang.zhou Shuyang Zhou
              Engineering Assignee:
              SE Support
              Recent user:
              Sophia Zhang
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  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