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

[incubator-kie-issues#1220] Quarkus example to showcase PIM functionality #1979

Merged
merged 2 commits into from
Jul 30, 2024

Conversation

martinweiler
Copy link

Copy link
Contributor

@pefernan pefernan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@martinweiler great example!

Just requested a few changes related to some missing bits of the compact setup, basically using the data-index addon in the app (and remove it from the docker-compose). A part from that everything works as expected

This quickstart provides a docker compose template that starts all the required services. This setup ensures that all services are connected with a default configuration.

- PostgreSQL: 5432
- Data Index: 8180
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@martinweiler shouldn't we be using the compact setup?

PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: 'False'
GUNICORN_ACCESS_LOGFILE: '/dev/null'

data-index:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No needed with compact setup

QUARKUS_DATASOURCE_DB_KIND: postgresql
KOGITO_JOBS_SERVICE_URL: http://${DOCKER_GATEWAY_HOST}:8080
KOGITO_SERVICE_URL: http://${DOCKER_GATEWAY_HOST}:8080
KOGITO_DATAINDEX_HTTP_URL: http://${DOCKER_GATEWAY_HOST}:8180
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
KOGITO_DATAINDEX_HTTP_URL: http://${DOCKER_GATEWAY_HOST}:8180
KOGITO_DATAINDEX_HTTP_URL: http://${DOCKER_GATEWAY_HOST}:8080

@martinweiler
Copy link
Author

@pefernan thanks for your review. I have updated the example now to be aligned with the compact architecture example. Could you please take another look? Thanks!

Copy link

@elguardian elguardian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good work.

@porcelli porcelli merged commit 5904656 into apache:main Jul 30, 2024
4 checks passed
rgdoliveira pushed a commit to rgdoliveira/kogito-examples that referenced this pull request Aug 6, 2024
…lity (apache#1979)

* [incubator-kie-issues#1220] Quarkus example to showcase PIM functionality

* Align example with compact architecture setup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants