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] Updating configuration and accelerators to support APIM 4.4 and IS 7.0 #129

Merged
merged 7 commits into from
Oct 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
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,6 @@ create_mysql_databases() {
mysql -u${DB_USER} ${DB_MYSQL_PASS} -h${DB_HOST} -e "DROP DATABASE IF EXISTS ${DB_GOV}; CREATE DATABASE ${DB_GOV};
ALTER DATABASE ${DB_GOV} CHARACTER SET latin1 COLLATE latin1_swedish_ci";
echo "Database Created: ${DB_GOV}"
mysql -u${DB_USER} ${DB_MYSQL_PASS} -h${DB_HOST} -e "DROP DATABASE IF EXISTS ${DB_USER_STORE}; CREATE DATABASE ${DB_USER_STORE};
ALTER DATABASE ${DB_USER_STORE} CHARACTER SET latin1 COLLATE latin1_swedish_ci";
echo "Database Created: ${DB_USER_STORE}"
};

create_mysql_database_tables() {
Expand All @@ -129,8 +126,6 @@ create_mysql_database_tables() {
echo "Database tables Created for: ${DB_AM_CONFIG}"
mysql -u${DB_USER} ${DB_MYSQL_PASS} -D${DB_GOV} -h${DB_HOST} -e "SOURCE ${WSO2_APIM_HOME}/dbscripts/mysql.sql";
echo "Database tables Created for: ${DB_GOV}"
mysql -u${DB_USER} ${DB_MYSQL_PASS} -D${DB_USER_STORE} -h${DB_HOST} -e "SOURCE ${WSO2_APIM_HOME}/dbscripts/mysql.sql";
echo "Database tables Created for: ${DB_USER_STORE}"
};

add_json_fault_sequence() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@
-->

<Server xmlns="http://wso2.org/projects/carbon/financial-services.xml">
<Common>
<Cache>
<CacheAccessExpiry>60</CacheAccessExpiry>
<CacheModifiedExpiry>60</CacheModifiedExpiry>
</Cache>
</Common>
<Gateway>
<RequestRouter>org.wso2.financial.services.accelerator.gateway.executor.core.DefaultRequestRouter</RequestRouter>
<FinancialServicesGatewayExecutors>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,6 @@
-->

<Server xmlns="http://wso2.org/projects/carbon/financial-services.xml">
<Common>
<Cache>
{% if financial_services.common.cache.cache_access_expiry_minutes is defined %}
<CacheAccessExpiry>{{financial_services.common.cache.cache_access_expiry_minutes}}</CacheAccessExpiry>
{% else %}
<CacheAccessExpiry>60</CacheAccessExpiry>
{% endif %}
{% if financial_services.common.cache.cache_modified_expiry_minutes is defined %}
<CacheModifiedExpiry>{{financial_services.common.cache.cache_modified_expiry_minutes}}</CacheModifiedExpiry>
{% else %}
<CacheModifiedExpiry>60</CacheModifiedExpiry>
{% endif %}
</Cache>
</Common>
<Gateway>
{% if financial_services.gateway.request_router is defined %}
<RequestRouter>{{financial_services.gateway.request_router}}</RequestRouter>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ BI_HOSTNAME=localhost

# Specify the deployment.toml file containing the required configurations based on the APIM version being used
# As an example if APIM 4.3.0 version is used change the file name to wso2am-4.3.0-deployment.toml in the same file path
PRODUCT_CONF_PATH=repository/resources/wso2am-4.3.0-deployment.toml
PRODUCT_CONF_PATH=repository/resources/wso2am-4.4.0-deployment.toml

# Configure databases related properties
DB_TYPE=mysql
Expand All @@ -34,6 +34,5 @@ DB_APIMGT=fs_apimgtdb
DB_USER_STORE=fs_userdb
DB_AM_CONFIG=fs_am_configdb
DB_GOV=fs_govdb
DB_IS_CONFIG=fs_iskm_configdb
DB_FS_STORE=fs_consentdb

Loading
Loading