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

Implement infinispan TCPPING discovery protocol #159

Merged

Conversation

hwo-wd
Copy link
Collaborator

@hwo-wd hwo-wd commented Jan 22, 2024

  • changes port of TCPPING to 7800/tcp (was: 7600/tcp, based on JDBCPING which was default in keycloak role)
  • adds kc.sh build invocation in order to minimize startup time; moreover, I had issues with getting TCPPING config to work since keycloak, upon a regular invocation of kc.sh start creates it's own internal cache which is kept until a build is re-run; this newly added handler will save us some headaches in future
  • adds kc.sh start --optimized in case --start-dev is not executed, thus re-using the aforementioned pre-built configuration

Fix #158

@hwo-wd hwo-wd changed the title #158: Feature/inifinispan ha #158: Feature/inifinispan TCPPING Jan 22, 2024
@hwo-wd
Copy link
Collaborator Author

hwo-wd commented Feb 5, 2024

@guidograzioli anything you want to change on this one, or the two other PRs? -- thanks.

@guidograzioli
Copy link
Member

@guidograzioli anything you want to change on this one, or the two other PRs? -- thanks.

No prob with the changes, I just hadn't time to review yet sorry

- name: "Rebuild {{ keycloak.service_name }} config"
ansible.builtin.shell: |
{{ keycloak.home }}/bin/kc.sh build
become: true
Copy link
Member

Choose a reason for hiding this comment

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

Because this is imported from the handler, and notified when that change is required, I'd changed_when: True this one. wdyt?

@guidograzioli guidograzioli added minor_changes New parameters added to modules, or non-breaking behavior changes to existing parameters; no bugfix major_changes Major changes mean the user can CHOOSE to make a change when they update but do not have to and removed minor_changes New parameters added to modules, or non-breaking behavior changes to existing parameters; no bugfix labels Feb 8, 2024
Copy link
Member

@guidograzioli guidograzioli left a comment

Choose a reason for hiding this comment

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

LGTM thanks

@guidograzioli guidograzioli merged commit d6c29ed into ansible-middleware:main Feb 8, 2024
16 checks passed
@guidograzioli guidograzioli changed the title #158: Feature/inifinispan TCPPING Implement infinispan TCPPING discovery protocol Feb 8, 2024
@hwo-wd hwo-wd deleted the feature/inifinispan_ha branch April 16, 2024 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
major_changes Major changes mean the user can CHOOSE to make a change when they update but do not have to
Projects
None yet
Development

Successfully merging this pull request may close these issues.

keycloak_quarkus: support for TCPPING
2 participants