Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Groovy script JSON paring runs into java.util.ServiceConfigurationError: org.apache.groovy.json.FastStringServiceFactory: org.apache.groovy.json.DefaultFastStringServiceFactory not a subtype #2418

Closed
catshout opened this issue Jun 17, 2021 · 9 comments
Milestone

Comments

@catshout
Copy link

catshout commented Jun 17, 2021

We're using Camel-K 1.4.0 on a GCP k8s service.

The following route

<?xml version="1.0" encoding="UTF-8"?>
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns="http://camel.apache.org/schema/spring"
        xsi:schemaLocation="
        http://camel.apache.org/schema/spring
        http://camel.apache.org/schema/spring/camel-spring.xsd">
   <route>
      <from uri="timer:timer?repeatCount=1"/>
      <setBody>
         <constant>
            {"GTIN":"4001724819004","ProductNo":"GSIN43062860077950","ArticleNo":"430628600779500001","StoreID":"12","PartnerID":"METRO","PriceType":"AKT_B2C","ValidFrom":"28.03.2019","ValidTo":"03.04.2019","Price":"1,70","Currency":"EUR","VAT":"7","BasePrice":"0,53","BasePriceUnit":"g","BasePriceAmount":"100","Active":"1","Updated":"02.07.2020","BaseAmount":"1","ValidPromoPrice":"","PurchasePrice":"1,59"}
         </constant>
      </setBody>
      <to uri="log:info"/>
      <setBody>
         <groovy>
            import groovy.json.JsonSlurper
            import groovy.xml.MarkupBuilder
            def xml = new JsonSlurper().parseText(request.body).with { json ->
            new java.io.StringWriter().with { sw ->
            new groovy.xml.MarkupBuilder(sw).article() {
            gtin(json.GTIN)
            productNumber(json.ProductNo)
            articleNumber(json.ArticleNo)
            storeId(json.StoreID)
            price(json.Price)
            }
            sw.toString().replaceAll(System.lineSeparator(),"")
            }
            }
            response = xml
         </groovy>
      </setBody>
      <to uri="log:info"/>
   </route>
</routes>

started with

kamel run helloGroovy.xml --dev -n camel-k -d mvn:org.codehaus.groovy:groovy-json:3.0.3 -d mvn:org.codehaus.groovy:groovy-xml:3.0.3

runs into an error

org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[0B25F784644BEC2-0000000000000000]
[1]     at org.apache.camel.CamelExecutionException.wrapCamelExecutionException(CamelExecutionException.java:45)
[1]     at org.apache.camel.support.AbstractExchange.setException(AbstractExchange.java:564)
[1]     at org.apache.camel.support.DefaultExchange.setException(DefaultExchange.java:27)
[1]     at org.apache.camel.processor.SetPropertyProcessor.process(SetPropertyProcessor.java:58)
[1]     at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler$SimpleTask.run(RedeliveryErrorHandler.java:439)
[1]     at org.apache.camel.impl.engine.DefaultReactiveExecutor$Worker.schedule(DefaultReactiveExecutor.java:181)
[1]     at org.apache.camel.impl.engine.DefaultReactiveExecutor.scheduleMain(DefaultReactiveExecutor.java:62)
[1]     at org.apache.camel.processor.Pipeline.process(Pipeline.java:167)
[1]     at org.apache.camel.impl.engine.CamelInternalProcessor.process(CamelInternalProcessor.java:388)
[1]     at org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:209)
[1]     at org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:76)
[1]     at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
[1]     at java.base/java.util.TimerThread.run(Timer.java:506)
[1] Caused by: java.util.ServiceConfigurationError: org.apache.groovy.json.FastStringServiceFactory: org.apache.groovy.json.DefaultFastStringServiceFactory not a subtype
[1]     at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:589)
[1]     at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1237)
[1]     at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1265)
[1]     at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1300)
[1]     at java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1385)
[1]     at org.apache.groovy.json.internal.FastStringUtils$ServiceHolder.loadService(FastStringUtils.java:42)
[1]     at org.apache.groovy.json.internal.FastStringUtils$ServiceHolder.<clinit>(FastStringUtils.java:33)
[1]     at org.apache.groovy.json.internal.FastStringUtils.getService(FastStringUtils.java:56)
[1]     at org.apache.groovy.json.internal.FastStringUtils.toCharArray(FastStringUtils.java:67)
[1]     at org.apache.groovy.json.internal.BaseJsonParser.parse(BaseJsonParser.java:112)
[1]     at groovy.json.JsonSlurper.parseText(JsonSlurper.java:202)
[1]     at groovy.json.JsonSlurper$parseText.call(Unknown Source)
[1]     at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
[1]     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
[1]     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:139)
[1]     at Script_65dcaa17bc1b80f6d63382ad593b3d36.run(Script_65dcaa17bc1b80f6d63382ad593b3d36.groovy:22)
[1]     at org.apache.camel.language.groovy.GroovyExpression.evaluate(GroovyExpression.java:52)
[1]     at org.apache.camel.processor.SetPropertyProcessor.process(SetPropertyProcessor.java:47)
[1]     ... 9 more

The same route runs properly with Camel 3.9.0 on Karaf 4.2.9.

@nicolaferraro nicolaferraro added this to the 1.5.0 milestone Jun 17, 2021
@lburgazzoli
Copy link
Contributor

@catshout can you provide the dependencies resolved by camel-k for this integration ? they should be listed in the integration kit associated to the integration

@catshout
Copy link
Author

@lburgazzoli could you please give me a hint how to figure this out?

@lburgazzoli
Copy link
Contributor

So every integration has a reference to an IntegrationKit (there should be a kit or integrationKit field in the integration status).

Then

kubectl get integrationkit ${integrtion-kit-name} -o yaml

@catshout
Copy link
Author

catshout commented Jun 17, 2021

Voilà

apiVersion: camel.apache.org/v1
kind: IntegrationKit
metadata:
  creationTimestamp: "2021-06-17T17:52:10Z"
  generation: 1
  labels:
    camel.apache.org/created.by.kind: Integration
    camel.apache.org/created.by.name: hello-groovy
    camel.apache.org/created.by.namespace: camel-k
    camel.apache.org/created.by.version: "24038360"
    camel.apache.org/kit.type: platform
    camel.apache.org/runtime.provider: quarkus
    camel.apache.org/runtime.version: 1.7.0
  managedFields:
  - apiVersion: camel.apache.org/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:labels:
          .: {}
          f:camel.apache.org/created.by.kind: {}
          f:camel.apache.org/created.by.name: {}
          f:camel.apache.org/created.by.namespace: {}
          f:camel.apache.org/created.by.version: {}
          f:camel.apache.org/kit.type: {}
          f:camel.apache.org/runtime.provider: {}
          f:camel.apache.org/runtime.version: {}
      f:spec:
        .: {}
        f:dependencies: {}
      f:status:
        .: {}
        f:artifacts: {}
        f:baseImage: {}
        f:conditions: {}
        f:digest: {}
        f:image: {}
        f:phase: {}
        f:platform: {}
        f:runtimeProvider: {}
        f:runtimeVersion: {}
        f:version: {}
    manager: kamel
    operation: Update
    time: "2021-06-17T17:53:07Z"
  name: kit-c35onii97unrcov6oak0
  namespace: camel-k
  resourceVersion: "24038776"
  selfLink: /apis/camel.apache.org/v1/namespaces/camel-k/integrationkits/kit-c35onii97unrcov6oak0
  uid: 006268b0-88e8-453e-af28-d11783a6f281
spec:
  dependencies:
  - camel:core
  - camel:groovy
  - camel:log
  - camel:timer
  - mvn:org.apache.camel.k:camel-k-runtime
  - mvn:org.apache.camel.quarkus:camel-quarkus-xml-io-dsl
  - mvn:org.codehaus.groovy:groovy-json:3.0.3
  - mvn:org.codehaus.groovy:groovy-xml:3.0.3
status:
  artifacts:
  - checksum: sha1:U52WMAXgJ9SqYhDFiwoMncfgga8=
    id: camel-k-integration-1.4.0.jar
    target: dependencies/app/camel-k-integration-1.4.0.jar
  - checksum: sha1:MO+/eeSitvTaqztL8EK7h2BT5W4=
    id: io.quarkus.quarkus-bootstrap-runner-1.13.0.Final.jar
    target: dependencies/lib/boot/io.quarkus.quarkus-bootstrap-runner-1.13.0.Final.jar
  - checksum: sha1:yV7OMMdWpmvT5NZPlfAM7gn4K5o=
    id: io.quarkus.quarkus-development-mode-spi-1.13.0.Final.jar
    target: dependencies/lib/boot/io.quarkus.quarkus-development-mode-spi-1.13.0.Final.jar
  - checksum: sha1:dnK6wDHPd+ZGM16izSH5oeR5huk=
    id: io.smallrye.common.smallrye-common-io-1.5.0.jar
    target: dependencies/lib/boot/io.smallrye.common.smallrye-common-io-1.5.0.jar
  - checksum: sha1:VF98Xg4w5c8tJPTv5mHkv97S36I=
    id: org.codehaus.groovy.groovy-3.0.5.jar
    target: dependencies/lib/boot/org.codehaus.groovy.groovy-3.0.5.jar
  - checksum: sha1:DPFv78zI3vzC0ZapkjFVZHpZUnQ=
    id: org.graalvm.sdk.graal-sdk-21.0.0.jar
    target: dependencies/lib/boot/org.graalvm.sdk.graal-sdk-21.0.0.jar
  - checksum: sha1:QP1NaWxVeT6ZbR/zxHWDP4NsJJg=
    id: org.jboss.logging.jboss-logging-3.4.1.Final.jar
    target: dependencies/lib/boot/org.jboss.logging.jboss-logging-3.4.1.Final.jar
  - checksum: sha1:gtymagI1FDKhxWf/P/rm67ekEpM=
    id: org.jboss.logmanager.jboss-logmanager-embedded-1.0.9.jar
    target: dependencies/lib/boot/org.jboss.logmanager.jboss-logmanager-embedded-1.0.9.jar
  - checksum: sha1:1gCynVEwazCynn3mT2/t9hvrGAg=
    id: org.wildfly.common.wildfly-common-1.5.4.Final-format-001.jar
    target: dependencies/lib/boot/org.wildfly.common.wildfly-common-1.5.4.Final-format-001.jar
  - checksum: sha1:u+tCVcwPn95zl9t/g8PYN4UPhUE=
    id: io.quarkus.arc.arc-1.13.0.Final.jar
    target: dependencies/lib/main/io.quarkus.arc.arc-1.13.0.Final.jar
  - checksum: sha1:wHj6u3hEcokaOqqYMp62dg1I7V0=
    id: io.quarkus.quarkus-arc-1.13.0.Final.jar
    target: dependencies/lib/main/io.quarkus.quarkus-arc-1.13.0.Final.jar
  - checksum: sha1:/9NTZNPJ9NIf43gyFE+UNmZtJwg=
    id: io.quarkus.quarkus-core-1.13.0.Final.jar
    target: dependencies/lib/main/io.quarkus.quarkus-core-1.13.0.Final.jar
  - checksum: sha1:WgpryVZtkP+ObRuUhalV+6dEZ4U=
    id: io.smallrye.common.smallrye-common-annotation-1.5.0.jar
    target: dependencies/lib/main/io.smallrye.common.smallrye-common-annotation-1.5.0.jar
  - checksum: sha1:Js9OuM25yc2ZeTf1U1nkqtqeTmk=
    id: io.smallrye.common.smallrye-common-classloader-1.5.0.jar
    target: dependencies/lib/main/io.smallrye.common.smallrye-common-classloader-1.5.0.jar
  - checksum: sha1:8A+nAoLKMDacjmiUqamCEQQN+W4=
    id: io.smallrye.common.smallrye-common-constraint-1.5.0.jar
    target: dependencies/lib/main/io.smallrye.common.smallrye-common-constraint-1.5.0.jar
  - checksum: sha1:erv1bTNRRnvkG5BlzP82oD4u+LM=
    id: io.smallrye.common.smallrye-common-expression-1.5.0.jar
    target: dependencies/lib/main/io.smallrye.common.smallrye-common-expression-1.5.0.jar
  - checksum: sha1:UvTlFykG7ItzRYVl1ebi2ppaHsc=
    id: io.smallrye.common.smallrye-common-function-1.5.0.jar
    target: dependencies/lib/main/io.smallrye.common.smallrye-common-function-1.5.0.jar
  - checksum: sha1:wGYN2deUurSY16xi4TeFFQoh/RE=
    id: io.smallrye.config.smallrye-config-1.11.1.jar
    target: dependencies/lib/main/io.smallrye.config.smallrye-config-1.11.1.jar
  - checksum: sha1:WZ/D2VA1aEVbgghDDQhNTAdQENU=
    id: io.smallrye.config.smallrye-config-common-1.11.1.jar
    target: dependencies/lib/main/io.smallrye.config.smallrye-config-common-1.11.1.jar
  - checksum: sha1:WeuE7g1hYzL/RKugZfOIjPACzS0=
    id: jakarta.annotation.jakarta.annotation-api-1.3.5.jar
    target: dependencies/lib/main/jakarta.annotation.jakarta.annotation-api-1.3.5.jar
  - checksum: sha1:8xGrlLsdQ4BpClPXNyJqa4ed1PE=
    id: jakarta.el.jakarta.el-api-3.0.3.jar
    target: dependencies/lib/main/jakarta.el.jakarta.el-api-3.0.3.jar
  - checksum: sha1:WPSX82LNGcL4hC11xJHScPBgDn8=
    id: jakarta.enterprise.jakarta.enterprise.cdi-api-2.0.2.jar
    target: dependencies/lib/main/jakarta.enterprise.jakarta.enterprise.cdi-api-2.0.2.jar
  - checksum: sha1:kxZENwRuBrSHbgabjnoyGgLxCi0=
    id: jakarta.inject.jakarta.inject-api-1.0.jar
    target: dependencies/lib/main/jakarta.inject.jakarta.inject-api-1.0.jar
  - checksum: sha1:IMveaSxVVpLKg1+27LSoyVrL5uA=
    id: jakarta.interceptor.jakarta.interceptor-api-1.2.5.jar
    target: dependencies/lib/main/jakarta.interceptor.jakarta.interceptor-api-1.2.5.jar
  - checksum: sha1:xBedSHIKHocgIRX77WCJvcQZVAU=
    id: jakarta.transaction.jakarta.transaction-api-1.3.3.jar
    target: dependencies/lib/main/jakarta.transaction.jakarta.transaction-api-1.3.3.jar
  - checksum: sha1:88WpXgMUmQrVNy/8euGEp5AaOV4=
    id: org.apache.camel.camel-api-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-api-3.9.0.jar
  - checksum: sha1:cUXi8ybWXE40JPAU2NL8TD13GBw=
    id: org.apache.camel.camel-base-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-base-3.9.0.jar
  - checksum: sha1:vT7Gl6uhVUA7isiPQMGMMO0HIuU=
    id: org.apache.camel.camel-base-engine-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-base-engine-3.9.0.jar
  - checksum: sha1:Cq6DjBfyHSPGSqetKDG6AuCGKrw=
    id: org.apache.camel.camel-bean-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-bean-3.9.0.jar
  - checksum: sha1:53EGsdH2WzFAGR+g2c/4aQ/vroI=
    id: org.apache.camel.camel-componentdsl-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-componentdsl-3.9.0.jar
  - checksum: sha1:vMTPWpJzNoNIhkqqTLKRduvBV1k=
    id: org.apache.camel.camel-core-catalog-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-core-catalog-3.9.0.jar
  - checksum: sha1:0f6eHjz0fbUD9eio/7b/2A2AvZI=
    id: org.apache.camel.camel-core-engine-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-core-engine-3.9.0.jar
  - checksum: sha1:uXKB1DPDsgm0b2Ke6/56LXL3uDg=
    id: org.apache.camel.camel-core-languages-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-core-languages-3.9.0.jar
  - checksum: sha1:zTF9F3DCUecUi6Tm3iG5z3a3UrA=
    id: org.apache.camel.camel-core-model-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-core-model-3.9.0.jar
  - checksum: sha1:BCwz2NWoE7kcfGvmQdHiE6MiDxs=
    id: org.apache.camel.camel-core-processor-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-core-processor-3.9.0.jar
  - checksum: sha1:L4J/dUb8y95xB06HX4asNnt5F6M=
    id: org.apache.camel.camel-core-reifier-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-core-reifier-3.9.0.jar
  - checksum: sha1:3AAoi7E24qdYGJNZy94xAPLWf+A=
    id: org.apache.camel.camel-endpointdsl-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-endpointdsl-3.9.0.jar
  - checksum: sha1:JkmUjDigGBBfZZX7lAgstKm+7K4=
    id: org.apache.camel.camel-groovy-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-groovy-3.9.0.jar
  - checksum: sha1:+/Rjgpd9Y9AT7yM5ZA1iT7H0eXM=
    id: org.apache.camel.camel-log-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-log-3.9.0.jar
  - checksum: sha1:xcywqVdyDblLNodYTcBljQF/Dgk=
    id: org.apache.camel.camel-main-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-main-3.9.0.jar
  - checksum: sha1:CqS4igs4CnnErBV9GTeul5y+OsU=
    id: org.apache.camel.camel-management-api-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-management-api-3.9.0.jar
  - checksum: sha1:MHl1utyAzuomxyW3w8uqGLuZfZw=
    id: org.apache.camel.camel-microprofile-config-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-microprofile-config-3.9.0.jar
  - checksum: sha1:uloTaNMFdzsLjkjV7eV/EJPJ7yQ=
    id: org.apache.camel.camel-support-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-support-3.9.0.jar
  - checksum: sha1:6DRNATtCwSRbYRApbiwT5JANVGc=
    id: org.apache.camel.camel-timer-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-timer-3.9.0.jar
  - checksum: sha1:sH36Nf575hTqrgZuJD3RGmDmq0A=
    id: org.apache.camel.camel-tooling-model-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-tooling-model-3.9.0.jar
  - checksum: sha1:xNN4cDEZF7wwx3gxzyz1xlgsugU=
    id: org.apache.camel.camel-util-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-util-3.9.0.jar
  - checksum: sha1:UjvY87fw+OXDR9TfPrH3FxMGpo0=
    id: org.apache.camel.camel-util-json-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-util-json-3.9.0.jar
  - checksum: sha1:7RCh/3cFwEVo4pdX7sxtvcKRM2k=
    id: org.apache.camel.camel-xml-io-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-xml-io-3.9.0.jar
  - checksum: sha1:fMEnCgUwHf+NbDer3NRWeDyO76U=
    id: org.apache.camel.camel-xml-io-dsl-3.9.0.jar
    target: dependencies/lib/main/org.apache.camel.camel-xml-io-dsl-3.9.0.jar
  - checksum: sha1:ViJddG8DgwyJ6YVCUS5U7msFci8=
    id: org.apache.camel.k.camel-k-core-1.7.0.jar
    target: dependencies/lib/main/org.apache.camel.k.camel-k-core-1.7.0.jar
  - checksum: sha1:jp4gWc3bySLkq0WiEJks5u48wnc=
    id: org.apache.camel.k.camel-k-core-api-1.7.0.jar
    target: dependencies/lib/main/org.apache.camel.k.camel-k-core-api-1.7.0.jar
  - checksum: sha1:Yu9b9TcRpUKW+GxY/CPVVjcb97M=
    id: org.apache.camel.k.camel-k-core-support-1.7.0.jar
    target: dependencies/lib/main/org.apache.camel.k.camel-k-core-support-1.7.0.jar
  - checksum: sha1:j5GhRHOtVF5s03RF4NgvY9veEYI=
    id: org.apache.camel.k.camel-k-runtime-1.7.0.jar
    target: dependencies/lib/main/org.apache.camel.k.camel-k-runtime-1.7.0.jar
  - checksum: sha1:OTywsp6FA1UQg5fC0bscku3EqKo=
    id: org.apache.camel.quarkus.camel-quarkus-bean-1.8.1.jar
    target: dependencies/lib/main/org.apache.camel.quarkus.camel-quarkus-bean-1.8.1.jar
  - checksum: sha1:bNwcKsamFwuPAuo17ybGV+MlmSI=
    id: org.apache.camel.quarkus.camel-quarkus-core-1.8.1.jar
    target: dependencies/lib/main/org.apache.camel.quarkus.camel-quarkus-core-1.8.1.jar
  - checksum: sha1:CBuX4zrM4qVX5VcSHXjEylkMtG0=
    id: org.apache.camel.quarkus.camel-quarkus-groovy-1.8.1.jar
    target: dependencies/lib/main/org.apache.camel.quarkus.camel-quarkus-groovy-1.8.1.jar
  - checksum: sha1:mWMS3KXAcF180PXawVej5cwMNq0=
    id: org.apache.camel.quarkus.camel-quarkus-log-1.8.1.jar
    target: dependencies/lib/main/org.apache.camel.quarkus.camel-quarkus-log-1.8.1.jar
  - checksum: sha1:bhXgrfAn68e2xnFWe+7VYAUTZzw=
    id: org.apache.camel.quarkus.camel-quarkus-support-common-1.8.1.jar
    target: dependencies/lib/main/org.apache.camel.quarkus.camel-quarkus-support-common-1.8.1.jar
  - checksum: sha1:muit+DW8U2juIWs1BeBQXfWJtGM=
    id: org.apache.camel.quarkus.camel-quarkus-timer-1.8.1.jar
    target: dependencies/lib/main/org.apache.camel.quarkus.camel-quarkus-timer-1.8.1.jar
  - checksum: sha1:O00IveJoKfYcGwqCQtEyEOVNL/g=
    id: org.apache.camel.quarkus.camel-quarkus-xml-io-dsl-1.8.1.jar
    target: dependencies/lib/main/org.apache.camel.quarkus.camel-quarkus-xml-io-dsl-1.8.1.jar
  - checksum: sha1:JZZpI5dFS8h5smcL7oU0e91K+6Q=
    id: org.codehaus.groovy.groovy-json-3.0.3.jar
    target: dependencies/lib/main/org.codehaus.groovy.groovy-json-3.0.3.jar
  - checksum: sha1:6brSUwXrCZ3brgX3Q87NlNeYrUA=
    id: org.codehaus.groovy.groovy-xml-3.0.3.jar
    target: dependencies/lib/main/org.codehaus.groovy.groovy-xml-3.0.3.jar
  - checksum: sha1:MegjkO9U9DBwzcNh4BDO+b6s/2o=
    id: org.eclipse.microprofile.config.microprofile-config-api-1.4.jar
    target: dependencies/lib/main/org.eclipse.microprofile.config.microprofile-config-api-1.4.jar
  - checksum: sha1:t4JeICoJ37nbtLDmW3QjerH8bOw=
    id: org.eclipse.microprofile.context-propagation.microprofile-context-propagation-api-1.0.1.jar
    target: dependencies/lib/main/org.eclipse.microprofile.context-propagation.microprofile-context-propagation-api-1.0.1.jar
  - checksum: sha1:sxWGvxWseh93g4POAb/C+VKlg98=
    id: org.jboss.logging.jboss-logging-annotations-2.2.0.Final.jar
    target: dependencies/lib/main/org.jboss.logging.jboss-logging-annotations-2.2.0.Final.jar
  - checksum: sha1:XxwOP1CCwh9rSWS5f+Wx1fjEL1M=
    id: org.jboss.slf4j.slf4j-jboss-logmanager-1.1.0.Final.jar
    target: dependencies/lib/main/org.jboss.slf4j.slf4j-jboss-logmanager-1.1.0.Final.jar
  - checksum: sha1:q+BmzLSpt3wo2jKT46NCwQlTvec=
    id: org.jboss.threads.jboss-threads-3.2.0.Final.jar
    target: dependencies/lib/main/org.jboss.threads.jboss-threads-3.2.0.Final.jar
  - checksum: sha1:taS20WqxPjSoj66Ew1zV1oyskiw=
    id: org.slf4j.slf4j-api-1.7.30.jar
    target: dependencies/lib/main/org.slf4j.slf4j-api-1.7.30.jar
  - checksum: sha1:kgf87wbvMOgsJ6KAheW0oM3E8Jw=
    id: generated-bytecode.jar
    target: dependencies/quarkus/generated-bytecode.jar
  - checksum: sha1:WAt5xVxvMP7fFGuFfyBQGdJ8IMc=
    id: quarkus-application.dat
    target: dependencies/quarkus/quarkus-application.dat
  - checksum: sha1:P7hfNeEHEp4wvowQJ+ME/nE0guI=
    id: quarkus-app-dependencies.txt
    target: dependencies/quarkus-app-dependencies.txt
  - checksum: sha1:F3SM3scVYvRZEDdvzg4VSNnNhHE=
    id: quarkus-run.jar
    target: dependencies/quarkus-run.jar
  baseImage: adoptopenjdk/openjdk11:slim
  conditions:
  - lastTransitionTime: "2021-06-17T17:52:10Z"
    lastUpdateTime: "2021-06-17T17:52:10Z"
    message: IntegrationPlatform (camel-k)
    reason: IntegrationPlatformAvailable
    status: "True"
    type: IntegrationPlatformAvailable
  digest: vv0yvhZUKFPlBV1dXnrbx-LDN4AOOLKyd68ZBkVgohVs
  image: gcr.io/cas-dev-gke/camel-k-kit-c35onii97unrcov6oak0:24038364
  phase: Ready
  platform: camel-k
  runtimeProvider: quarkus
  runtimeVersion: 1.7.0
  version: 1.4.0

@lburgazzoli
Copy link
Contributor

@catshout the status should contains also an "artifacts" section, something like:

status:
  artifacts:
  - checksum: sha1:E3GkEG6R3dM6cC16WNLuXYatTgc=
    id: camel-k-integration-1.4.0.jar
    target: dependencies/app/camel-k-integration-1.4.0.jar
  - checksum: sha1:MO+/eeSitvTaqztL8EK7h2BT5W4=
    id: io.quarkus.quarkus-bootstrap-runner-1.13.0.Final.jar
    target: dependencies/lib/boot/io.quarkus.quarkus-bootstrap-runner-1.13.0.Final.jar

can you add that too ?

@catshout
Copy link
Author

@lburgazzoli sorry, I missed these parts, have added the full output

@lburgazzoli
Copy link
Contributor

ok, do you mind trying with groovy 3.0.5 ?

-d mvn:org.codehaus.groovy:groovy-json:3.0.5 -d mvn:org.codehaus.groovy:groovy-xml:3.0.5

I got strange result when different versions of groovy where on the classpath.

BTW, I think the issue should have been solved in the latest releases as I'm not able to reproduce it with the latest camel-k-runtime (see as example, https://github.com/lburgazzoli/camel-k-runtime-example-xml).

But we'll add an integration test for this

@catshout
Copy link
Author

@lburgazzoli I've tried with groovy 3.0.5, same result unfortunately. Is this possible to get a newer camel-k on our cluster to test this as well?

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale due to 90 days of inactivity.
It will be closed if no further activity occurs within 15 days.
If you think that’s incorrect or the issue should never stale, please simply write any comment.
Thanks for your contributions!

@oscerd oscerd modified the milestones: 1.9.0, 1.9.1 Apr 26, 2022
@oscerd oscerd modified the milestones: 1.9.1, 1.9.2 May 13, 2022
@oscerd oscerd modified the milestones: 1.9.2, 2.0.0 May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants