Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-24846

(7.4.z) WFCORE-6351 - The publish-configuration command doesn't throw an error when the git location is invalid

XMLWordPrintable

    • False
    • None
    • False
    • +
    • +
    • Hide

      Configure Git support to manage the configuration history [1]. Execute the following command where the location is invalid:

      [standalone@localhost:9990 /] :publish-configuration(location="invalid_location")
      {
          "outcome" => "success",
          "result" => ""
      }
      

      Expected result: An error to be thrown because location="invalid_location".

      [1] https://docs.wildfly.org/28/Admin_Guide.html#Configuration_file_git_history

      Show
      Configure Git support to manage the configuration history [1] . Execute the following command where the location is invalid: [standalone@localhost:9990 /] :publish-configuration(location= "invalid_location" ) { "outcome" => "success" , "result" => "" } Expected result: An error to be thrown because location="invalid_location". [1] https://docs.wildfly.org/28/Admin_Guide.html#Configuration_file_git_history

      The publish-configuration command shouldn't complete with "outcome" => "success" when the git location is not valid:

      [standalone@localhost:9990 /] :publish-configuration(location="invalid_location")
      {
          "outcome" => "success",
          "result" => ""
      }
      

            rhn-support-ivassile Ilia Vassilev
            rhn-support-ivassile Ilia Vassilev
            Peter Szasz Peter Szasz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: