kogito-quarkus-examples/trusty-demonstration/docker-compose example Not Working
Opened this issue · 6 comments
Describe the bug
After building the image using Maven and performing all the steps stated within the example including running docker-compose with the updated image swagger UI is not started and accessible nor can TrustyAI access any of the audits.
Expected behavior
As stated within the README.md file of the example, after running Swagger UI is supposed to be up and running and accessible at http://localhost:8080/swagger-ui. Also, the Trusty AI service is supposed to catch the calls to the API (as far as my understanding goes) in order to review the previous audits.
Actual behavior
The Swagger UI is not running and when accessing http://localhost:8080/swagger-ui the "No webpage was found for the web address: http://localhost:8080/swagger-ui" is thrown. Also, after making a couple calls to the API through curl, there are no audits showing up within Trusty UI "Cannot load data Try refreshing the page after a few minutes. If the problem persists, contact Customer Support.". Also within the logs of docker-compose, an error seems to be thrown for grafana, but the data is still loaded into the dashboards, so that is a minor issue
How to Reproduce?
The bug can be reproduced by just following the example steps from the README.md file step by step.
Output of uname -a
or ver
Linux 6.2.0-39-generic #40~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 16 10:53:04 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Output of java -version
openjdk version "17.0.9" 2023-10-17 OpenJDK Runtime Environment (build 17.0.9+9-Ubuntu-122.04) OpenJDK 64-Bit Server VM (build 17.0.9+9-Ubuntu-122.04, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Kogito version or git rev (or at least Quarkus version if you are using Kogito via Quarkus platform BOM)
No response
Build tool (ie. output of mvnw --version
or gradlew --version
)
Apache Maven 3.9.6
Additional information
No response
@gitgabrio can you take a look?
@Sule57 I'm not 100% sure if the community still supports this use case.
@gitgabrio can you take a look?
@Sule57 I'm not 100% sure if the community still supports this use case.
I found a solution to one of the issues stated here, I managed to get TrustyAI to run properly, I would open a PR, but this example is not in the main branch, and the documentation states that I should only make PR's to the main branch. (Still unknown how to get Swagger to run, but this way, when a curl request is made, at least you can analyze it in TrustyAI).
@Sule57 if you managed to update this example and make it work with the latest snapshots, feel free to send a PR to reinclude this example. We removed 'cause it was a very old example and we didn't have anyone to update/maintain it.
@Sule57 we recently dropped this example from our main repository since I believe we might not support TrustyAI anymore. @porcelli @krisv mind sharing more info here?
@ricardozanini AFAIK, we are thinking to keep the TrustyAI for future development, since there is lot of interesting stuff inside. We simply could not start that right now.
@gitgabrio sure thing, I think it was a coincidence this coming up now once we removed the example :)