thiagoelg commented on issue #2357:
URL: 
https://github.com/apache/incubator-kie-issues/issues/2357#issuecomment-4858658258

   As I said, the `Moving not supported` error can be ignored; it's not the 
reason why applying the Accelerator is failing or not properly moving the files.
   
   I've tested with the 10.2.0 release, and this is what I found:
   
   - The 10.2.0 KIE Sandbox image is not pointing to the correct Accelerator 
git repo URL.
   - The published 10.2.0 Dev Deployment Base image is misconfigured with a 
non-existent settings.xml file.
   - The kie-sandbox-distribution docker-compose.yaml is missing some env vars 
for the CORS Proxy service.
   
   None of these issues are related to the WSSFS_MOVE event handler or any code 
from the Accelerators hooks, but they **break** the process of applying 
Accelerators and creating Dev Deployments **(on 10.2.0!)**.
   
   I'll create issues for them soon. Hopefully, we can document these issues on 
the Apache KIE website somewhere (cc @kbowers-ibm) and fix them in the next 
release.
   
   ----
   
   I was able to apply the Accelerator and create a Dev Deployment (using the 
`Custom Image` option) with this `docker-compose.yaml`:
   ```yaml
   version: "3.8"
   services:
     kie_sandbox:
       container_name: kie_sandbox
       image: "docker.io/apache/incubator-kie-sandbox-webapp:10.2.0"
       ports:
         - 9090:8080
       environment:
         KIE_SANDBOX_EXTENDED_SERVICES_URL: "http://localhost:21345";
         KIE_SANDBOX_CORS_PROXY_URL: "http://localhost:7081";
         KIE_SANDBOX_ACCELERATORS: 
'[{"name":"Quarkus","iconUrl":"images/quarkus-logo.png","gitRepositoryUrl":"https://github.com/apache/incubator-kie-sandbox-quarkus-accelerator.git","gitRepositoryGitRef":"10.2.x","dmnDestinationFolder":"src/main/resources/dmn","bpmnDestinationFolder":"src/main/resources/bpmn","otherFilesDestinationFolder":"src/main/resources/others"}]'
       depends_on:
         - extended_services_java
         - cors_proxy
   
     extended_services_java:
       container_name: extended_services_java
       image: "docker.io/apache/incubator-kie-sandbox-extended-services:10.2.0"
       ports:
         - 21345:21345
   
     cors_proxy:
       container_name: cors_proxy
       image: "docker.io/apache/incubator-kie-cors-proxy:10.2.0"
       ports:
         - 7081:8080
       environment:
         CORS_PROXY_ALLOWED_ORIGINS: "http://localhost:9090";
         CORS_PROXY_ALLOWED_HOSTS: "*"
   ```
   
   And using this configuration for the Dev Deployment:
   
   <img width="1159" height="833" alt="Image" 
src="https://github.com/user-attachments/assets/40d948a1-4685-4b23-8c07-931917a5c7d0";
 />
   
   I only changed the Command parameter to:
   ```
   ./mvnw quarkus:dev -s /usr/share/maven/conf/settings.xml 
-Dquarkus.http.host=0.0.0.0
   ```
   
   ---
   
   **Another observation:** Applying an Accelerator will transform your current 
workspace into a full Java project, so using the `Quarkus Blank App` Dev 
Deployment option becomes unsupported. That's why I used the Custom Image in my 
tests.
   
   If you want to use the `Quarkus Blank App` Dev Deployment option, don't 
apply an Accelerator to your workspace.
   


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