Uploaded image for project: 'PUBLIC - Liferay Documentation'
  1. PUBLIC - Liferay Documentation
  2. LRDOCS-2070

Create documentation for new (7.0) Configuration Framework

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: Core Infrastructure
    • Labels:
      None

      Description

      For what remains in Liferay core, portal.properties continues to work exactly as it did in previous (< 7.0) versions.

      However, for modules (such as wiki), portal.properties was not modular or flexible enough so a new Configuration framework was created. The new configuration framework is based on OSGi's Configuration Admin standard. This framework is quite flexible and provides quite a few ways of overwriting the configuration. The two most common right now are:

      • Using the UI: We have a new portlet in the Control Panel that allows changing the configuration on the fly. The final name will most probably be System Settings, but if you look for it now, it is called Configuration Admin.
      • Deploying a file with the overridden configuration. Instead of having one global file, the configuration is now also modularized. We will need to generate reference documentation with all the file names and properties in each, but for now, the file name is the configuration pid (by convention the class name) with cfg as its extension. For example: com.liferay.wiki.configuration.WikiGroupServiceConfiguration.cfg

      In both cases the changes will be applied immediately. No restart is required.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package