Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
kaspars-ozols Feb 17, 2025
95a85d2
Merge remote-tracking branch 'origin/use-aspire-host' into use-aspire…
kaspars-ozols Feb 17, 2025
879ceb3
Add metrics
jevgenijsp Feb 18, 2025
9d24588
Adjustments after rename
jevgenijsp Feb 18, 2025
000ffd5
Update README.md
kaspars-ozols Feb 19, 2025
b9b9864
Update README.md
kaspars-ozols Feb 19, 2025
ea6104d
Update README.md
kaspars-ozols 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
  •  
  •  
  •  
12 changes: 11 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,38 @@ 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: 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
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Verify commit exists in origin/master
run: |
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "sub/geta-foundation-core"]
path = sub/geta-foundation-core
url = https://github.com/Geta/geta-foundation-core
36 changes: 28 additions & 8 deletions Geta.NotFoundHandler.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Geta.NotFoundHandler", "src\Geta.NotFoundHandler\Geta.NotFoundHandler.csproj", "{00BEC106-B3EE-421B-8ED5-B51EA016FD3D}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Sandbox", "Sandbox", "{320DF82B-2EF9-4AFA-9A77-FCE2B94F7038}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{751ABE30-032D-40A9-B36C-5549905113BD}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{653AFFE2-7C31-4C4E-9D68-6B1DAD1FEFAD}"
Expand All @@ -28,7 +26,15 @@ 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}") = "Geta.NotFoundHandler.Web", "src\Geta.NotFoundHandler.Web\Geta.NotFoundHandler.Web.csproj", "{3BEE6726-C16D-4A49-94E5-99E1AD77F131}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "geta-foundation-core", "geta-foundation-core", "{637F7C28-82DB-4DFA-ADB4-B6061538FC11}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Foundation", "sub\geta-foundation-core\src\Foundation\Foundation.csproj", "{482B37E4-8CBF-426A-865C-8AB7E4E145DA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Foundation.AppHost", "sub\geta-foundation-core\src\Foundation.AppHost\Foundation.AppHost.csproj", "{21873564-1FF0-41B3-B9EE-3D1EAF274763}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Foundation.AppHost.ServiceDefaults", "sub\geta-foundation-core\src\Foundation.AppHost.ServiceDefaults\Foundation.AppHost.ServiceDefaults.csproj", "{FF8CF906-96C1-4205-8E53-CFE933F054A2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down Expand Up @@ -60,18 +66,32 @@ 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
{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
{482B37E4-8CBF-426A-865C-8AB7E4E145DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{482B37E4-8CBF-426A-865C-8AB7E4E145DA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{482B37E4-8CBF-426A-865C-8AB7E4E145DA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{482B37E4-8CBF-426A-865C-8AB7E4E145DA}.Release|Any CPU.Build.0 = Release|Any CPU
{21873564-1FF0-41B3-B9EE-3D1EAF274763}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{21873564-1FF0-41B3-B9EE-3D1EAF274763}.Debug|Any CPU.Build.0 = Debug|Any CPU
{21873564-1FF0-41B3-B9EE-3D1EAF274763}.Release|Any CPU.ActiveCfg = Release|Any CPU
{21873564-1FF0-41B3-B9EE-3D1EAF274763}.Release|Any CPU.Build.0 = Release|Any CPU
{FF8CF906-96C1-4205-8E53-CFE933F054A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FF8CF906-96C1-4205-8E53-CFE933F054A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FF8CF906-96C1-4205-8E53-CFE933F054A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FF8CF906-96C1-4205-8E53-CFE933F054A2}.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}
{482B37E4-8CBF-426A-865C-8AB7E4E145DA} = {637F7C28-82DB-4DFA-ADB4-B6061538FC11}
{21873564-1FF0-41B3-B9EE-3D1EAF274763} = {637F7C28-82DB-4DFA-ADB4-B6061538FC11}
{FF8CF906-96C1-4205-8E53-CFE933F054A2} = {637F7C28-82DB-4DFA-ADB4-B6061538FC11}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {76CC4F02-91DF-4BB8-A977-065BC8CB65C5}
Expand Down
49 changes: 47 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,53 @@ 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.
## 🏁 Getting Started

### 📦 Prerequisites

Ensure your system is properly configured to meet all prerequisites for Geta Foundation Core listed [here](https://github.com/Geta/geta-foundation-core#%EF%B8%8F-prerequisites)

### 🐑 Cloning the repository

```bash
git clone https://github.com/Geta/geta-notfoundhandler.git
cd geta-notfoundhandler
git submodule update --init
```

### 🚀 Running with Aspire (Recommended)
```bash
# Windows
cd sub/geta-foundation-core/src/Foundation.AppHost
dotnet run

# Linux / MacOS
sudo env "PATH=$PATH" bash
chmod +x sub/geta-foundation-core/src/Foundation/docker/build-script/*.sh
cd sub/geta-foundation-core/src/Foundation.AppHost
dotnet run
```

### 🖥️ Running as Standalone
```bash
# Windows
cd sub/geta-foundation-core
./setup.cmd
cd ../../src/Geta.NotFoundHandler.Web
dotnet run

# Linux / MacOS
sudo env "PATH=$PATH" bash
cd sub/geta-foundation-core
chmod +x *.sh
./setup.sh
cd ../../src/Geta.NotFoundHandler.Web
dotnet run
```

If you run into any issues, check the FAQ section [here](https://github.com/Geta/geta-foundation-web?tab=readme-ov-file#faq)

---

CMS username: admin@example.com

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

This file was deleted.

Loading
Loading