Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.2.1, jboss-fuse-6.3
    • Fix Version/s: jboss-fuse-6.3
    • Component/s: Fabric8 v1
    • Labels:
      None
    • Environment:

      6.2.1.107

    • Sprint:
      Sprint 5 - towards ER2
    • Steps to Reproduce:
      Hide

      1. fabric:create
      2.

      profile-edit --pid io.fabric8.agent/org.ops4j.pax.url.mvn.repositories='file:${runtime.home}/${karaf.default.repository}@snapshots@id=karaf-default, file:${runtime.data}/maven/upload@snapshots@id=fabric-upload' default
      

      3.

      profile-edit --pid io.fabric8.maven/io.fabric8.maven.repositories='${profile:io.fabric8.agent/org.ops4j.pax.url.mvn.repositories}, http://fusewin.tpb.lab.eng.brq.redhat.com:8081/nexus/content/repositories/fuse-qe-repo@id=fuse-qe-repo' default
      

      4.

      profile-create testprofile
      profile-edit --bundle mvn:org.jboss.fuse.qa.test/useless-artifact/1.0 testprofile
      container-add-profile root testprofile
      

      5. provisioning will fail with multiException
      6. try to get artifact from fabric maven proxy manually

      wget <rootHost>:8181/maven/download/org/jboss/fuse/qa/test/useless-artifact/1.0/useless-artifact-1.0.jar
      

      7. You can see that FMP (Fabric Maven Proxy) can access remote repository.
      8.

      profile-edit --pid io.fabric8.agent/org.ops4j.pax.url.mvn.repositories=http://<rootHost>:8181/maven/download@id=fmp --append default
      

      9.

      profile-refresh testprofile
      

      10. Provision will success and artifact is resolved

      Show
      1. fabric:create 2. profile-edit --pid io.fabric8.agent/org.ops4j.pax.url.mvn.repositories= 'file:${runtime.home}/${karaf. default .repository}@snapshots@id=karaf- default , file:${runtime.data}/maven/upload@snapshots@id=fabric-upload' default 3. profile-edit --pid io.fabric8.maven/io.fabric8.maven.repositories= '${profile:io.fabric8.agent/org.ops4j.pax.url.mvn.repositories}, http: //fusewin.tpb.lab.eng.brq.redhat.com:8081/nexus/content/repositories/fuse-qe-repo@id=fuse-qe-repo' default 4. profile-create testprofile profile-edit --bundle mvn:org.jboss.fuse.qa.test/useless-artifact/1.0 testprofile container-add-profile root testprofile 5. provisioning will fail with multiException 6. try to get artifact from fabric maven proxy manually wget <rootHost>:8181/maven/download/org/jboss/fuse/qa/test/useless-artifact/1.0/useless-artifact-1.0.jar 7. You can see that FMP (Fabric Maven Proxy) can access remote repository. 8. profile-edit --pid io.fabric8.agent/org.ops4j.pax.url.mvn.repositories=http: //<rootHost>:8181/maven/download@id=fmp --append default 9. profile-refresh testprofile 10. Provision will success and artifact is resolved

      Description

      Fabric maven proxy should be available to fabric agent by default. Looks like it isn't.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sonicaaaa Paolo Antinori
                  Reporter:
                  emil.cervenan Emil Cervenan
                  Tester:
                  Emil Cervenan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: