Skip to content

feat: move dcc config init from auth to dcc - #656

Closed
Qinyouzeng wants to merge 3 commits into
mainfrom
feat/init
Closed

feat: move dcc config init from auth to dcc#656
Qinyouzeng wants to merge 3 commits into
mainfrom
feat/init

feat: rebuild sqlserver migration file, update init cache

2f091a3
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 13, 2026 in 15s

Quality Gate failed

Annotations

Check warning on line 15 in Masa.Dcc.Infrastructure.Domain/Services/InitConfigObjectDomainService.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Constructor has 8 new parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=masastack_MASA.DCC&issues=AZzlG7AiS4YnTyer1eBR&open=AZzlG7AiS4YnTyer1eBR&pullRequest=656

Check warning on line 79 in Masa.Dcc.Infrastructure.EFCore.SqlServer/Migrations/20250902040244_ReInit.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'nvarchar(100)' 5 times.

See more on https://sonarcloud.io/project/issues?id=masastack_MASA.DCC&issues=AZzlG7ArS4YnTyer1eBY&open=AZzlG7ArS4YnTyer1eBY&pullRequest=656

Check warning on line 151 in src/Services/Masa.Dcc.Service/Infrastructure/SeedData.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this condition so that it does not always evaluate to 'False'.

See more on https://sonarcloud.io/project/issues?id=masastack_MASA.DCC&issues=AZzlG6-nS4YnTyer1eBQ&open=AZzlG6-nS4YnTyer1eBQ&pullRequest=656

Check warning on line 21 in Masa.Dcc.Infrastructure.EFCore.SqlServer/Migrations/20250902040244_ReInit.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'uniqueidentifier' 22 times.

See more on https://sonarcloud.io/project/issues?id=masastack_MASA.DCC&issues=AZzlG7ArS4YnTyer1eBU&open=AZzlG7ArS4YnTyer1eBU&pullRequest=656

Check warning on line 60 in Masa.Dcc.Infrastructure.EFCore.SqlServer/Migrations/20250902040244_ReInit.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'nvarchar(max)' 5 times.

See more on https://sonarcloud.io/project/issues?id=masastack_MASA.DCC&issues=AZzlG7ArS4YnTyer1eBW&open=AZzlG7ArS4YnTyer1eBW&pullRequest=656

Check warning on line 22 in Masa.Dcc.Infrastructure.EFCore.SqlServer/Migrations/20250902040244_ReInit.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'datetime2' 20 times.

See more on https://sonarcloud.io/project/issues?id=masastack_MASA.DCC&issues=AZzlG7ArS4YnTyer1eBV&open=AZzlG7ArS4YnTyer1eBV&pullRequest=656

Check warning on line 19 in Masa.Dcc.Infrastructure.EFCore.SqlServer/Migrations/20250902040244_ReInit.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'SqlServer:Identity' 10 times.

See more on https://sonarcloud.io/project/issues?id=masastack_MASA.DCC&issues=AZzlG7ArS4YnTyer1eBT&open=AZzlG7ArS4YnTyer1eBT&pullRequest=656

Check warning on line 167 in Masa.Dcc.Infrastructure.EFCore.SqlServer/Migrations/20250902040244_ReInit.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'BizConfigObjects' 4 times.

See more on https://sonarcloud.io/project/issues?id=masastack_MASA.DCC&issues=AZzlG7ArS4YnTyer1eBa&open=AZzlG7ArS4YnTyer1eBa&pullRequest=656

Check warning on line 230 in Masa.Dcc.Infrastructure.EFCore.SqlServer/Migrations/20250902040244_ReInit.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'PublicConfigObjects' 4 times.

See more on https://sonarcloud.io/project/issues?id=masastack_MASA.DCC&issues=AZzlG7ArS4YnTyer1eBb&open=AZzlG7ArS4YnTyer1eBb&pullRequest=656

Check warning on line 38 in Masa.Dcc.Infrastructure.Domain/Services/InitConfigObjectDomainService.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'System.Exception' should not be thrown by user code.

See more on https://sonarcloud.io/project/issues?id=masastack_MASA.DCC&issues=AZzlG7AiS4YnTyer1eBS&open=AZzlG7AiS4YnTyer1eBS&pullRequest=656

Check warning on line 74 in Masa.Dcc.Infrastructure.EFCore.SqlServer/Migrations/20250902040244_ReInit.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'ConfigObjects' 6 times.

See more on https://sonarcloud.io/project/issues?id=masastack_MASA.DCC&issues=AZzlG7ArS4YnTyer1eBX&open=AZzlG7ArS4YnTyer1eBX&pullRequest=656

Check warning on line 152 in Masa.Dcc.Infrastructure.EFCore.SqlServer/Migrations/20250902040244_ReInit.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of using this literal 'ConfigObjectId' 7 times.

See more on https://sonarcloud.io/project/issues?id=masastack_MASA.DCC&issues=AZzlG7ArS4YnTyer1eBZ&open=AZzlG7ArS4YnTyer1eBZ&pullRequest=656