Kusuma04-dev opened a new pull request, #3119: URL: https://github.com/apache/incubator-kie-tools/pull/3119
closes https://github.com/apache/incubator-kie-tools/issues/3118 This PR enhances the Apply Accelerator workflow: When an Accelerator is selected from the Apply Accelerator dropdown, a modal window opens. Inside this Accelerator modal, an AuthSession selector dropdown is now available: It comes pre-selected with a compatible AuthSession based on the Accelerator’s repository domain. If no compatible AuthSession is found, users can manually select one from the dropdown. Based on the selected authentication details (username/password), the modal will display validation messages. If no compatible authentication is selected, the Apply button remains disabled to prevent invalid submissions. Accelerator Configuration To add Accelerators, include entries like the following in your defaultEnvJson.ts: ``` { name: "testing", iconUrl: "images/quarkus-logo.png", gitRepositoryUrl: "https://github.com/Kusuma04-dev/Sample", gitRepositoryGitRef: "main", dmnDestinationFolder: "src/main/resources/dmn", bpmnDestinationFolder: "src/main/resources/bpmn", otherFilesDestinationFolder: "src/main/resources/others", }, { name: "sample quarkus", iconUrl: "images/quarkus-logo.png", gitRepositoryUrl: "https://github.com/apache/incubator-kie-sandbox-quarkus-accelerator", gitRepositoryGitRef: "10.0.x", dmnDestinationFolder: "src/main/resources/dmn", bpmnDestinationFolder: "src/main/resources/bpmn", otherFilesDestinationFolder: "src/main/resources/others", }, ``` PFA example of how UI looks: <img width="908" alt="Screenshot 2025-05-06 at 11 20 58 PM" src="https://github.com/user-attachments/assets/74eb21c0-e91f-40c0-a309-1f3d4e1663b3" /> To test with a private repository, generate a personal access token with the necessary permissions for the private repo. Add this token to create an AuthSession, then select it in the modal and validate the authentication. -- 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]
