Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-5437

ServiceComponent metadata on the web-client should not be deleted if Stack doesn't support Service

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.6.0
    • ambari-web
    • None

    Description

      On getting service components information for the selected stack from the server, web-client goes through all the config categories defined in data/service_config.js. Config categories are mapped to serviceComponents. If there is a serviceComponent defined over here but the serviceComponent is not defined in the stack then we delete all the metadata for the serviceComponent (configCategory in data/service_configs.js, properties in data/global_properties and data/review_configs).

      This deletion should not be done if the above condition holds true while service is not part of the stack. If the service is not the part of the stack then we anyways hide all the information related to the service on all pages. so web-client can work without deleting them

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jaimin Jaimin Jetly
            jaimin Jaimin Jetly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment