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

Move the Requisitions and ForeignSources into the database

    XMLWordPrintable

    Details

    • Type: Epic
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Epic Name:
      Migrate Requisitions to the Database
    • Sprint:
      Horizon - March 1st, Horizon - March 15th, Horizon - March 29th, Horizon - April 5, Horizon - April 12th, Horizon - April 19th, Horizon - April 26th, Horizon - May 3rd, Horizon - May 10th, Horizon - May 17th, Horizon - May 24th, Horizon - May 31st, Horizon - June 7th, Horizon - June 14th, Horizon - June 21st, Horizon - June 28th, Horizon - July 5th, Horizon - July 12th, Horizon - July 26th, Horizon - August 2nd, Horizon - August 9th, Horizon - August 16th, Horizon - August 23rd, Horizon - August 30th, Horizon - September 6th, Horizon - September 13th, Horizon - September 20th

      Description

      The document for a "Requisition" and "Foreign-Sources" is stored in the file system in

      ${OPENNMS_HOME}/etc/imports 

      and

      ${OPENNMS_HOME}/etc/foreign-sources

      .

      Having the definitions in the file system gives several problems:

      • Locking has to implemented with concurrent users
      • Dependency on local file system instead of a global reachable network resource
      • Requires maintenance during updates of OpenNMS
      • Requires manual work for updating the XML schema

      Testplan for feature acceptance:

      Testplan WebUI

      Create requisition and synchronize with (Yes/DB only/No)
      Add node to an existing requisition and synchronize with (Yes/DB only/No)
      Dirty requisition state
      Add foreign source policies and detectors
      Test if policies and orders are applied correctly

      Migration

      Migrate existing requisitions, foreignsources with the karaf update scripts. See documentation for more details

      Testplan API and Integration

      Create requisition with ReST API and curl
      Create foreign source with ReST API and curl
      Modify existing requisition with ReST API and curl
      Modify existing foreign source with ReST API and curl
      Test URL provisioning with HTTP and local file driven by the reloadImport event
      Test URL provisioning with HTTP and local file driven by Provisiond and cron schedule -> Found NMS-9489
      Test URL provisioning with HTTP and local file driven by ReST API call
      Test if Minions get automatically created

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mvr Markus von Rüden
              Reporter:
              mvr Markus von Rüden
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated: