Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-11555

Domain names used by the DomainResourceType should be loaded from the configuration files

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 17.0.0
    • Fix Version/s: 17.0.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      org.opennms.netmgt.dao.support.DomainResourceType#getTopLevelResources() currently calls ResourceStorageDao#children() to discover the list of domains at run-time.

      This call is expensive and can be avoided by loading the list of domains from the configuration files instead. Domain resources are documented in:http://www.opennms.org/wiki/Domain-IfAlias_Data_Storage_How-To.

      Success criteria:
      The DomainResourceType#getTopLevelResources() makes no calls to ResourceStorageDao#children().

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              j-white Jesse White
              Reporter:
              j-white Jesse White
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration