Skip to content
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
a6256e1
Delete old foundation project
jevgenijsp Jan 31, 2025
e5df94f
Update sub and .gitmodules
jevgenijsp Jan 31, 2025
d2bbe04
Update solution
jevgenijsp Jan 31, 2025
a92af73
Add web project
jevgenijsp Feb 4, 2025
e182062
Fixes
jevgenijsp Feb 4, 2025
4bf4a9c
Use foundation as razor class library
jevgenijsp Feb 7, 2025
a1d74e2
Fix namings
jevgenijsp Feb 7, 2025
ad61608
update sub
jevgenijsp Feb 7, 2025
9f43658
update readme
jevgenijsp Feb 7, 2025
b80e223
Fix first run build
jevgenijsp Feb 7, 2025
1acee6b
bump up web to .net8
jevgenijsp Feb 10, 2025
7276641
Try to fix build action
jevgenijsp Feb 10, 2025
01a3eeb
update sub
jevgenijsp Feb 10, 2025
b4dd1dc
Remove credentials from appsettings
jevgenijsp Feb 10, 2025
bbcdfa8
Update readme
jevgenijsp Feb 10, 2025
a1f9704
update sub
jevgenijsp Feb 10, 2025
4a5cb46
bypass connection strings
jevgenijsp Feb 10, 2025
080dfa4
cleanup
jevgenijsp Feb 11, 2025
bfef852
update readme
jevgenijsp Feb 11, 2025
0c4f34e
update build pipeline
jevgenijsp Feb 11, 2025
8a8dbcb
add launchSettings.json
jevgenijsp Feb 17, 2025
7b3aad4
use .net9
jevgenijsp Feb 17, 2025
7ade9db
update readme
jevgenijsp Feb 17, 2025
7bea1d2
Fix path formatting in Startup.cs for cross-platform compatibility
Feb 17, 2025
95a85d2
Merge remote-tracking branch 'origin/use-aspire-host' into use-aspire…
Feb 17, 2025
879ceb3
Add metrics
jevgenijsp Feb 18, 2025
9d24588
Adjustments after rename
jevgenijsp Feb 18, 2025
000ffd5
Update README.md
Feb 19, 2025
b9b9864
Update README.md
Feb 19, 2025
ea6104d
Update README.md
Feb 19, 2025
885e31b
add submodules init to release.yml
jevgenijsp Feb 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 14 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,41 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.11
- uses: actions/checkout@v2

- name: Checkout repository with submodules
uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: recursive

- name: Checkout submodules (if needed)
run: git submodule update --init --recursive

- name: Cache SonarCloud packages
uses: actions/cache@v1
with:
path: ~\sonar\cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar

- name: Cache SonarCloud scanner
id: cache-sonar-scanner
uses: actions/cache@v1
with:
path: .\.sonar\scanner
key: ${{ runner.os }}-sonar-scanner
restore-keys: ${{ runner.os }}-sonar-scanner

- name: Install SonarCloud scanner
if: steps.cache-sonar-scanner.outputs.cache-hit != 'true'
shell: powershell
run: |
New-Item -Path .\.sonar\scanner -ItemType Directory
dotnet tool update dotnet-sonarscanner --tool-path .\.sonar\scanner

- name: Restore dependencies
run: dotnet restore

- name: Build and analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "sandbox/geta-packages-foundation-sandbox"]
path = sandbox/geta-packages-foundation-sandbox
url = https://github.com/Geta/geta-packages-foundation-sandbox
25 changes: 19 additions & 6 deletions Geta.NotFoundHandler.sln
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Geta.NotFoundHandler.Optimi
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Geta.NotFoundHandler.Optimizely.Commerce", "src\Geta.NotFoundHandler.Optimizely.Commerce\Geta.NotFoundHandler.Optimizely.Commerce.csproj", "{9A4FFC8B-74B3-4300-BFB8-24F7B0AB0DDD}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Foundation", "sandbox\Foundation\src\Foundation\Foundation.csproj", "{F1F575B3-A136-41C5-8EB3-97752D8BF8B1}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Foundation.AppHost", "sandbox\geta-packages-foundation-sandbox\src\Foundation.AppHost\Foundation.AppHost.csproj", "{6B8210B1-743F-4B24-BA25-D4CC414C54EF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Geta.NotFoundHandler.Web", "src\Geta.NotFoundHandler.Web\Geta.NotFoundHandler.Web.csproj", "{3BEE6726-C16D-4A49-94E5-99E1AD77F131}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Foundation", "sandbox\geta-packages-foundation-sandbox\src\Foundation\Foundation.csproj", "{8C1C5713-4B34-41AE-A48F-4DEDA771F752}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down Expand Up @@ -60,18 +64,27 @@ Global
{9A4FFC8B-74B3-4300-BFB8-24F7B0AB0DDD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9A4FFC8B-74B3-4300-BFB8-24F7B0AB0DDD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9A4FFC8B-74B3-4300-BFB8-24F7B0AB0DDD}.Release|Any CPU.Build.0 = Release|Any CPU
{F1F575B3-A136-41C5-8EB3-97752D8BF8B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F1F575B3-A136-41C5-8EB3-97752D8BF8B1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F1F575B3-A136-41C5-8EB3-97752D8BF8B1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F1F575B3-A136-41C5-8EB3-97752D8BF8B1}.Release|Any CPU.Build.0 = Release|Any CPU
{6B8210B1-743F-4B24-BA25-D4CC414C54EF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6B8210B1-743F-4B24-BA25-D4CC414C54EF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6B8210B1-743F-4B24-BA25-D4CC414C54EF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6B8210B1-743F-4B24-BA25-D4CC414C54EF}.Release|Any CPU.Build.0 = Release|Any CPU
{3BEE6726-C16D-4A49-94E5-99E1AD77F131}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3BEE6726-C16D-4A49-94E5-99E1AD77F131}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3BEE6726-C16D-4A49-94E5-99E1AD77F131}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3BEE6726-C16D-4A49-94E5-99E1AD77F131}.Release|Any CPU.Build.0 = Release|Any CPU
{8C1C5713-4B34-41AE-A48F-4DEDA771F752}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8C1C5713-4B34-41AE-A48F-4DEDA771F752}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8C1C5713-4B34-41AE-A48F-4DEDA771F752}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8C1C5713-4B34-41AE-A48F-4DEDA771F752}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{80F6A409-357F-4EF2-BAAF-9603180BF1E1} = {751ABE30-032D-40A9-B36C-5549905113BD}
{8DD01C7F-3D7A-49B5-A255-AC69F4EA0162} = {751ABE30-032D-40A9-B36C-5549905113BD}
{F1F575B3-A136-41C5-8EB3-97752D8BF8B1} = {320DF82B-2EF9-4AFA-9A77-FCE2B94F7038}
{6B8210B1-743F-4B24-BA25-D4CC414C54EF} = {320DF82B-2EF9-4AFA-9A77-FCE2B94F7038}
{8C1C5713-4B34-41AE-A48F-4DEDA771F752} = {320DF82B-2EF9-4AFA-9A77-FCE2B94F7038}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {76CC4F02-91DF-4BB8-A977-065BC8CB65C5}
Expand Down
42 changes: 40 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,46 @@ For example, if we have a redirect: `/a` to `/b`, then:
- with wildcard setting it will redirect `/a/1` to `/b`
- without wildcard setting it will redirect `/a/1` to `/b/1`

# Sandbox App
Sandbox application is testing polygon for package new features and bug fixes.
## How to run locally

Install required dependencies [click](https://github.com/Geta/geta-packages-foundation-sandbox#prerequisites)

### Option 1: Aspire Project (Recommended)
1. **Checkout repository with submodule**
```bash
git clone https://github.com/Geta/geta-notfoundhandler
cd geta-notfoundhandler
git submodule update --init

2. **Run application**
```bash
Turn on docker
cd sandbox/geta-packages-foundation-sandbox/src/Foundation.AppHost
dotnet run --project Foundation.AppHost

3. **Access Dashboard**
```
Open the Aspire dashboard and navigate from the dashboard to https://localhost:5001/

### Option 2: Regular project
1. **Checkout repository**
```bash
git clone https://github.com/Geta/geta-notfoundhandler
cd geta-notfoundhandler
2. **Setup Environment**
```bash
cd sandbox/geta-packages-foundation-sandbox
# Windows
setup.cmd

# macOS/Linux
chmod +x setup.sh
./setup.sh
3. **Run application**
```bash
dotnet run --project ./src/Geta.NotFoundHandler.Web/Geta.NotFoundHandler.Web.csproj
---


CMS username: admin@example.com

Expand Down
209 changes: 0 additions & 209 deletions sandbox/Foundation/.editorconfig

This file was deleted.

Loading