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

etc-pristine configuration format differs from webapp saved configuration

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.12.1
    • Fix Version/s: 21.0.0
    • Component/s: Build / Packaging
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - September 27th, Horizon - October 11th

      Description

      Hello,

      Several configuration files in etc-pristine uses a identation/formatting that differs from the same file when saved in from the webinterface. Ex:

      -<?xml version="1.0"?>
      -<groupinfo xmlns="http://xmlns.opennms.org/xsd/groups">

      • <header>
      • <rev>1.3</rev>
      • <created>Wednesday, February 6, 2002 10:10:00 AM EST</created>
      • <mstation>dhcp-219.internal.opennms.org</mstation>
      • </header>
      • <groups>
      • <group>
      • <name>Admin</name>
      • <comments>The administrators</comments>
      • <user>admin</user>
      • </group>
      • <group>
      • <name>Remoting Users</name>
      • <comments>Users with access for submitting remote poller management data.</comments>
      • <user>remoting</user>
      • </group>
      • </groups>
        +<?xml version="1.0" encoding="UTF-8"?>
        +<groupinfo xmlns="http://xmlns.opennms.org/xsd/groups">
        + <header>
        + <rev>1.3</rev>
        + <created>Tuesday, May 14, 2013 10:32:53 PM GMT</created>
        + <mstation>dhcp-219.internal.opennms.org</mstation>
        + </header>
        + <groups>
        + <group>
        + <name>Admin</name>
        + <default-map>Santa Catarina</default-map>
        + <comments>The administrators</comments>
        + <user>admin</user>
        + </group>
        + <group>
        + <name>Remoting Users</name>
        + <comments>Users with access for submitting remote poller management data.</comments>
        + <user>remoting</user>
        + </group>
        + </groupinfo>

      This results in unnecessary conflicts when doing a opennms upgrade. There is other examples as long lines being broken in two and changing the number of spaces in indentation.

      Please, regenerate all etc-pristine files using the webapp.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ranger Benjamin Reed
                Reporter:
                luizluca@gmail.com Luiz Angelo Daros de Luca
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: