Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-3163

Testing using org.fusesource.ide.camel.model.service.core.tests.integration.core.io.FuseProject.FuseProject fails to add spring dependency

    XMLWordPrintable

Details

    • Hide

      Create a FuseProject with something like:

      public FuseProject fuseProject = new FuseProject(Wsdl2RestWizardIT.class.getName());
      

      Then look for the dependencies of that project via:

      		CamelMavenUtils cmu = new CamelMavenUtils();
      		List<Dependency> projectDependencies = cmu.getDependencyList(project);
      

      Or look at the pom.xml for the FuseProject itself.

      Show
      Create a FuseProject with something like: public FuseProject fuseProject = new FuseProject(Wsdl2RestWizardIT. class. getName()); Then look for the dependencies of that project via: CamelMavenUtils cmu = new CamelMavenUtils(); List<Dependency> projectDependencies = cmu.getDependencyList(project); Or look at the pom.xml for the FuseProject itself.

    Description

      While testing some new work with wsdl2rest, I discovered that the default Spring POM (see here https://github.com/jbosstools/jbosstools-fuse/blob/59d1f06711e022844ec2cb8675263550c2a0272e/core/tests/org.fusesource.ide.camel.model.service.core.tests.integration/src/main/java/org/fusesource/ide/camel/model/service/core/tests/integration/core/io/FuseProject.java#L44 and here https://github.com/jbosstools/jbosstools-fuse/blob/master/core/tests/org.fusesource.ide.camel.model.service.core.tests.integration/src/main/resources/dummySpringPom.xml) does not actually include the camel-spring dependency, whereas the blueprint one (see here https://github.com/jbosstools/jbosstools-fuse/blob/master/core/tests/org.fusesource.ide.camel.model.service.core.tests.integration/src/main/resources/dummyBlueprintPom.xml) does include camel-blueprint.

      Is the camel-spring dependency required for spring projects? It appears in all spring-based templates it seems, so I would think that this dependency is necessary for testing as well.

      I am looking specifically for the camel-blueprint and camel-spring dependencies in projects to determine which DSL (spring or blueprint) to use for the generated Camel configuration from wsdl2rest.

      Attachments

        Activity

          People

            bfitzpat_rh Brian Fitzpatrick (Inactive)
            bfitzpat_rh Brian Fitzpatrick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: