Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/
#publish/

# Publish Web Output
*.[Pp]ublish.xml
Expand Down Expand Up @@ -249,8 +249,11 @@ coverage.opencover.xml
*.ncrunchproject

*.zip
.vscode/*

*.local.json
.refsignored
.env.local

amqptools.json
event.json
event-json/**
9 changes: 9 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"recommendations": [
"ms-dotnettools.csdevkit",
"ms-dotnettools.csharp",
"ms-dotnettools.vscode-dotnet-runtime",
"EditorConfig.EditorConfig",
"patcx.vscode-nuget-gallery"
]
}
10 changes: 10 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"version": "0.2.0",
"configurations": [
{
"name": ".NET: Launch (auto-detect startup project)",
"type": "dotnet",
"request": "launch"
}
]
}
14 changes: 14 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"editor.formatOnSave": false,
"editor.useEditorConfig": true,
"editor.detectIndentation": false,
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
},
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"[csharp]": {
"editor.formatOnSave": true
},
"dotnet.defaultSolution": "src/*.sln"
}
139 changes: 139 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "dotnet: restore",
"type": "shell",
"command": "dotnet",
"options": {
"cwd": "${workspaceFolder}/src"
},
"args": [
"restore",
"${workspaceFolder}/src/Cortside.Common.sln"
],
Comment on lines +11 to +14
"group": "build",
"problemMatcher": "$msCompile"
},
{
"label": "dotnet: build",
"type": "shell",
"command": "dotnet",
"options": {
"cwd": "${workspaceFolder}/src"
},
"args": [
"build",
"${workspaceFolder}/src/Cortside.Common.sln",
"-c",
"Debug"
],
"group": {
"kind": "build",
"isDefault": true
},
"dependsOn": "dotnet: restore",
"problemMatcher": "$msCompile"
},
{
"label": "dotnet: test",
"type": "shell",
"command": "dotnet",
"options": {
"cwd": "${workspaceFolder}/src"
},
"args": [
"test",
"${workspaceFolder}/src/Cortside.Common.sln",
"-c",
"Debug",
"--no-build"
],
"group": "test",
"dependsOn": "dotnet: build",
"problemMatcher": "$msCompile"
},
{
"label": "dotnet: clean",
"type": "shell",
"command": "dotnet",
"options": {
"cwd": "${workspaceFolder}/src"
},
"args": [
"clean",
"${workspaceFolder}/src/Cortside.Common.sln"
],
"problemMatcher": "$msCompile"
},
{
"label": "dotnet: format",
"type": "shell",
"command": "dotnet",
"options": {
"cwd": "${workspaceFolder}/src"
},
"args": [
"format",
"${workspaceFolder}/src/Cortside.Common.sln"
],
"problemMatcher": []
},
{
"label": "dotnet: format (verify)",
"type": "shell",
"command": "dotnet",
"options": {
"cwd": "${workspaceFolder}/src"
},
"args": [
"format",
"${workspaceFolder}/src/Cortside.Common.sln",
"--verify-no-changes"
],
"problemMatcher": []
},
{
"label": "line-endings: preview (src)",
"type": "shell",
"command": "git",
"options": {
"cwd": "${workspaceFolder}"
},
"args": [
"ls-files",
"--eol",
"src"
],
"problemMatcher": []
},
{
"label": "line-endings: normalize (src)",
"type": "shell",
"command": "git",
"options": {
"cwd": "${workspaceFolder}"
},
"args": [
"add",
"--renormalize",
"src"
],
"problemMatcher": []
},
{
"label": "line-endings: unstage",
"type": "shell",
"command": "git",
"options": {
"cwd": "${workspaceFolder}"
},
"args": [
"reset",
"HEAD",
"--"
],
"problemMatcher": []
}
]
}
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# Release 8.1

|Commit|Date|Author|Message|
|---|---|---|---|
| ebbf333 | <span style="white-space:nowrap;">2025-03-13</span> | <span style="white-space:nowrap;">Cort Schaefer</span> | update version
| 70355ad | <span style="white-space:nowrap;">2025-03-17</span> | <span style="white-space:nowrap;">Cort Schaefer</span> | Merge branch 'master' into develop
| d9367a2 | <span style="white-space:nowrap;">2025-06-05</span> | <span style="white-space:nowrap;">Owoose Ohenhen</span> | Added unauthorized response exception handling
| 5b30b36 | <span style="white-space:nowrap;">2025-06-05</span> | <span style="white-space:nowrap;">Owoose Ohenhen</span> | Modified package references
| 39b927a | <span style="white-space:nowrap;">2025-08-05</span> | <span style="white-space:nowrap;">Cort Schaefer</span> | update to develop branch for cortside.common
| 8022017 | <span style="white-space:nowrap;">2025-08-05</span> | <span style="white-space:nowrap;">Cort Schaefer</span> | (origin/feature/EBSVC-3503, feature/EBSVC-3503) [EBSVC-2503] add unit test coverage for new exception
| 9af6377 | <span style="white-space:nowrap;">2026-03-05</span> | <span style="white-space:nowrap;">Cort Schaefer</span> | Merge pull request #37 from cortside/feature/EBSVC-3503
| 6c144f6 | <span style="white-space:nowrap;">2026-03-13</span> | <span style="white-space:nowrap;">Cort Schaefer</span> | update latest nuget packages and scripts
| f372afc | <span style="white-space:nowrap;">2026-03-16</span> | <span style="white-space:nowrap;">Cort Schaefer</span> | (HEAD -> release/8.1, origin/develop, origin/HEAD, develop) update to latest cortside libraries
****

# Release 8.0

* Updated powershell scripts to latest versions from coeus/shoppingcart-api
Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

image: Previous Visual Studio 2022

version: 8.0.{build}
version: 8.1.{build}

configuration:
- Debug
Expand Down Expand Up @@ -63,4 +63,4 @@ nuget:
deploy:
- provider: NuGet
api_key:
secure: D7B7/pzGIeteV3H4DrdBtyKCxLrgcBAL6XWtWrm/kJrshDwUZ5acauR9QWll7TWi
secure: Egi9LPmRCLrBDQ41NzEURf4ChJFR2CscyyPA6qzJmJ+NJhKWAIeJm/7f/z8E2ppI
2 changes: 1 addition & 1 deletion clean.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Function Invoke-Cleanup {
$dir = "$($_.DirectoryName)\dist";
If (Test-Path $dir ){
Write-Output "Removing $dir";
rm $dir -force -recurse
Remove-Item $dir -force -recurse
}
}

Expand Down
2 changes: 1 addition & 1 deletion coverage.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ dotnet test src --collect:"XPlat Code Coverage" --settings src/coverlet.runsetti
dotnet-coverage merge *.cobertura.xml --recursive --output coverage.cobertura.xml --output-format cobertura
reportgenerator -reports:"coverage.cobertura.xml" -targetdir:"coveragereport" -reporttypes:Html

rm coverage.cobertura.xml
Remove-Item coverage.cobertura.xml
10 changes: 5 additions & 5 deletions create-release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Function Update-Version {
}

# common repository functions
Import-Module .\Repository.psm1 -Force
Import-Module .\repository.psm1 -Force

Invoke-Exe -cmd git -args "checkout master"
Invoke-Exe -cmd git -args "pull"
Expand All @@ -101,7 +101,7 @@ Invoke-Exe -cmd git -args "push"

$version = Get-Version
$branch = "release/$($version)"
echo $branch
Write-Output $branch

$exists = (git ls-remote origin $branch)
if ($exists.Length -eq 0) {
Expand All @@ -118,14 +118,14 @@ if ($exists.Length -eq 0) {
gh repo set-default
gh pr create --title "Release $version" --body "$releaseNotes" --base master
} else {
echo "should create the pr here -- everything passed - $branch"
echo $body
Write-Output "should create the pr here -- everything passed - $branch"
Write-Output $body
}

git checkout develop
git merge $branch
Update-Version
git push
} else {
echo "release branch already exists"
Write-Output "release branch already exists"
}
6 changes: 1 addition & 5 deletions format.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ if ($FixEncoding.IsPresent) {
dotnet tool update -g dotnet-format --version "8.*" --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json

# Format code to match editorconfig settings
#dotnet format --verbosity normal .\src

# per readme and because of dotnet cli issues, executing via command directly is best for now
dotnet-format --verbosity normal .\src

dotnet format --verbosity normal src

git status
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,25 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.13.61">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.14.15">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Roslynator.Analyzers" Version="4.13.1">
<PackageReference Include="ReferenceTrimmer" Version="3.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.7.0.110445">
<PackageReference Include="Roslynator.Analyzers" Version="4.15.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.21.0.135717">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.2">
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,31 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Cortside.Common.Validation" Version="8.0.478" />
<PackageReference Include="Cortside.RestApiClient" Version="8.0.203-8.0" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.13.61">
<PackageReference Include="Cortside.Common.Validation" Version="8.1.506" />
<PackageReference Include="Cortside.RestApiClient" Version="8.1.211" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.14.15">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Roslynator.Analyzers" Version="4.13.1">
<PackageReference Include="ReferenceTrimmer" Version="3.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.7.0.110445">
<PackageReference Include="Roslynator.Analyzers" Version="4.15.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.21.0.135717">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Cortside.IdentityServer4.AccessTokenValidation" Version="6.0.9" />
<PackageReference Include="PolicyServer.Runtime.Client.AspNetCore" Version="5.0.0" />
<PackageReference Include="Microsoft.IdentityModel.Protocols" Version="8.6.1" />
<PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="8.6.1" />
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="8.6.1" />
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="8.6.1" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.14" />
<PackageReference Include="PolicyServer.Runtime.Client.AspNetCore" Version="5.1.1" />
<PackageReference Include="Microsoft.IdentityModel.Protocols" Version="8.16.0" />
<PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="8.16.0" />
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="8.16.0" />
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="8.16.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.25" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,23 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Cortside.Common.Validation" Version="8.0.478" />
<PackageReference Include="Cortside.Common.Validation" Version="8.1.506" />
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.23.0" />
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.23.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.3" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.13.61">
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.14" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.14.15">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Roslynator.Analyzers" Version="4.13.1">
<PackageReference Include="ReferenceTrimmer" Version="3.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.7.0.110445">
<PackageReference Include="Roslynator.Analyzers" Version="4.15.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.21.0.135717">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
Loading
Loading