Skip to content

Commit

Permalink
Merge pull request #191 from guidograzioli/190_integer_refresh_interval
Browse files Browse the repository at this point in the history
Force `activemq_configuration_file_refresh_period` integer type in handler
  • Loading branch information
guidograzioli authored Oct 14, 2024
2 parents 3acd718 + a46863b commit c8cf520
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 13 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/traffic.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: Collect traffic stats
on:
schedule:
schedule:
- cron: "51 23 * * 0"
workflow_dispatch:
workflow_dispatch:

jobs:
traffic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: "gh-pages"
- name: GitHub traffic

- name: GitHub traffic
uses: sangonzal/repository-traffic-action@v.0.1.6
env:
TRAFFIC_ACTION_TOKEN: ${{ secrets.TRIGGERING_PAT }}
TRAFFIC_ACTION_TOKEN: ${{ secrets.TRIGGERING_PAT }}

- name: Commit changes
uses: EndBug/add-and-commit@v4
with:
Expand Down
6 changes: 3 additions & 3 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
========================================
middleware\_automation.amq Release Notes
========================================
=============
Release Notes
=============

.. contents:: Topics

Expand Down
4 changes: 2 additions & 2 deletions docs/_gh_include/footer.inc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>
<hr/>
<div role="contentinfo">
<p>&#169; Copyright 2023, Red Hat, Inc.</p>
<p>&#169; Copyright 2024, Red Hat, Inc.</p>
</div>
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
Expand All @@ -18,4 +18,4 @@
</section>
</div>
</body>
</html>
</html>
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ Welcome to AMQ Collection documentation
Infinispan / Red Hat Data Grid <https://ansible-middleware.github.io/infinispan/>
Tomcat / Red Hat JWS <https://ansible-middleware.github.io/jws/>
Kafka / Red Hat AMQ Streams <https://ansible-middleware.github.io/amq_streams/>
Ansible Middleware utilities <https://ansible-middleware.github.io/common/main/>
JCliff <https://ansible-middleware.github.io/ansible_collections_jcliff/>
2 changes: 1 addition & 1 deletion roles/activemq/handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

- name: "Restart handler"
ansible.builtin.include_tasks: restart.yml
when: activemq_configuration_file_refresh_period < 1
when: activemq_configuration_file_refresh_period | int < 1
listen: "restart amq_broker with no config refresh"

- name: "Restart handler"
Expand Down

0 comments on commit c8cf520

Please sign in to comment.