From c145f77baf372a4aa3c3c3ff655b4f6e986ffd55 Mon Sep 17 00:00:00 2001 From: himeshsiriwardana Date: Wed, 12 Jun 2024 16:54:14 +0530 Subject: [PATCH 1/2] Removed Change the Default Datasource for BPS docs --- .../change-datasource-bpsds.md | 114 ------------------ en/identity-server/7.0.0/mkdocs.yml | 7 +- .../change-datasource-bpsds.md | 114 ------------------ en/identity-server/next/mkdocs.yml | 2 - 4 files changed, 3 insertions(+), 234 deletions(-) delete mode 100644 en/identity-server/7.0.0/docs/deploy/configure/databases/carbon-database/change-datasource-bpsds.md delete mode 100644 en/identity-server/next/docs/deploy/configure/databases/carbon-database/change-datasource-bpsds.md diff --git a/en/identity-server/7.0.0/docs/deploy/configure/databases/carbon-database/change-datasource-bpsds.md b/en/identity-server/7.0.0/docs/deploy/configure/databases/carbon-database/change-datasource-bpsds.md deleted file mode 100644 index b4f05c586e..0000000000 --- a/en/identity-server/7.0.0/docs/deploy/configure/databases/carbon-database/change-datasource-bpsds.md +++ /dev/null @@ -1,114 +0,0 @@ -# Change the Default Datasource for BPS - -This document guides you to change the underlying databases that are -used in business process service(BPS) components. - -By default WSO2 Identity Server uses the Embedded H2 database as the BPS -datasource. However, you can change this to any database type that is -supported by WSO2 Identity Server. - -Following are the sample configuration for each database type. - -??? example "PostgreSQL" - - 1. Configure the `/repository/conf/deployment.toml` file. - - ``` - [bps_database.config] - url = "jdbc:postgresql://localhost:5432/gregdb" - username = "regadmin" - password = "regadmin" - driver = "org.postgresql.Driver" - - [bps_database.config.pool_options] - defaultAutoCommit=true - commitOnReturn=true - ``` - - 2. Execute the database scripts. - - Execute the scripts in the `/dbscripts/bps/bpel/create/postgresql.sql` file against the created database. - -??? example "MySQL" - - 1. Configure the `/repository/conf/deployment.toml` file. - - ``` - [bps_database.config] - url = "jdbc:mysql://localhost:3306/IAMtest?useSSL=false" - username = "root" - password = "root" - driver = "com.mysql.jdbc.Driver" - ``` - - 2. Execute the database scripts. - - Execute the scripts in the `/dbscripts/bps/bpel/create/mysql.sql` file against the created database. - - -??? example "DB2" - - 1. Configure the `/repository/conf/deployment.toml` file. - - ``` - [bps_database.config] - url = "jdbc:db2://192.168.108.31:50000/test" - username = "db2inst1" - password = "db2inst1" - driver = "com.ibm.db2.jcc.DB2Driver" - ``` - - 2. Execute the database scripts. - - Execute the scripts in the `/dbscripts/bps/bpel/create/db2.sql` file against the created database. - - -??? example "MSSQL" - - 1. Configure the `/repository/conf/deployment.toml` file. - - ``` - [bps_database.config] - url = "jdbc:sqlserver://localhost:1433;databaseName=test;SendStringParametersAsUnicode=false" - username = "sa" - password = "pass#word2" - driver = "com.microsoft.sqlserver.jdbc.SQLServerDriver" - ``` - - 2. Execute the database scripts. - - Execute the scripts in the `/dbscripts/bps/bpel/create/mssql.sql` file against the created database. - - -??? example "Oracle" - - 1. Configure the `/repository/conf/deployment.toml` file. - - ``` - [bps_database.config] - url = "jdbc:oracle:thin:@localhost:1521/ORCLPDB" - username = "IS590Test" - password = "ora12c" - driver = "oracle.jdbc.OracleDriver" - ``` - - 2. Execute the database scripts. - - Execute the scripts in the `/dbscripts/bps/bpel/create/oracle.sql` file against the created database. - - -**Advanced BPS Database Configurations** - -Apart from the above basic configurations, WSO2 Identity Server supports the following advanced BPS database configurations. - - ``` toml - [bps_database.config.pool_options] - maxActive = "50" - maxWait = "60000" - minIdle = "5" - testOnBorrow = true - validationInterval = "30000" - validationQuery = "SELECT 1; COMMIT" - ``` - -The descriptions for the advanced configurations can be found in the [Performance Tuning]({{base_path}}/deploy/performance/performance-tuning-recommendations/#jdbc-pool-configuration) documentation. \ No newline at end of file diff --git a/en/identity-server/7.0.0/mkdocs.yml b/en/identity-server/7.0.0/mkdocs.yml index 21b5d12617..c3cefb89ce 100644 --- a/en/identity-server/7.0.0/mkdocs.yml +++ b/en/identity-server/7.0.0/mkdocs.yml @@ -158,7 +158,8 @@ plugins: 'guides/identity-lifecycles/enable-email-account-verification-for-an-updated-email-address.md': 'guides/users/attributes/manage-attributes.md' 'guides/identity-lifecycles/enable-verification-for-updated-mobile-number.md': 'guides/users/attributes/manage-attributes.md' - 'guides/my-account/my-account.md': 'guides/user-self-service/customer-self-service-portal.md' + 'guides/my-account/my-account.md': 'guides/user-self-service/configure-self-service-portal.md' + 'guides/user-self-service/customer-self-service-portal.md': 'guides/user-self-service/configure-self-service-portal.md' 'guides/my-account/manage-own-profile.md': 'guides/user-self-service/update-profile-info.md' 'guides/my-account/export-my-user-profile.md': 'guides/user-self-service/export-profile-information.md' 'guides/my-account/link-own-accounts.md': 'guides/user-self-service/manage-linked-accounts.md' @@ -213,7 +214,6 @@ plugins: 'deploy/change-to-oracle-rac.md': 'deploy/configure/databases/carbon-database/change-to-oracle-rac.md' 'deploy/change-to-postgresql.md': 'deploy/configure/databases/carbon-database/change-to-postgresql.md' 'deploy/change-to-remote-h2.md': 'deploy/configure/databases/carbon-database/change-to-remote-h2.md' - 'deploy/change-datasource-bpsds.md': 'deploy/configure/databases/carbon-database/change-datasource-bpsds.md' 'deploy/change-datasource-consent-management.md': 'deploy/configure/databases/carbon-database/change-datasource-consent-management.md' 'deploy/enable-fips-for-is.md': 'deploy/security/enable-fips-for-is.md' @@ -514,7 +514,7 @@ nav: - User self-service: - User self-service: guides/user-self-service/index.md - Self-service portal: - - User self-service portal: guides/user-self-service/customer-self-service-portal.md + - Configure the self-service portal: guides/user-self-service/configure-self-service-portal.md - Update profile information: guides/user-self-service/update-profile-info.md - Change password: guides/user-self-service/change-password.md - Manage linked social accounts: guides/user-self-service/manage-linked-accounts.md @@ -579,7 +579,6 @@ nav: - Change to Oracle RAC: deploy/configure/databases/carbon-database/change-to-oracle-rac.md - Change to PostgreSQL: deploy/configure/databases/carbon-database/change-to-postgresql.md - Change to remote H2: deploy/configure/databases/carbon-database/change-to-remote-h2.md - - Change the Default Datasource for BPS: deploy/configure/databases/carbon-database/change-datasource-bpsds.md - Change the Default Datasource for Consent Management: deploy/configure/databases/carbon-database/change-datasource-consent-management.md - Change the Default Datasource for Session Data: deploy/configure/databases/carbon-database/change-datasource-session.md - Data Dictionary: diff --git a/en/identity-server/next/docs/deploy/configure/databases/carbon-database/change-datasource-bpsds.md b/en/identity-server/next/docs/deploy/configure/databases/carbon-database/change-datasource-bpsds.md deleted file mode 100644 index b4f05c586e..0000000000 --- a/en/identity-server/next/docs/deploy/configure/databases/carbon-database/change-datasource-bpsds.md +++ /dev/null @@ -1,114 +0,0 @@ -# Change the Default Datasource for BPS - -This document guides you to change the underlying databases that are -used in business process service(BPS) components. - -By default WSO2 Identity Server uses the Embedded H2 database as the BPS -datasource. However, you can change this to any database type that is -supported by WSO2 Identity Server. - -Following are the sample configuration for each database type. - -??? example "PostgreSQL" - - 1. Configure the `/repository/conf/deployment.toml` file. - - ``` - [bps_database.config] - url = "jdbc:postgresql://localhost:5432/gregdb" - username = "regadmin" - password = "regadmin" - driver = "org.postgresql.Driver" - - [bps_database.config.pool_options] - defaultAutoCommit=true - commitOnReturn=true - ``` - - 2. Execute the database scripts. - - Execute the scripts in the `/dbscripts/bps/bpel/create/postgresql.sql` file against the created database. - -??? example "MySQL" - - 1. Configure the `/repository/conf/deployment.toml` file. - - ``` - [bps_database.config] - url = "jdbc:mysql://localhost:3306/IAMtest?useSSL=false" - username = "root" - password = "root" - driver = "com.mysql.jdbc.Driver" - ``` - - 2. Execute the database scripts. - - Execute the scripts in the `/dbscripts/bps/bpel/create/mysql.sql` file against the created database. - - -??? example "DB2" - - 1. Configure the `/repository/conf/deployment.toml` file. - - ``` - [bps_database.config] - url = "jdbc:db2://192.168.108.31:50000/test" - username = "db2inst1" - password = "db2inst1" - driver = "com.ibm.db2.jcc.DB2Driver" - ``` - - 2. Execute the database scripts. - - Execute the scripts in the `/dbscripts/bps/bpel/create/db2.sql` file against the created database. - - -??? example "MSSQL" - - 1. Configure the `/repository/conf/deployment.toml` file. - - ``` - [bps_database.config] - url = "jdbc:sqlserver://localhost:1433;databaseName=test;SendStringParametersAsUnicode=false" - username = "sa" - password = "pass#word2" - driver = "com.microsoft.sqlserver.jdbc.SQLServerDriver" - ``` - - 2. Execute the database scripts. - - Execute the scripts in the `/dbscripts/bps/bpel/create/mssql.sql` file against the created database. - - -??? example "Oracle" - - 1. Configure the `/repository/conf/deployment.toml` file. - - ``` - [bps_database.config] - url = "jdbc:oracle:thin:@localhost:1521/ORCLPDB" - username = "IS590Test" - password = "ora12c" - driver = "oracle.jdbc.OracleDriver" - ``` - - 2. Execute the database scripts. - - Execute the scripts in the `/dbscripts/bps/bpel/create/oracle.sql` file against the created database. - - -**Advanced BPS Database Configurations** - -Apart from the above basic configurations, WSO2 Identity Server supports the following advanced BPS database configurations. - - ``` toml - [bps_database.config.pool_options] - maxActive = "50" - maxWait = "60000" - minIdle = "5" - testOnBorrow = true - validationInterval = "30000" - validationQuery = "SELECT 1; COMMIT" - ``` - -The descriptions for the advanced configurations can be found in the [Performance Tuning]({{base_path}}/deploy/performance/performance-tuning-recommendations/#jdbc-pool-configuration) documentation. \ No newline at end of file diff --git a/en/identity-server/next/mkdocs.yml b/en/identity-server/next/mkdocs.yml index 2e8719e1ed..cbd4fd33ab 100644 --- a/en/identity-server/next/mkdocs.yml +++ b/en/identity-server/next/mkdocs.yml @@ -213,7 +213,6 @@ plugins: 'deploy/change-to-oracle-rac.md': 'deploy/configure/databases/carbon-database/change-to-oracle-rac.md' 'deploy/change-to-postgresql.md': 'deploy/configure/databases/carbon-database/change-to-postgresql.md' 'deploy/change-to-remote-h2.md': 'deploy/configure/databases/carbon-database/change-to-remote-h2.md' - 'deploy/change-datasource-bpsds.md': 'deploy/configure/databases/carbon-database/change-datasource-bpsds.md' 'deploy/change-datasource-consent-management.md': 'deploy/configure/databases/carbon-database/change-datasource-consent-management.md' 'deploy/enable-fips-for-is.md': 'deploy/security/enable-fips-for-is.md' @@ -577,7 +576,6 @@ nav: - Change to Oracle RAC: deploy/configure/databases/carbon-database/change-to-oracle-rac.md - Change to PostgreSQL: deploy/configure/databases/carbon-database/change-to-postgresql.md - Change to remote H2: deploy/configure/databases/carbon-database/change-to-remote-h2.md - - Change the Default Datasource for BPS: deploy/configure/databases/carbon-database/change-datasource-bpsds.md - Change the Default Datasource for Consent Management: deploy/configure/databases/carbon-database/change-datasource-consent-management.md - Change the Default Datasource for Session Data: deploy/configure/databases/carbon-database/change-datasource-session.md - Data Dictionary: From af3ffd8baf5eca2578520d501160ba8d5021fca1 Mon Sep 17 00:00:00 2001 From: himeshsiriwardana Date: Wed, 12 Jun 2024 17:00:22 +0530 Subject: [PATCH 2/2] reset some changes --- en/identity-server/7.0.0/mkdocs.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/en/identity-server/7.0.0/mkdocs.yml b/en/identity-server/7.0.0/mkdocs.yml index c3cefb89ce..c4e83b3187 100644 --- a/en/identity-server/7.0.0/mkdocs.yml +++ b/en/identity-server/7.0.0/mkdocs.yml @@ -158,8 +158,7 @@ plugins: 'guides/identity-lifecycles/enable-email-account-verification-for-an-updated-email-address.md': 'guides/users/attributes/manage-attributes.md' 'guides/identity-lifecycles/enable-verification-for-updated-mobile-number.md': 'guides/users/attributes/manage-attributes.md' - 'guides/my-account/my-account.md': 'guides/user-self-service/configure-self-service-portal.md' - 'guides/user-self-service/customer-self-service-portal.md': 'guides/user-self-service/configure-self-service-portal.md' + 'guides/my-account/my-account.md': 'guides/user-self-service/customer-self-service-portal.md' 'guides/my-account/manage-own-profile.md': 'guides/user-self-service/update-profile-info.md' 'guides/my-account/export-my-user-profile.md': 'guides/user-self-service/export-profile-information.md' 'guides/my-account/link-own-accounts.md': 'guides/user-self-service/manage-linked-accounts.md' @@ -514,7 +513,7 @@ nav: - User self-service: - User self-service: guides/user-self-service/index.md - Self-service portal: - - Configure the self-service portal: guides/user-self-service/configure-self-service-portal.md + - User self-service portal: guides/user-self-service/customer-self-service-portal.md - Update profile information: guides/user-self-service/update-profile-info.md - Change password: guides/user-self-service/change-password.md - Manage linked social accounts: guides/user-self-service/manage-linked-accounts.md