PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-9

Reintroduce instance specific properties and make it configurable

    Details

    • Type: Feature Request Feature Request
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.1.2, 5.2.2
    • Fix Version/s: None
    • Labels:
      None
    • Branch Version/s:
      5.1.x
    • Backported to Branch:
      Committed
    • Liferay Contributor's Agreement:
      Accept
    • Similar Issues:
      Show 5 results 

      Description

      As I prefer to have instance specific configuration already on instance creation (eg. default admin and ldap settings) I ported it from 4.3 to current head and made it configurable in portal-ext.properties to avoid confusion (LEP-6390).

      Attached is ConfigurationImpl.java and PropsUtil.java (rev 21163).
      Set include-and-override=portal-$

      {easyconf:companyId}

      .properties in portal-ext.properties to enable the feature.

      I'd very much like to have this included again. Please let me know if I can do something else.

      1. ConfigurationImpl.java
        11 kB
        Marc Champion
      2. ConfigurationImpl.java
        11 kB
        Marc Champion
      3. PropsUtil.java
        7 kB
        Andrea Vacondio
      4. PropsUtil.java
        4 kB
        Marc Champion
      5. PropsUtil.java
        4 kB
        Marc Champion

        Issue Links

          Activity

          Hide
          Cynthia Wilburn (Inactive) added a comment -

          Can you please update this ticket with a proper component selection?

          If you do not have edit permissions, please add it as a comment.

          Thanks!

          Show
          Cynthia Wilburn (Inactive) added a comment - Can you please update this ticket with a proper component selection? If you do not have edit permissions, please add it as a comment. Thanks!
          Hide
          Arjun Mullick added a comment -

          I am using Liferay 6.0 and saw that some properties are made instance configurable like properties for
          terms of use and authentication type by keeping them as preference configurable setting ,
          can there be a way I can customize other property from PropsValues like (PropsValues.USERS_REMINDER_QUERIES_ENABLED) which are static variables.

          Though I am able yo fetch instance specific properties by kernel PropsUtil but PropsValues are referenced in many places in existing Liferay code and cant change it to PropsUtil , please suggest an alternate way to load instance specific class .

          Show
          Arjun Mullick added a comment - I am using Liferay 6.0 and saw that some properties are made instance configurable like properties for terms of use and authentication type by keeping them as preference configurable setting , can there be a way I can customize other property from PropsValues like (PropsValues.USERS_REMINDER_QUERIES_ENABLED) which are static variables. Though I am able yo fetch instance specific properties by kernel PropsUtil but PropsValues are referenced in many places in existing Liferay code and cant change it to PropsUtil , please suggest an alternate way to load instance specific class .
          Hide
          Milan Jaroš added a comment -

          According to my earlier comment:
          I mean that if something can be set at both Portal settings portlet and portal.properties there should be some comment line in portal.properties nearby that value.

          Show
          Milan Jaroš added a comment - According to my earlier comment: I mean that if something can be set at both Portal settings portlet and portal.properties there should be some comment line in portal.properties nearby that value.
          Hide
          Milan Jaroš added a comment -

          Arjun, I know this is not answer to your question but maybe it could be helpful for you.
          From my experience: Avoid using portal instances feature as long as it is possible. I prefer to create new server and database instance.

          Show
          Milan Jaroš added a comment - Arjun, I know this is not answer to your question but maybe it could be helpful for you. From my experience: Avoid using portal instances feature as long as it is possible. I prefer to create new server and database instance.
          Hide
          Randy Zhu added a comment -

          In preparation for Ideation; we are merging New Feature and Improvement tickets into a singular ticket type called “Feature Request”. Additional information to follow soon.

          Show
          Randy Zhu added a comment - In preparation for Ideation; we are merging New Feature and Improvement tickets into a singular ticket type called “Feature Request”. Additional information to follow soon.

            People

            • Votes:
              10 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                2 years, 11 weeks, 6 days ago

                Development

                  Structure Helper Panel