Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-1758

--external-git-url option is not validated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • None
    • None
    • None
    • % %

    Description

      I can pass any random string to the fabric:create --external-git-url option. The Git URL doesn't seem to be validated.

      JBossFuse:karaf@root> fabric:create --external-git-url=fooBarBaz
      No user found in etc/users.properties or specified as an option. Please specify one ...
      New user name: admin
      Password for admin: 
      Verify password for admin:
      Waiting for container: root
      Using specified zookeeper password:admin
      It may take a couple of seconds for the container to provision...
      You can use the --wait-for-provisioning option, if you want this command to block until the container is provisioned.
      

      Actually the option seems to be ignored, because now matter what I set as the URL, I always see git clone -b 1.0 http://admin:admin@vpn1-6-175.ams2.redhat.com:8181/git/fabric URL in the Hawtio.

      Attachments

        Issue Links

          Activity

            People

              pantinor@redhat.com Paolo Antinori
              hkonsek Henryk Konsek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: