diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 00000000..ac8f074c --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,21 @@ +changelog: + categories: + - title: "Features" + labels: + - "feature" + - "feat" + - title: "Bug Fixes" + labels: + - "bug" + - "fix" + - title: "Maintenance" + labels: + - "chore" + - "refactor" + - "docs" + + exclude: + labels: + - "no-release" + authors: + - "dependabot" diff --git a/apiCollection/README.md b/apiCollection/README.md index 15d4f1a5..a85faf0c 100644 --- a/apiCollection/README.md +++ b/apiCollection/README.md @@ -66,6 +66,7 @@ By default the API listens at `https://localhost:5059` unless overridden by envi 3. From the top-right environment dropdown select an environment: `local` or `dev` (use `local` for local testing) 4. Expand folders to find requests, select a request and click **Send** 5. Inspect the request/response in the right panel +6. Inspect the request/response in the right panel --- @@ -154,6 +155,6 @@ By default, DataEngine requests the dev Template Repository, Submodel Registry, - Run `dotnet dev-certs https --trust` - Ensure plugin and API endpoints match port and schema (`https://`) - +- Ensure plugin and API endpoints match port and schema (`https://`) --- diff --git a/example/plugin1/mock-submodel-data.json b/example/plugin1/mock-submodel-data.json index b73f73aa..8f13ab00 100644 --- a/example/plugin1/mock-submodel-data.json +++ b/example/plugin1/mock-submodel-data.json @@ -3,7 +3,7 @@ "https://admin-shell.io/idta/nameplate/3/0/Nameplate": { "0112/2///61987#ABN590#002": "https://mm-software.com/Model-000/Serial-Nr-001", "0112/2///61987#ABA565#009": { - "0112/2///61987#ABA565#009_de": "M&M" + "0112/2///61987#ABA565#009_de": "M&M" }, "0112/2///61987#ABP464#002": { "0112/2///61987#ABP464#002_en": "M&MType ABC" diff --git a/source/AAS.TwinEngine.DataEngine/Api/AasRegistry/ShellDescriptorController.cs b/source/AAS.TwinEngine.DataEngine/Api/AasRegistry/ShellDescriptorController.cs index b677eef7..f222294f 100644 --- a/source/AAS.TwinEngine.DataEngine/Api/AasRegistry/ShellDescriptorController.cs +++ b/source/AAS.TwinEngine.DataEngine/Api/AasRegistry/ShellDescriptorController.cs @@ -5,12 +5,14 @@ using AAS.TwinEngine.DataEngine.Api.AasRegistry.Responses; using AAS.TwinEngine.DataEngine.ApplicationLogic.Exceptions.Responses; + using Asp.Versioning; using Microsoft.AspNetCore.Mvc; namespace AAS.TwinEngine.DataEngine.Api.AasRegistry; + [ApiController] [Route("shell-descriptors")] [ApiVersion(1)] diff --git a/source/AAS.TwinEngine.DataEngine/Infrastructure/Http/Clients/HttpClientFactory .cs b/source/AAS.TwinEngine.DataEngine/Infrastructure/Http/Clients/HttpClientFactory .cs index 6f125ce2..a4473201 100644 --- a/source/AAS.TwinEngine.DataEngine/Infrastructure/Http/Clients/HttpClientFactory .cs +++ b/source/AAS.TwinEngine.DataEngine/Infrastructure/Http/Clients/HttpClientFactory .cs @@ -4,3 +4,4 @@ public class HttpClientFactory(IHttpClientFactory httpClientFactory) : ICreateCl { public HttpClient CreateClient(string clientName) => httpClientFactory.CreateClient(clientName); } +