Skip to content

Commit

Permalink
Merging v3.0.0 to master
Browse files Browse the repository at this point in the history
  • Loading branch information
blairlearn committed Jan 13, 2025
2 parents fbdbf63 + 372d37d commit 21159ba
Show file tree
Hide file tree
Showing 9 changed files with 49 additions and 189 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Glossary API CI workflow

on:
push:
branches:
- master
- develop
- 'hotfix/**'
- 'release/**'
- 'feature/**'
pull_request:
types: [opened, reopened, synchronize, ready_for_review]

jobs:
ci_remote:
uses: nciocpl/nci.ocpl.api.shared/.github/workflows/[email protected]
with:
api-project: src/NCI.OCPL.Api.Glossary/NCI.OCPL.Api.Glossary.csproj
artifact-name: glossary
9 changes: 9 additions & 0 deletions .github/workflows/ocpl_cm_standards_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: OCPL Configuration Management Standards Check

on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]

jobs:
commitlint_remote:
uses: nciocpl/.github/.github/workflows/ocpl_cm_standards_check.yml@workflow/v2
183 changes: 0 additions & 183 deletions .github/workflows/workflow.yml

This file was deleted.

6 changes: 6 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"sdk": {
"rollForward": "latestFeature",
"version": "8.0.0"
}
}
Binary file modified integration-tests/bin/karate.jar
Binary file not shown.
4 changes: 4 additions & 0 deletions integration-tests/bin/start-api.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

# Used in CI builds to abstract any API-specific start up steps.
dotnet NCI.OCPL.Api.Glossary.dll
4 changes: 2 additions & 2 deletions src/NCI.OCPL.Api.Glossary/NCI.OCPL.Api.Glossary.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>netcoreapp6.0</TargetFramework>
<TargetFramework>netcoreapp8.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

Expand All @@ -12,7 +12,7 @@
<ItemGroup>
<PackageReference Include="NSwag.AspNetCore" Version="13.20.*" />
<PackageReference Include="NEST" Version="7.9.*" />
<PackageReference Include="NCI.OCPL.Api.Common" Version="2.1.*" />
<PackageReference Include="NCI.OCPL.Api.Common" Version="3.0.0" />
</ItemGroup>

</Project>
7 changes: 6 additions & 1 deletion src/NCI.OCPL.Api.Glossary/web.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,18 @@
</handlers>
<aspNetCore processPath="dotnet" arguments=".\NCI.OCPL.Api.Glossary.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />
<security>
<requestFiltering allowHighBitCharacters="true">
<requestFiltering allowHighBitCharacters="true" removeServerHeader="true">
<fileExtensions allowUnlisted="true" />
<hiddenSegments>
<remove segment="bin" />
</hiddenSegments>
</requestFiltering>
</security>
<httpProtocol>
<customHeaders>
<remove name="X-Powered-By" />
</customHeaders>
</httpProtocol>
</system.webServer>
</location>
</configuration>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp6.0</TargetFramework>
<TargetFramework>netcoreapp8.0</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>
Expand All @@ -26,8 +26,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="NCI.OCPL.Api.Common" Version="2.1.*" />
<PackageReference Include="NCI.OCPL.Api.Common.Testing" Version="2.1.*" />
<PackageReference Include="NCI.OCPL.Api.Common" Version="3.0.0" />
<PackageReference Include="NCI.OCPL.Api.Common.Testing" Version="3.0.0" />
</ItemGroup>

</Project>

0 comments on commit 21159ba

Please sign in to comment.