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

[Fabric] feature insight-camel auto added into profile and cause errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • None
    • jboss-fuse-6.3
    • Fabric8 v1
    • None
    • % %
    • Hide

      Invoke the following mbean *http://localhost:8181/hawtio/proxy/http://127.0.0.1:8181/jolokia/exec/io.fabric8:type=ProjectDeployer/deployProjectJson(java.lang.String)* with the following JSON:

      {
        "profileId" : "com.dsoa.eai-usage_data_lms2ftp",
        "abstractProfile" : false,
        "parentProfiles" : [ "feature-camel" ],
        "features" : [ "camel-http4", "cxf", "camel-amq", "camel-quartz", "camel-cxf", "jsr-311", "jdbc", "camel-josql", "camel-ftp", "camel-jetty", "spring-jdbc", "camel-sql", "camel-jdbc" ],
        "minimumInstances" : 1,
        "rootDependency" : {
          "groupId" : "com.dsoa.eai",
          "artifactId" : "usage_data_lms2ftp",
          "version" : "1.0.0-SNAPSHOT",
          "type" : "bundle",
          "optional" : false,
          "children" : [ {
            "groupId" : "com.dsoa.eai",
            "artifactId" : "applications_utils",
            "version" : "1.0.0-SNAPSHOT",
            "type" : "bundle",
            "scope" : "compile",
            "optional" : false
          }, {
            "groupId" : "org.json",
            "artifactId" : "json",
            "version" : "20180813",
            "type" : "bundle",
            "scope" : "compile",
            "optional" : false
          }, {
            "groupId" : "org.slf4j",
            "artifactId" : "slf4j-api",
            "version" : "1.7.7.redhat-2",
            "type" : "bundle",
            "scope" : "compile",
            "optional" : false
          }, {
            "groupId" : "org.slf4j",
            "artifactId" : "slf4j-log4j12",
            "version" : "1.7.7.redhat-2",
            "type" : "bundle",
            "scope" : "compile",
            "optional" : false
          }, {
            "groupId" : "log4j",
            "artifactId" : "log4j",
            "version" : "1.2.17.redhat-1",
            "type" : "bundle",
            "scope" : "compile",
            "optional" : false
          }, {
            "groupId" : "org.codehaus.jackson",
            "artifactId" : "jackson-mapper-asl",
            "version" : "1.9.13",
            "type" : "bundle",
            "scope" : "compile",
            "optional" : false,
            "children" : [ {
              "groupId" : "org.codehaus.jackson",
              "artifactId" : "jackson-core-asl",
              "version" : "1.9.13.jdk17-redhat-00001",
              "type" : "bundle",
              "scope" : "compile",
              "optional" : false
            } ]
          } ]
        },
        "webContextPath" : "usage_data_lms2ftp",
        "useResolver" : true
      }
      
      Show
      Invoke the following mbean * http://localhost:8181/hawtio/proxy/http://127.0.0.1:8181/jolokia/exec/io.fabric8:type=ProjectDeployer/deployProjectJson(java.lang.String)* with the following JSON: { "profileId" : "com.dsoa.eai-usage_data_lms2ftp" , "abstractProfile" : false , "parentProfiles" : [ "feature-camel" ], "features" : [ "camel-http4" , "cxf" , "camel-amq" , "camel-quartz" , "camel-cxf" , "jsr-311" , "jdbc" , "camel-josql" , "camel-ftp" , "camel-jetty" , "spring-jdbc" , "camel-sql" , "camel-jdbc" ], "minimumInstances" : 1, "rootDependency" : { "groupId" : "com.dsoa.eai" , "artifactId" : "usage_data_lms2ftp" , "version" : "1.0.0-SNAPSHOT" , "type" : "bundle" , "optional" : false , "children" : [ { "groupId" : "com.dsoa.eai" , "artifactId" : "applications_utils" , "version" : "1.0.0-SNAPSHOT" , "type" : "bundle" , "scope" : "compile" , "optional" : false }, { "groupId" : "org.json" , "artifactId" : "json" , "version" : "20180813" , "type" : "bundle" , "scope" : "compile" , "optional" : false }, { "groupId" : "org.slf4j" , "artifactId" : "slf4j-api" , "version" : "1.7.7.redhat-2" , "type" : "bundle" , "scope" : "compile" , "optional" : false }, { "groupId" : "org.slf4j" , "artifactId" : "slf4j-log4j12" , "version" : "1.7.7.redhat-2" , "type" : "bundle" , "scope" : "compile" , "optional" : false }, { "groupId" : "log4j" , "artifactId" : "log4j" , "version" : "1.2.17.redhat-1" , "type" : "bundle" , "scope" : "compile" , "optional" : false }, { "groupId" : "org.codehaus.jackson" , "artifactId" : "jackson-mapper-asl" , "version" : "1.9.13" , "type" : "bundle" , "scope" : "compile" , "optional" : false , "children" : [ { "groupId" : "org.codehaus.jackson" , "artifactId" : "jackson-core-asl" , "version" : "1.9.13.jdk17-redhat-00001" , "type" : "bundle" , "scope" : "compile" , "optional" : false } ] } ] }, "webContextPath" : "usage_data_lms2ftp" , "useResolver" : true }

    Description

      The feature insight-camel is auto added to the agent profile even if it's not part of the features list:

          <fabric8.parentProfiles>feature-camel</fabric8.parentProfiles>
          <fabric8.features>camel-http4 cxf camel-amq camel-quartz camel-cxf jsr-311 jdbc camel-josql
            camel-ftp camel-jetty spring-jdbc camel-sql camel-jdbc</fabric8.features>
      

      Attachments

        Activity

          People

            ggrzybek Grzegorz Grzybek
            rhn-support-aboucham Abel Bouchama
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: