LuboTerifaj opened a new issue, #1969:
URL: https://github.com/apache/incubator-kie-kogito-examples/issues/1969

   ### Description
   
   Update 
[serverless-workflow-annotations-description](https://github.com/apache/incubator-kie-kogito-examples/tree/stable/serverless-workflow-examples/serverless-workflow-annotations-description)
 example.
   
   #### Issues
   - Wrong URL: [CNCF Serverless Workflow 
specification](https://github.com/cncf/wg-serverless/tree/main/workflow/spec)
   - Change "Cogito" to something different in workflow files as well as in 
readme file
   - Local dev mode is not ending up with error:
   ```
   ERROR [io.qua.dep.dev.IsolatedDevModeMain] (main) Failed to start quarkus: 
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: 
Build failed due to errors
           [error]: Build step 
org.kie.kogito.quarkus.serverless.workflow.deployment.ServerlessWorkflowDevServicesProcessor#startDataIndexDevService
 threw an exception: java.lang.RuntimeException: Failed to start Kogito Data 
Index Dev Services
           at 
org.kie.kogito.quarkus.workflow.deployment.AbstractDevServicesProcessor.startDataIndexDevService(AbstractDevServicesProcessor.java:129)
           at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
           at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.base/java.lang.reflect.Method.invoke(Method.java:568)
           at 
io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:849)
           at io.quarkus.builder.BuildContext.run(BuildContext.java:256)
           at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
           at 
org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
           at 
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
           at java.base/java.lang.Thread.run(Thread.java:840)
           at org.jboss.threads.JBossThread.run(JBossThread.java:501)
   Caused by: java.lang.RuntimeException: 
org.testcontainers.containers.ContainerFetchException: Can't get Docker image: 
RemoteDockerImage(imageName=docker.io/apache/incubator-kie-kogito-data-index-ephemeral:main,
 imagePullPolicy=DefaultPullPolicy(), 
imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$LogWrappedImageNameSubstitutor@7aeac021)
           at 
org.kie.kogito.quarkus.workflow.deployment.AbstractDevServicesProcessor.lambda$startDataIndex$2(AbstractDevServicesProcessor.java:203)
           at java.base/java.util.Optional.orElseGet(Optional.java:364)
           at 
org.kie.kogito.quarkus.workflow.deployment.AbstractDevServicesProcessor.startDataIndex(AbstractDevServicesProcessor.java:208)
           at 
org.kie.kogito.quarkus.workflow.deployment.AbstractDevServicesProcessor.startDataIndexDevService(AbstractDevServicesProcessor.java:119)
           ... 11 more
   Caused by: org.testcontainers.containers.ContainerFetchException: Can't get 
Docker image: 
RemoteDockerImage(imageName=docker.io/apache/incubator-kie-kogito-data-index-ephemeral:main,
 imagePullPolicy=DefaultPullPolicy(), 
imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$LogWrappedImageNameSubstitutor@7aeac021)
           at 
org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1364)
           at 
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:359)
           at 
org.testcontainers.containers.GenericContainer.start(GenericContainer.java:330)
           at 
org.kie.kogito.quarkus.workflow.deployment.AbstractDevServicesProcessor.lambda$startDataIndex$2(AbstractDevServicesProcessor.java:199)
           ... 14 more
   Caused by: com.github.dockerjava.api.exception.NotFoundException: Status 
404: {"message":"manifest for 
apache/incubator-kie-kogito-data-index-ephemeral:main not found: manifest 
unknown: manifest unknown"}
   
           at 
org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.execute(DefaultInvocationBuilder.java:241)
           at 
org.testcontainers.shaded.com.github.dockerjava.core.DefaultInvocationBuilder.lambda$executeAndStream$1(DefaultInvocationBuilder.java:269)
           at java.base/java.lang.Thread.run(Thread.java:840)
   
           at 
io.quarkus.runner.bootstrap.AugmentActionImpl.runAugment(AugmentActionImpl.java:334)
           at 
io.quarkus.runner.bootstrap.AugmentActionImpl.createInitialRuntimeApplication(AugmentActionImpl.java:251)
           at 
io.quarkus.runner.bootstrap.AugmentActionImpl.createInitialRuntimeApplication(AugmentActionImpl.java:60)
           at 
io.quarkus.deployment.dev.IsolatedDevModeMain.firstStart(IsolatedDevModeMain.java:112)
           at 
io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:433)
           at 
io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:55)
           at 
io.quarkus.bootstrap.app.CuratedApplication.runInCl(CuratedApplication.java:138)
           at 
io.quarkus.bootstrap.app.CuratedApplication.runInAugmentClassLoader(CuratedApplication.java:93)
           at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:131)
           at io.quarkus.deployment.dev.DevModeMain.main(DevModeMain.java:62)
   
   ```
   
   ### Acceptance criteria
   All issues mentioned above are fixed.
   
   
   ### Implementation ideas
   
   _No response_


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to