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

[Accelerator 4] Adding consent enforcement and error handling implementation #130

Merged
merged 15 commits into from
Nov 11, 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
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,7 @@
<MaxConnections>2000</MaxConnections>
<MaxConnectionsPerRoute>1500</MaxConnectionsPerRoute>
</HTTPConnectionPool>
<Identity>
<ConsentIDClaimName>consent_id</ConsentIDClaimName>
</Identity>
</Server>
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
<RequestRouter>org.wso2.financial.services.accelerator.gateway.executor.core.DefaultRequestRouter</RequestRouter>
{% endif %}
<FinancialServicesGatewayExecutors>
{% for type in financial_services.gateway.openbanking_gateway_executors.type %}
<{{type.name}}>
{% for executor in type.executors %}
{% for executors in financial_services.gateway.executors %}
<{{executors.type}}>
{% for executor in executors.executor %}
<Executor class="{{executor.name}}" priority="{{executor.priority}}"/>
{% endfor %}
</{{type.name}}>
</{{executors.type}}>
{% endfor %}
</FinancialServicesGatewayExecutors>
{% if financial_services.gateway.consent.validation.endpoint is defined %}
Expand Down Expand Up @@ -62,4 +62,11 @@
<MaxConnectionsPerRoute>{{financial_services.http_connection_pool.max_connections_per_route}}</MaxConnectionsPerRoute>
{% endif %}
</HTTPConnectionPool>
<Identity>
{% if financial_services.identity.consent_id_claim_name is defined %}
<ConsentIDClaimName>{{financial_services.identity.consent_id_claim_name}}</ConsentIDClaimName>
{% else %}
<ConsentIDClaimName>consent_id</ConsentIDClaimName>
{% endif %}
</Identity>
</Server>
5 changes: 1 addition & 4 deletions financial-services-accelerator/accelerators/fs-apim/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,11 @@
<configuration>
<filesets>
<fileset>
<directory>${project.basedir}/carbon-home/repository/components/lib</directory>
<directory>${project.basedir}/carbon-home/repository/components/dropins</directory>
<excludes>
<exclude>**/jjwt-0.9.1.jar</exclude>
</excludes>
</fileset>
<fileset>
<directory>${project.basedir}/carbon-home/repository/components/dropins</directory>
</fileset>
<fileset>
<directory>${project.basedir}/carbon-home/repository/deployment/server/webapps</directory>
</fileset>
Expand Down
Loading
Loading