Skip to content

Commit a102688

Browse files
authored
Merge pull request #48 from data-solution-automation-engine/dev/v2.1
Dev/v2.1
2 parents 12c55c3 + 56d0132 commit a102688

227 files changed

Lines changed: 21693 additions & 6865 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.config/dotnet-tools.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"dotnet-sqltest": {
6+
"version": "1.4.4",
7+
"commands": [
8+
"sqltest"
9+
],
10+
"rollForward": false
11+
},
12+
"microsoft.sqlpackage": {
13+
"version": "170.1.61",
14+
"commands": [
15+
"sqlpackage"
16+
],
17+
"rollForward": false
18+
},
19+
"dotnet-format": {
20+
"version": "5.1.250801",
21+
"commands": [
22+
"dotnet-format"
23+
],
24+
"rollForward": false
25+
},
26+
"dotnet-outdated-tool": {
27+
"version": "4.6.8",
28+
"commands": [
29+
"dotnet-outdated"
30+
],
31+
"rollForward": false
32+
}
33+
}
34+
}

.config/readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Configuration
2+
3+
dotnet-tools.json contains the recommended dotnet tools required for this project. Running dotnet tool restore from the root directory will use the contents of this JSON file to install or restore any tools that may not already be available.

.direct-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.1.0

.editorconfig

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_size = 2
6+
indent_style = space
7+
insert_final_newline = true
8+
max_line_length = 160
9+
trim_trailing_whitespace = true
10+
# Use Guidelines extension for guidelines
11+
guidelines = 80 1px dotted DarkGreen, 120 1px dotted Purple
12+
13+
# Make sure to not trim trailing whitespace where it might have meaning
14+
[*.{md,mdx,handlebars,hbs}]
15+
trim_trailing_whitespace = false
16+
17+
[*.sql]
18+
SqlServer.Rules.SRN0007.severity = none
19+
20+
# Formatting rules goes with the SQL formatter extension for Visual Studio
21+
# https://marketplace.visualstudio.com/items?itemName=MadsKristensen.SqlFormatter
22+
# https://github.com/madskristensen/SqlFormatter
23+
# Automatic formatting of DIRECT Framework is (currently) not employed
24+
# due to the current quality of formatting output. Awaiting improvements from the
25+
# SqlScriptDom evolution to enable more formatter options
26+
align_clause_bodies = true
27+
align_column_definition_fields = true
28+
align_set_clause_item = true
29+
allow_external_language_paths = true
30+
allow_external_library_paths = true
31+
as_keyword_on_own_line = true
32+
include_semicolons = false
33+
indent_set_clause = false
34+
keyword_casing = uppercase
35+
indentation_size = 2
36+
indent_view_body = false
37+
multiline_insert_sources_list = true
38+
multiline_insert_targets_list = true
39+
multiline_select_elements_list = true
40+
multiline_set_clause_items = true
41+
multiline_view_columns_list = true
42+
multiline_where_predicates_list = true
43+
new_line_before_close_parenthesis_in_multiline_list = true
44+
new_line_before_from_clause = true
45+
new_line_before_group_by_clause = true
46+
new_line_before_having_clause = true
47+
new_line_before_join_clause = true
48+
new_line_before_offset_clause = true
49+
new_line_before_open_parenthesis_in_multiline_list = false
50+
new_line_before_order_by_clause = true
51+
new_line_before_output_clause = true
52+
new_line_before_where_clause = true
53+
new_line_before_window_clause = true
54+
newline_formatted_check_constraint = false
55+
new_line_formatted_index_definition = false
56+
num_newlines_after_statement = 1
57+
space_between_data_type_and_parameters = true
58+
space_between_parameters_in_data_type = true
59+
sql_engine_type = all
60+
sql_version = sql170

.gitignore

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -397,15 +397,15 @@ FodyWeavers.xsd
397397
# JetBrains Rider
398398
*.sln.iml
399399

400-
# DIRECT OPTION - Specifically include only the reference dacpacs in the repo,
401-
# so they can be directly referenced in project without requiring a separate build
402-
# The build process has a preprocess step that builds the references,
403-
# so including these are optional depending on the development and deploymetn workflow used
404-
# Also consider the build configuration used, the following is for a Debug build
405-
406-
# !Direct_Framework/Reference_Databases/[Bb]in
407-
# !Direct_Framework/Reference_Databases/[Bb]in/[Dd]ebug/
408-
# Direct_Framework/Reference_Databases/[Bb]in/[Dd]ebug/*
409-
# !Direct_Framework/Reference_Databases/bin/Debug/master.dacpac
410-
# !Direct_Framework/Reference_Databases/bin/Debug/msdb.dacpac
411-
/.vscode
400+
# include the main vscode definitions/settings files
401+
.vscode/*
402+
!.vscode/settings.json
403+
!.vscode/tasks.json
404+
!.vscode/launch.json
405+
!.vscode/extensions.json
406+
407+
# include the main Direct Testing/TestResults files
408+
# Testing/*
409+
!Testing/TestResults
410+
Testing/TestResults/*
411+
!Testing/TestResults/overview-results.*

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
24.4.1

.vscode/extensions.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"recommendations": [
3+
"editorconfig.editorconfig",
4+
"github.copilot-chat",
5+
"github.copilot",
6+
"github.vscode-github-actions",
7+
"github.vscode-pull-request-github",
8+
"ms-azuretools.vscode-containers",
9+
"ms-mssql.data-workspace-vscode",
10+
"ms-mssql.mssql",
11+
"ms-mssql.sql-database-projects-vscode",
12+
"ms-vscode-remote.remote-containers",
13+
"ms-vscode.powershell"
14+
],
15+
"unwantedRecommendations": []
16+
}

.vscode/launch.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
5+
]
6+
}

.vscode/settings.json

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
{
2+
"files.associations": {
3+
"*.{sqlproj,csproj}": "xml"
4+
},
5+
"git.autofetch": true,
6+
"editor.rulers": [
7+
{
8+
"column": 80,
9+
"color": "#333333"
10+
},
11+
{
12+
"column": 120,
13+
"color": "#772233"
14+
}
15+
],
16+
"editor.fontFamily": "'Cascadia Code NF', Consolas, 'Courier New', monospace",
17+
"editor.fontLigatures": true,
18+
"mssql.intelliSense.enableIntelliSense": true,
19+
"mssql.intelliSense.enableErrorChecking": true,
20+
"mssql.intelliSense.enableSuggestions": true,
21+
"mssql.intelliSense.enableQuickInfo": true,
22+
"mssql.intelliSense.lowerCaseSuggestions": false,
23+
"editor.formatOnSave": false,
24+
"editor.renderWhitespace": "all",
25+
"workbench.colorCustomizations": {
26+
"editorWhitespace.foreground": "#555555"
27+
},
28+
"commentAnchors.workspace.matchFiles": "Direct_Framework/**/*.sql",
29+
"commentAnchors.tags.displayInRuler": false,
30+
"commentAnchors.tags.displayInGutter": false,
31+
"commentAnchors.tags.anchors": {
32+
"@procedure": {
33+
"scope": "hidden",
34+
"highlightColor": "#dcdcaa",
35+
"isBold": true,
36+
"isItalic": false
37+
},
38+
"@package": {
39+
"scope": "hidden",
40+
"highlightColor": "#dcdcaa",
41+
"isBold": true,
42+
"isItalic": false
43+
},
44+
"@description": {
45+
"scope": "hidden",
46+
"highlightColor": "#dcdcaa",
47+
"isBold": true,
48+
"isItalic": false
49+
},
50+
"@version": {
51+
"scope": "hidden",
52+
"highlightColor": "#dcdcaa",
53+
"isBold": true,
54+
"isItalic": false
55+
},
56+
"@see": {
57+
"scope": "hidden",
58+
"highlightColor": "#9cdcfe",
59+
"isBold": true,
60+
"isItalic": false
61+
},
62+
"@param": {
63+
"scope": "hidden",
64+
"highlightColor": "#9cdcfe",
65+
"isBold": true,
66+
"isItalic": false
67+
},
68+
"@resultset": {
69+
"scope": "hidden",
70+
"highlightColor": "#ce9178",
71+
"isBold": true,
72+
"isItalic": false
73+
},
74+
"@returns": {
75+
"scope": "hidden",
76+
"highlightColor": "#ce9178",
77+
"isBold": true,
78+
"isItalic": false
79+
},
80+
"@lineage": {
81+
"scope": "hidden",
82+
"highlightColor": "#d16969",
83+
"isBold": true,
84+
"isItalic": false
85+
},
86+
"@example": {
87+
"scope": "hidden",
88+
"highlightColor": "#b5cea8",
89+
"isBold": true,
90+
"isItalic": false
91+
}
92+
},
93+
"mssql.connections": [],
94+
"cSpell.words": [
95+
"azurepowershell",
96+
"Dacpac",
97+
"Dacpacs",
98+
"FORMATMESSAGE",
99+
"HASHBYTES",
100+
"INTPR",
101+
"ISJSON",
102+
"ISNULL",
103+
"LASTEXITCODE",
104+
"MAINT",
105+
"modinst",
106+
"msdb",
107+
"NOCOUNT",
108+
"NVARCHAR",
109+
"OPENJSON",
110+
"Passw",
111+
"resultset",
112+
"Roslynator",
113+
"sqlcmd",
114+
"sqlpackage",
115+
"Subselect",
116+
"succ",
117+
"SYSUTCDATETIME",
118+
"tempdb",
119+
"tsqlt",
120+
"tuln",
121+
"winget",
122+
"XACT",
123+
"xmltmp"
124+
]
125+
}

.vscode/tasks.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "Build",
6+
"type": "shell",
7+
"command": "dotnet build",
8+
"problemMatcher": "$sqlproj-problem-matcher",
9+
"isBackground": true,
10+
"group": {
11+
"kind": "build",
12+
"isDefault": "true"
13+
},
14+
"detail": "Builds the SQL project"
15+
}
16+
]
17+
}

0 commit comments

Comments
 (0)