Skip to content

Commit 991a4e5

Browse files
committed
Initial commit
1 parent 3f4db19 commit 991a4e5

File tree

143 files changed

+10649
-1
lines changed

Some content is hidden

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

143 files changed

+10649
-1
lines changed

.github/workflows/ci.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
# Need pull requests so Coveralls comments get added to pull requests
8+
branches: [ main ]
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 100
17+
18+
- name: Setup .NET 7
19+
uses: actions/setup-dotnet@v1
20+
with:
21+
dotnet-version: 7.x
22+
23+
- name: Install dependencies
24+
run: dotnet restore
25+
26+
- name: Build
27+
run: dotnet build --configuration Release --no-restore
28+
29+
- name: Test on .NET 7
30+
run: dotnet test --no-restore --verbosity normal /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=lcov
31+
32+
- name: Publish coverage report to coveralls.io
33+
uses: coverallsapp/github-action@master
34+
with:
35+
github-token: ${{ secrets.GITHUB_TOKEN }}
36+
flag-name: unit
37+
parallel: true
38+
path-to-lcov: ./test/Futurum.WebApiEndpoint.Micro.Tests/TestResults/coverage.info
39+
40+
- name: Publish coverage report to coveralls.io
41+
uses: coverallsapp/github-action@master
42+
with:
43+
github-token: ${{ secrets.GITHUB_TOKEN }}
44+
flag-name: end-to-end
45+
parallel: true
46+
path-to-lcov: ./test/Futurum.WebApiEndpoint.Micro.EndToEndTests/TestResults/coverage.info
47+
48+
finish:
49+
needs: build
50+
runs-on: ubuntu-latest
51+
52+
steps:
53+
- name: Coveralls Finished
54+
uses: coverallsapp/github-action@master
55+
with:
56+
github-token: ${{ secrets.GITHUB_TOKEN }}
57+
parallel-finished: true

.github/workflows/release.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*.*.*'
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 100
16+
17+
- name: Setup .NET 7
18+
uses: actions/setup-dotnet@v1
19+
with:
20+
dotnet-version: 7.x
21+
22+
- name: Install dependencies
23+
run: dotnet restore
24+
25+
- name: Build
26+
run: dotnet build --configuration Release --no-restore
27+
28+
- name: Test
29+
run: dotnet test --no-restore --verbosity normal
30+
31+
- name: Pack Futurum.Core
32+
run: dotnet pack ./src/Futurum.WebApiEndpoint.Micro/Futurum.WebApiEndpoint.Micro.csproj --output nuget-packages --configuration Release
33+
- name: NuGet publish
34+
run: find nuget-packages -name 'Futurum.WebApiEndpoint.Micro*.nupkg' | xargs -i dotnet nuget push {} --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
35+
36+
- name: Artifacts
37+
uses: actions/upload-artifact@v2
38+
with:
39+
name: nuget-packages
40+
path: nuget-packages/**/*

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
*.user
1010
*.userosscache
1111
*.sln.docstates
12+
todos.db
13+
todos.db-shm
14+
todos.db-wal
15+
todos.db-journal
1216

1317
# User-specific files (MonoDevelop/Xamarin Studio)
1418
*.userprefs

.idea/.idea.Futurum.WebApiEndpoint.Micro/.idea/.gitignore

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.idea.Futurum.WebApiEndpoint.Micro/.idea/.name

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.idea.Futurum.WebApiEndpoint.Micro/.idea/aws.xml

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.idea.Futurum.WebApiEndpoint.Micro/.idea/encodings.xml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.idea.Futurum.WebApiEndpoint.Micro/.idea/indexLayout.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/.idea.Futurum.WebApiEndpoint.Micro/.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Futurum.WebApiEndpoint.Micro.sln

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Futurum.WebApiEndpoint.Micro", "src\Futurum.WebApiEndpoint.Micro\Futurum.WebApiEndpoint.Micro.csproj", "{48E7C116-DF7C-4B1E-A4F3-64109092ACCA}"
4+
EndProject
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Futurum.WebApiEndpoint.Micro.Sample", "sample\Futurum.WebApiEndpoint.Micro.Sample\Futurum.WebApiEndpoint.Micro.Sample.csproj", "{5A199733-F1B8-48E6-8591-776E2EC7E81E}"
6+
EndProject
7+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sample", "sample", "{3D057B76-ED4D-45EF-AC8B-7A4660ED32C2}"
8+
EndProject
9+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{1B8F46E6-8530-4A28-8A02-39221F7BC66E}"
10+
ProjectSection(SolutionItems) = preProject
11+
README.md = README.md
12+
LICENSE = LICENSE
13+
docs\Futurum.WebApiEndpoint.Micro.Sample-openapi.png = docs\Futurum.WebApiEndpoint.Micro.Sample-openapi.png
14+
EndProjectSection
15+
EndProject
16+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{ADC6F1C4-07C0-4350-AA3A-EE7CC6E80B2B}"
17+
ProjectSection(SolutionItems) = preProject
18+
Directory.Build.props = src\Directory.Build.props
19+
ci.yml = .github\workflows\ci.yml
20+
release.yml = .github\workflows\release.yml
21+
EndProjectSection
22+
EndProject
23+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{759534C0-6CAD-4645-932D-8EFEE7A3FE99}"
24+
EndProject
25+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Futurum.WebApiEndpoint.Micro.EndToEndTests", "test\Futurum.WebApiEndpoint.Micro.EndToEndTests\Futurum.WebApiEndpoint.Micro.EndToEndTests.csproj", "{E198A79A-EAFA-40E5-B564-0B17EC5CA69F}"
26+
EndProject
27+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Futurum.WebApiEndpoint.Micro.Tests", "test\Futurum.WebApiEndpoint.Micro.Tests\Futurum.WebApiEndpoint.Micro.Tests.csproj", "{F73126B2-18F2-4848-B58A-D41592D7DAA6}"
28+
EndProject
29+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Futurum.WebApiEndpoint.Micro.Generator", "src\Futurum.WebApiEndpoint.Micro.Generator\Futurum.WebApiEndpoint.Micro.Generator.csproj", "{7DFFAF20-31D6-4416-8183-ECC90C772553}"
30+
EndProject
31+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Futurum.WebApiEndpoint.Micro.Sample.Addition", "sample\Futurum.WebApiEndpoint.Micro.Sample.Addition\Futurum.WebApiEndpoint.Micro.Sample.Addition.csproj", "{F4BA916B-A0A8-485E-8ACC-D5698B4D3632}"
32+
EndProject
33+
Global
34+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
35+
Debug|Any CPU = Debug|Any CPU
36+
Release|Any CPU = Release|Any CPU
37+
EndGlobalSection
38+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
39+
{48E7C116-DF7C-4B1E-A4F3-64109092ACCA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
40+
{48E7C116-DF7C-4B1E-A4F3-64109092ACCA}.Debug|Any CPU.Build.0 = Debug|Any CPU
41+
{48E7C116-DF7C-4B1E-A4F3-64109092ACCA}.Release|Any CPU.ActiveCfg = Release|Any CPU
42+
{48E7C116-DF7C-4B1E-A4F3-64109092ACCA}.Release|Any CPU.Build.0 = Release|Any CPU
43+
{5A199733-F1B8-48E6-8591-776E2EC7E81E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
44+
{5A199733-F1B8-48E6-8591-776E2EC7E81E}.Debug|Any CPU.Build.0 = Debug|Any CPU
45+
{5A199733-F1B8-48E6-8591-776E2EC7E81E}.Release|Any CPU.ActiveCfg = Release|Any CPU
46+
{5A199733-F1B8-48E6-8591-776E2EC7E81E}.Release|Any CPU.Build.0 = Release|Any CPU
47+
{E198A79A-EAFA-40E5-B564-0B17EC5CA69F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
48+
{E198A79A-EAFA-40E5-B564-0B17EC5CA69F}.Debug|Any CPU.Build.0 = Debug|Any CPU
49+
{E198A79A-EAFA-40E5-B564-0B17EC5CA69F}.Release|Any CPU.ActiveCfg = Release|Any CPU
50+
{E198A79A-EAFA-40E5-B564-0B17EC5CA69F}.Release|Any CPU.Build.0 = Release|Any CPU
51+
{F73126B2-18F2-4848-B58A-D41592D7DAA6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
52+
{F73126B2-18F2-4848-B58A-D41592D7DAA6}.Debug|Any CPU.Build.0 = Debug|Any CPU
53+
{F73126B2-18F2-4848-B58A-D41592D7DAA6}.Release|Any CPU.ActiveCfg = Release|Any CPU
54+
{F73126B2-18F2-4848-B58A-D41592D7DAA6}.Release|Any CPU.Build.0 = Release|Any CPU
55+
{7DFFAF20-31D6-4416-8183-ECC90C772553}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
56+
{7DFFAF20-31D6-4416-8183-ECC90C772553}.Debug|Any CPU.Build.0 = Debug|Any CPU
57+
{7DFFAF20-31D6-4416-8183-ECC90C772553}.Release|Any CPU.ActiveCfg = Release|Any CPU
58+
{7DFFAF20-31D6-4416-8183-ECC90C772553}.Release|Any CPU.Build.0 = Release|Any CPU
59+
{F4BA916B-A0A8-485E-8ACC-D5698B4D3632}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
60+
{F4BA916B-A0A8-485E-8ACC-D5698B4D3632}.Debug|Any CPU.Build.0 = Debug|Any CPU
61+
{F4BA916B-A0A8-485E-8ACC-D5698B4D3632}.Release|Any CPU.ActiveCfg = Release|Any CPU
62+
{F4BA916B-A0A8-485E-8ACC-D5698B4D3632}.Release|Any CPU.Build.0 = Release|Any CPU
63+
EndGlobalSection
64+
GlobalSection(NestedProjects) = preSolution
65+
{5A199733-F1B8-48E6-8591-776E2EC7E81E} = {3D057B76-ED4D-45EF-AC8B-7A4660ED32C2}
66+
{E198A79A-EAFA-40E5-B564-0B17EC5CA69F} = {759534C0-6CAD-4645-932D-8EFEE7A3FE99}
67+
{F73126B2-18F2-4848-B58A-D41592D7DAA6} = {759534C0-6CAD-4645-932D-8EFEE7A3FE99}
68+
{F4BA916B-A0A8-485E-8ACC-D5698B4D3632} = {3D057B76-ED4D-45EF-AC8B-7A4660ED32C2}
69+
EndGlobalSection
70+
EndGlobal

0 commit comments

Comments
 (0)