From cc15df69cc23dc9e677cfd1e130296f3a373338b Mon Sep 17 00:00:00 2001 From: Mohamed Rashd Date: Wed, 20 Apr 2022 14:40:45 +0530 Subject: [PATCH] Fix AP_IDENTITY_SERVER table script --- .../src/main/resources/dbscripts/cdm/application-mgt/h2.sql | 6 +++--- .../main/resources/dbscripts/cdm/application-mgt/mssql.sql | 6 +++--- .../main/resources/dbscripts/cdm/application-mgt/mysql.sql | 6 +++--- .../main/resources/dbscripts/cdm/application-mgt/oracle.sql | 6 +++--- .../resources/dbscripts/cdm/application-mgt/postgresql.sql | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/h2.sql b/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/h2.sql index c903ec78df5..cd91bcc8f9f 100644 --- a/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/h2.sql +++ b/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/h2.sql @@ -285,13 +285,13 @@ CREATE TABLE IF NOT EXISTS AP_SCHEDULED_SUBSCRIPTION( CREATE TABLE IF NOT EXISTS AP_IDENTITY_SERVER ( ID INTEGER NOT NULL AUTO_INCREMENT, NAME VARCHAR(255) NOT NULL, + PROVIDER_NAME VARCHAR(255) NOT NULL, DESCRIPTION VARCHAR(255) NOT NULL, URL VARCHAR(255) NOT NULL, - SP_APPS_URI VARCHAR(255) NOT NULL, - SP_APPS_API VARCHAR(255) NULL, - TENANT_ID INT NOT NULL, + API_PARAMS VARCHAR(255) NOT NULL, USERNAME VARCHAR(255) NOT NULL, PASSWORD VARCHAR(255) NOT NULL + TENANT_ID INT NOT NULL, PRIMARY KEY(ID) ); diff --git a/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/mssql.sql b/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/mssql.sql index d52bed69575..b3e2e0f971b 100644 --- a/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/mssql.sql +++ b/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/mssql.sql @@ -286,13 +286,13 @@ CREATE TABLE AP_SCHEDULED_SUBSCRIPTION( CREATE TABLE IF NOT EXISTS AP_IDENTITY_SERVER ( ID INTEGER NOT NULL IDENTITY, NAME VARCHAR(255) NOT NULL, + PROVIDER_NAME VARCHAR(255) NOT NULL, DESCRIPTION VARCHAR(255) NOT NULL, URL VARCHAR(255) NOT NULL, - SP_APPS_URI VARCHAR(255) NOT NULL, - SP_APPS_API VARCHAR(255) NULL, - TENANT_ID INT NOT NULL, + API_PARAMS VARCHAR(255) NOT NULL, USERNAME VARCHAR(255) NOT NULL, PASSWORD VARCHAR(255) NOT NULL + TENANT_ID INT NOT NULL, PRIMARY KEY(ID) ); diff --git a/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/mysql.sql b/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/mysql.sql index 53178ef727a..685dc84d9e1 100644 --- a/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/mysql.sql +++ b/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/mysql.sql @@ -242,12 +242,12 @@ CREATE TABLE IF NOT EXISTS AP_IDENTITY_SERVER ( ID INT AUTO_INCREMENT PRIMARY KEY, NAME VARCHAR(255) NOT NULL, DESCRIPTION VARCHAR(255) NOT NULL, + PROVIDER_NAME VARCHAR(255) NOT NULL, URL VARCHAR(255) NOT NULL, - SP_APPS_URI VARCHAR(255) NOT NULL, - SP_APPS_API VARCHAR(255) NULL, - TENANT_ID INT NOT NULL, + API_PARAMS TEXT NOT NULL, USERNAME VARCHAR(255) NOT NULL, PASSWORD VARCHAR(255) NOT NULL + TENANT_ID INT NOT NULL, ); -- ----------------------------------------------------- -- Table AP_IS_SP_APP_MAPPING diff --git a/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/oracle.sql b/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/oracle.sql index b16c3014037..2906ec657f1 100644 --- a/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/oracle.sql +++ b/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/oracle.sql @@ -386,13 +386,13 @@ CREATE TABLE AP_SCHEDULED_SUBSCRIPTION ( CREATE TABLE IF NOT EXISTS AP_IDENTITY_SERVER ( ID number GENERATED BY DEFAULT AS IDENTITY(START WITH 1) NOT NULL, NAME VARCHAR(255) NOT NULL, + PROVIDER_NAME VARCHAR(255) NOT NULL, DESCRIPTION VARCHAR(255) NOT NULL, URL VARCHAR(255) NOT NULL, - SP_APPS_URI VARCHAR(255) NOT NULL, - SP_APPS_API VARCHAR(255) NULL, - TENANT_ID INT NOT NULL, + API_PARAMS VARCHAR(255) NOT NULL, USERNAME VARCHAR(255) NOT NULL, PASSWORD VARCHAR(255) NOT NULL + TENANT_ID INT NOT NULL, PRIMARY KEY(ID) ) / diff --git a/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/postgresql.sql b/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/postgresql.sql index 6c85f15e82d..8e509537409 100644 --- a/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/postgresql.sql +++ b/features/application-mgt/io.entgra.application.mgt.server.feature/src/main/resources/dbscripts/cdm/application-mgt/postgresql.sql @@ -312,13 +312,13 @@ CREATE TABLE IF NOT EXISTS AP_SCHEDULED_SUBSCRIPTION( CREATE TABLE IF NOT EXISTS AP_IDENTITY_SERVER ( ID INTEGER NOT NULL DEFAULT NEXTVAL ('AP_IDENTITY_SERVER_seq'), NAME VARCHAR(255) NOT NULL, + PROVIDER_NAME VARCHAR(255) NOT NULL, DESCRIPTION VARCHAR(255) NOT NULL, URL VARCHAR(255) NOT NULL, - SP_APPS_URI VARCHAR(255) NOT NULL, - SP_APPS_API VARCHAR(255) NULL, - TENANT_ID INT NOT NULL, + API_PARAMS VARCHAR(255) NOT NULL, USERNAME VARCHAR(255) NOT NULL, PASSWORD VARCHAR(255) NOT NULL + TENANT_ID INT NOT NULL, PRIMARY KEY(ID) );