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

merge from dev/4.3.0 into main #2732

Merged
merged 133 commits into from
Jun 12, 2024
Merged

merge from dev/4.3.0 into main #2732

merged 133 commits into from
Jun 12, 2024

Conversation

yhilmare
Copy link
Contributor

What type of PR is this?

What this PR does / why we need it:

merge from dev/4.3.0 into main

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Additional documentation e.g., usage docs, etc.:


yhilmare and others added 30 commits April 7, 2024 13:57
…and participating in approvals (#2168)

* feat(collaboration): support database resource role (#1782)

* feat(database-owner):
1. Add the owner role to the database, supporting approval workflow to use the owner role of the database.
2. Add variables for integrating external approval.
such as:
database.owner.accounts
database.owner.ids
database.owner.names
database.name
environment.name
task.description
risk.level

2024-02-29

* feat(database-owner):
1. Add the owner role to the database, supporting approval workflow to use the owner role of the database.
2. Add variables for integrating external approval.
such as:
database.owner.accounts
database.owner.ids
database.owner.names
database.name
environment.name
task.description
risk.level

2024-02-29

* feat(database-owner):
1. Add the owner role to the database, supporting approval workflow to use the owner role of the database.
2. Add variables for integrating external approval.
such as:
database.owner.accounts
database.owner.ids
database.owner.names
database.name
environment.name
task.description
risk.level

2024-02-29

* feat(database-owner):
1. Add the owner role to the database, supporting approval workflow to use the owner role of the database.
2. Add variables for integrating external approval.
such as:
database.owner.accounts
database.owner.ids
database.owner.names
database.name
environment.name
task.description
risk.level
odc.task.url
3. Adjust the database permission request form, and split the form when applying for multiple databases.

2024-03-06

* feat(database-owner):
1. Add the owner role to the database, supporting approval workflow to use the owner role of the database.
2. Add variables for integrating external approval.
such as:
database.owner.accounts
database.owner.ids
database.owner.names
database.name
environment.name
task.description
risk.level
odc.task.url
3. Adjust the database permission request form, and split the form when applying for multiple databases.

2024-03-06

* feat(database-owner):
1. Add the owner role to the database, supporting approval workflow to use the owner role of the database.
2. Add variables for integrating external approval.
such as:
database.owner.accounts
database.owner.ids
database.owner.names
database.name
environment.name
task.description
risk.level
odc.task.url
3. Adjust the database permission request form, and split the form when applying for multiple databases.

2024-03-07

* feat(database-owner):
1. Add the owner role to the database, supporting approval workflow to use the owner role of the database.
2. Add variables for integrating external approval.
such as:
database.owner.accounts
database.owner.ids
database.owner.names
database.name
environment.name
task.description
risk.level
odc.task.url
3. Adjust the database permission request form, and split the form when applying for multiple databases.

2024-03-08

* feat(database-owner):
1. Add the owner role to the database, supporting approval workflow to use the owner role of the database.
2. Add variables for integrating external approval.
such as:
database.owner.accounts
database.owner.ids
database.owner.names
database.name
environment.name
task.description
risk.level
odc.task.url
3. Adjust the database permission request form, and split the form when applying for multiple databases.

2024-03-08

* feat(database-owner):
1. Add the owner role to the database, supporting approval workflow to use the owner role of the database.
2. Add variables for integrating external approval.
such as:
database.owner.accounts
database.owner.ids
database.owner.names
database.name
environment.name
task.description
risk.level
odc.task.url
3. Adjust the database permission request form, and split the form when applying for multiple databases.

2024-03-08

* modify migrate script version number

* update submodule

* refine codes and fix some issues

* refine

* fix a bug

* response to CR

---------

Co-authored-by: isadba <chinafenghao@hotmail.com>
…es and logical table expression generation (#2166)

* logical table expression init

* try TDD and build up TDD environment

* add new implementation

* add ut cases

* casecade impl

* database and table casecade

* more implementation

* code clean

* delete code

* upload ordered map

* fix regex

* refactor

* stash

* code format

* schema comparing stash

* schema structure comparing done

* add unit cases

* enhancement

* refactor

* rename method

* add ut

* add ut cases

* add more and more ut cases~

* rename variables

* response to comments

* response to comments

* response to comments
merge from main into dev/4.3.x
)

* add persistence layer impl

* add service layer empty impl

* add service impl

* fix unit tests and refine codes

* modify migrate script version number

* rename classes and table

* fix ut
* feat(ob-sql-parser): init ob 430 antlr g4

* fix compile error

* fix logic error

* fix some unit test cases

* remove new hints

* remove new hints

* fix some error

* fix one UT

* fix partition UT

* fix expr UT

* fix table element UT

* lexer for ob 4.3.0 oracle mode

* parser for ob 4.3.0 oracle mode

* fix unit testing

* response to CR comments

* response to CR comments

* response to CR comments

* response to CR comments

* response to CR comments

* fix UT

* ob-sql-parser version 1.2.1 to 1.3.0

* ob-sql-parser version 1.2.1 to 1.3.0
* support build graph by V$OB_SQL_PLAN

* use DO to build graph instead of query

* set title by objectName

* format code

* response to CR comments

* move UT

* update license

* response to CR comments

* format code

* remove reference for SqlProfileData

* update license
…se changes (#1848)

* complete the controller and dao layers

* complete the controller and dao layers

* Complete the code for the template section

* complete the controller and dao layers

* modify the code formate

* modify the code format

* add property projectId

* add property for req and resp
* feat(iam): password strength match oceanbase style

allow more special characters,
and now only 3 types required

* more change password scenarios

* CODEOWNERS add i18n rule

* refine log output for invalid initial password

* refine log output for invalid initial password

* response to CR comment

* typo

* fix: UT connect miss timeout
)

* db object synchornizer impl

* db column synchronizer impl

* add jdbc lock during sync

* db schema sync impl

* fix JPA method

* disable sync SEQUENCE for OB MySQL mode

* add log output

* refine: add batch create size (200) to avoid slow sql

* refine sync strategy

* fix circular reference

* fix circular reference

* fix some issues

* fix some issues

* add log output

* decrease pool size to 16

* refine codes

* refine codes

* fix some issues

* fix batchCreate transaction

* using fuzzy search

* fix sync data when batch create data source

* fix ut

* response to CR

* use plugin impl

* do not sync individual datasource

* skip unsupported object type

* response to CR

* fix unit test

* use TransactionTemplate

* refine schedule
…return (#2246)

* add AsyncExecuteContext for sql async execution

* use queue instead of list

* response to CR comments

* add sql text into async resp

* response to CR comments

* fix typo

* format code

* add SqlExecutionListener to listen execute status

* add SqlExecutionListener to listen execute status

* set trace id to null when starting

* response to CR

* fix an error

* response to CR comments

* response to CR comments

* fix wrong method name

* response to CR comments
* antlr innit

* init antlr4 grammer

* logical table expression parse

* expression parse

* delete unused comment

* refact

* add unit test cases

* add exception handler and ut cases

* fix i18m

* add ut

* fix ut

* refactor .g4 and add ut cases

* rename interface method

* refact dependency management

* fix

* add more error codes

* rename error codes

* refactor parser

* response to comments
…2300)

* add ColumnGroup and ElementFactory

* support column group in create table

* support column group in create index

* support column group in alter table

* refactor column group

* fix mysql parser

* fix oracle parser

* fix UT

* complete UT

* response to CR comments

* add override annotation
…group (#2349)

* support edit column group

* fix NPE

* support get column group by parser

* add UT

* fix NPE

* use Object instead of String

* fix UT

* support get column groups in accessor

* add support for structure compare and shadow table

* response to CR and fix UT

* format code

* response to CR comments
* add unique_identifier in collaboration_project

* delete index idx_collaboration_project_unique_identifier
…ect (#2377)

* migrate history uniqueIdentifier in collaboration_project

* modify unique key name

* fix ut test

* response to reveiw
* Synchronize the table structure based on the results from the table structure comparator.

* code format

* Supports synchronizing only partial structures.

* fix NPE

* close datasource
merge from main into dev/4.3.x
* feat:

* feat:support data check before data delete

* feat:support data check before data delete

* feat:support data check before data delete

* feat:support data check before data delete

* feat:support data check before data delete
* builds: supports build web in arm64 (#2380)

* builds: supports build web in arm64 (#2386)

* 1. support build web in arm64

* fix download url format

---------

Co-authored-by: IL MARE <yh263208@oceanbase.com>

* add build arm artifact

* fix

---------

Co-authored-by: niyuhang <32453647+Niyuhang2@users.noreply.github.com>
Co-authored-by: IL MARE <yh263208@oceanbase.com>
Copy link
Collaborator

@guowl3 guowl3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yizhouxw yizhouxw merged commit 0bf0c38 into main Jun 12, 2024
18 checks passed
Copy link
Collaborator

@PeachThinking PeachThinking left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Developed
Development

Successfully merging this pull request may close these issues.