You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2019/10/17 11:13:44 UTC

[GitHub] [camel-quarkus] basis42 opened a new issue #281: Missing versions/dependancies in rest json example

basis42 opened a new issue #281: Missing versions/dependancies in rest json example
URL: https://github.com/apache/camel-quarkus/issues/281
 
 
   Hi all,
   
   as a total newbee to quarkus I'm trying to follow the route described here: 
   https://camel.apache.org/camel-quarkus/latest/user-guide.html
   
   Unfortunately, I'm running into problems at a relatively early stage. When I change the parent in the pom of the rest json example(as proposed in the above documentation) to:
   ```
   <parent>
           <groupId>org.apache.camel.quarkus</groupId>
           <artifactId>camel-quarkus-bom</artifactId>
           <version>0.2.0</version>
   </parent>
   ```
   
   the below dependancies can't be resolved:
   ```
           <dependency>
               <groupId>org.apache.camel.quarkus</groupId>
               <artifactId>camel-quarkus-platform-http</artifactId>
           </dependency>
           <dependency>
               <groupId>org.apache.camel</groupId>
               <artifactId>camel-jackson</artifactId>
           </dependency>
   ```
   Looking into the bom artifact for version 0.2.0 both versions are missing, in fact they came in later ... I also tried to leave the version for the bom artifact untouched(0.2.1-SNAPSHOT) and compile/install a clean checkout of the latest master branch. Unfortunately I get 2 failing tests:
   
   ```
   java.lang.AssertionError: 
   1 expectation failed.
   Expected status code <200> but was <404>.
   	at org.acme.rest.json.RestJsonTest.fruits(RestJsonTest.java:39)
   [ERROR] legumes  Time elapsed: 0.013 s  <<< FAILURE!
   legumes  Time elapsed: 0.013 s  <<< FAILURE!
   
   java.lang.AssertionError: 
   1 expectation failed.
   Expected status code <200> but was <404>.
   	at org.acme.rest.json.RestJsonTest.legumes(RestJsonTest.java:66)
   2019-10-17 13:05:09,471 INFO  [io.quarkus] (main) Quarkus stopped in 0.041s
   
   ```
   Any hints how I get the example working?
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services