[MM-55028] Added OAuthOutgoingConnection store (#25221)

* OAuthOutgoingConnection model

* added store

* make generated

* add missing license headers

* fix receiver name

* i18n

* i18n sorting

* update migrations from master

* make migrations-extract

* update retrylayer tests

* replaced sql query with id pagination

* fixed flaky tests

* missing columns

* missing columns on save/update

* typo

* improved tests

* remove enum from mysql colum

* add password credentials to store

* renamed migrations

* model change suggestions

* refactor test functionsn

* migration typo

* refactor store table names

* updated sanitize test

* oauthoutgoingconnection -> outgoingoauthconnection

* signature change

* i18n update

* granttype typo

* uppercase typo

* lowercase store name
Этот коммит содержится в:
Felipe Martin
2023-11-20 15:42:07 +01:00
коммит произвёл GitHub
родитель 8158c0e614
Коммит b40366dbdf
20 изменённых файлов: 1419 добавлений и 15 удалений

Просмотреть файл

@@ -0,0 +1 @@
DROP TABLE IF EXISTS OutgoingOAuthConnections;

Просмотреть файл

@@ -0,0 +1,16 @@
CREATE TABLE IF NOT EXISTS OutgoingOAuthConnections (
Id varchar(26),
Name varchar(64),
CreatorId varchar(26) DEFAULT NULL,
CreateAt bigint(20) DEFAULT NULL,
UpdateAt bigint(20) DEFAULT NULL,
ClientId varchar(255),
ClientSecret varchar(255),
CredentialsUsername varchar(255),
CredentialsPassword varchar(255),
OAuthTokenURL text,
GrantType varchar(32) DEFAULT 'client_credentials',
Audiences TEXT,
PRIMARY KEY (Id),
KEY idx_OutgoingOAuthConnections_name (Name)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;