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

Integrate distributed transaction counter with Product APIM #13305

Merged
merged 6 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion modules/distribution/product/src/main/conf/deployment.toml
Original file line number Diff line number Diff line change
Expand Up @@ -257,4 +257,20 @@ password = "${admin.password}"
[oauth.grant_type.token_exchange]
enable = true
allow_refresh_tokens = true
iat_validity_period = "1h"
iat_validity_period = "1h"

#[integration.transaction_counter]
#enable = true
#server_id = "Gateway1"
#producer_counting_thread_pool_size = 10
#producer_scheduled_interval = 10
#max_transaction_count_per_record = 20
#min_transaction_count_per_record = 5
#record_queue_size = 1000
#publisher_scheduled_interval = 5
#publisher_max_batch_size = 100
#publisher_max_retries = 3
#store_impl = "org.wso2.integration.transaction.counter.store.TransactionRecordStoreImpl"
#service_url = "https://localhost:8080/transactions/records"
#service_username = "admin"
#service_password = "admin"
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
</handler>
{% endif %}
{% endif %}
{% if integration.transaction_counter is defined %}
{% if integration.transaction_counter.enable %}
<handler name="TransactionCountHandler" class="org.wso2.integration.transaction.counter.TransactionCountHandler"/>
{% endif %}
{% endif %}
{% for key,value in synapse_handlers.items() %}
{% if value.enabled %}
<handler name="{{key}}" class="{{value.class}}"/>
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,8 @@
<carbon.apimgt.ui.version>9.0.494</carbon.apimgt.ui.version>

<!-- APIM Component Version -->
<carbon.apimgt.version>9.28.221</carbon.apimgt.version>

<carbon.apimgt.version>9.29.3</carbon.apimgt.version>

<carbon.apimgt.imp.pkg.version>[9.0.0, 10.0.0)</carbon.apimgt.imp.pkg.version>

Expand Down
Loading