From 8ff0f8bd3b430f4b7c970c3b843100f5abd85869 Mon Sep 17 00:00:00 2001 From: Evelyn Gurschler Date: Thu, 24 Oct 2024 22:29:17 +0200 Subject: [PATCH 1/3] chore: release 1.2.0-rc.1 Release-As: 1.2.0-rc.1 From 3c63f17a68e3b061aa81809e85f18dc2c2613d1d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 24 Oct 2024 22:31:53 +0200 Subject: [PATCH 2/3] chore(changelog/v1.2.0-rc.1): release 1.2.0-rc.1 (#220) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- CHANGELOG.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 417bbb0..09bff2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## [1.2.0-rc.1](https://github.com/eclipse-tractusx/policy-hub/compare/v1.1.0-rc.2...v1.2.0-rc.1) (2024-10-24) + + +### Features + +* add imagePullSecrets ([#193](https://github.com/eclipse-tractusx/policy-hub/issues/193)) ([64b2f38](https://github.com/eclipse-tractusx/policy-hub/commit/64b2f380c22b9cdfabda393327a50cf4ace1e579)) +* **api-hub:** create open api spec on build ([#209](https://github.com/eclipse-tractusx/policy-hub/issues/209)) ([a3c9d6f](https://github.com/eclipse-tractusx/policy-hub/commit/a3c9d6f121e49b4f02999229b51e4fd1d4772bbc)), closes [#207](https://github.com/eclipse-tractusx/policy-hub/issues/207) + + +### Bug Fixes + +* policy hub post get policy rules response structuring error value map ([#201](https://github.com/eclipse-tractusx/policy-hub/issues/201)) ([b5a1ec3](https://github.com/eclipse-tractusx/policy-hub/commit/b5a1ec3a09a8c7f2325f4f159aa89ca8429e6d2a)) +* update incorrect seeding data and not supported policies ([#202](https://github.com/eclipse-tractusx/policy-hub/issues/202)) ([db5171a](https://github.com/eclipse-tractusx/policy-hub/commit/db5171a65f47ec71ebceac479121391d753cc500)) + + +### Miscellaneous Chores + +* release 1.2.0-rc.1 ([8ff0f8b](https://github.com/eclipse-tractusx/policy-hub/commit/8ff0f8bd3b430f4b7c970c3b843100f5abd85869)) + ## [1.1.0-rc.2](https://github.com/eclipse-tractusx/policy-hub/compare/v1.1.0-rc.1...v1.1.0-rc.2) (2024-07-25) From 33a908737b1217f4d4ff6a947800f4a59d8b4522 Mon Sep 17 00:00:00 2001 From: Evelyn Gurschler Date: Thu, 24 Oct 2024 22:37:59 +0200 Subject: [PATCH 3/3] build(1.2.0-rc.1): bump version and update docs --- .tractusx | 2 +- charts/policy-hub/Chart.yaml | 4 ++-- charts/policy-hub/README.md | 4 +++- docs/api/hub-service.yaml | 10 +++++----- environments/argocd-app-templates/appsetup-int.yaml | 2 +- environments/argocd-app-templates/appsetup-stable.yaml | 2 +- src/Directory.Build.props | 4 ++-- 7 files changed, 15 insertions(+), 13 deletions(-) diff --git a/.tractusx b/.tractusx index 57c7857..12eca71 100644 --- a/.tractusx +++ b/.tractusx @@ -20,4 +20,4 @@ product: "Policy Hub" leadingRepository: "https://github.com/eclipse-tractusx/policy-hub" openApiSpecs: -- "https://raw.githubusercontent.com/eclipse-tractusx/policy-hub/refs/heads/main/docs/api/hub-service.yaml" +- "https://raw.githubusercontent.com/eclipse-tractusx/policy-hub/refs/tags/policy-hub-1.2.0-rc.1/docs/api/hub-service.yaml" diff --git a/charts/policy-hub/Chart.yaml b/charts/policy-hub/Chart.yaml index 29e7a45..cbbb4af 100644 --- a/charts/policy-hub/Chart.yaml +++ b/charts/policy-hub/Chart.yaml @@ -20,8 +20,8 @@ apiVersion: v2 name: policy-hub type: application -version: 1.1.0 -appVersion: 1.1.0 +version: 1.2.0-rc.1 +appVersion: 1.2.0-rc.1 description: Helm chart for Policy Hub home: https://github.com/eclipse-tractusx/policy-hub dependencies: diff --git a/charts/policy-hub/README.md b/charts/policy-hub/README.md index d545edd..2cef471 100644 --- a/charts/policy-hub/README.md +++ b/charts/policy-hub/README.md @@ -33,7 +33,7 @@ To use the helm chart as a dependency: dependencies: - name: policy-hub repository: https://eclipse-tractusx.github.io/charts/dev - version: 1.1.0 + version: 1.2.0-rc.1 ``` ## Requirements @@ -48,6 +48,7 @@ dependencies: |-----|------|---------|-------------| | service.image.name | string | `"docker.io/tractusx/policy-hub-service"` | | | service.image.tag | string | `""` | | +| service.image.pullSecrets | list | `[]` | | | service.imagePullPolicy | string | `"IfNotPresent"` | | | service.resources | object | `{"limits":{"cpu":"45m","memory":"300M"},"requests":{"cpu":"15m","memory":"300M"}}` | We recommend to review the default resource limits as this should a conscious choice. | | service.logging.businessLogic | string | `"Information"` | | @@ -60,6 +61,7 @@ dependencies: | service.swaggerEnabled | bool | `false` | | | migrations.image.name | string | `"docker.io/tractusx/policy-hub-migrations"` | | | migrations.image.tag | string | `""` | | +| migrations.image.pullSecrets | list | `[]` | | | migrations.imagePullPolicy | string | `"IfNotPresent"` | | | migrations.resources | object | `{"limits":{"cpu":"45m","memory":"105M"},"requests":{"cpu":"15m","memory":"105M"}}` | We recommend to review the default resource limits as this should a conscious choice. | | migrations.seeding.testDataEnvironments | string | `""` | | diff --git a/docs/api/hub-service.yaml b/docs/api/hub-service.yaml index 7686fc3..5b2646c 100644 --- a/docs/api/hub-service.yaml +++ b/docs/api/hub-service.yaml @@ -1,12 +1,12 @@ openapi: 3.0.1 info: title: Org.Eclipse.TractusX.PolicyHub.Service - version: v1.1.0 + version: v1.2.0-rc.1 paths: /api/policy-hub/policy-attributes: get: tags: - - 'Org.Eclipse.TractusX.PolicyHub.Service, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null' + - 'Org.Eclipse.TractusX.PolicyHub.Service, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null' summary: Gets the keys for the attributes description: 'Example: GET: api/policy-hub/policy-attributes' responses: @@ -31,7 +31,7 @@ paths: /api/policy-hub/policy-types: get: tags: - - 'Org.Eclipse.TractusX.PolicyHub.Service, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null' + - 'Org.Eclipse.TractusX.PolicyHub.Service, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null' summary: Provides all current supported policy types incl. a policy description and useCase link. description: 'Example: GET: api/policy-hub/policy-types' parameters: @@ -65,7 +65,7 @@ paths: /api/policy-hub/policy-content: get: tags: - - 'Org.Eclipse.TractusX.PolicyHub.Service, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null' + - 'Org.Eclipse.TractusX.PolicyHub.Service, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null' summary: Receive the policy template 'access' or 'usage' for a single policy rule based on the request parameters submitted by the user. description: 'Example: GET: api/policy-hub/policy-content' parameters: @@ -125,7 +125,7 @@ paths: $ref: '#/components/schemas/ErrorResponse' post: tags: - - 'Org.Eclipse.TractusX.PolicyHub.Service, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null' + - 'Org.Eclipse.TractusX.PolicyHub.Service, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null' summary: Receive the policy template 'access' or 'usage' for multiple policy rule template based on the input request body. description: 'Example: POST: api/policy-hub/policy-content' requestBody: diff --git a/environments/argocd-app-templates/appsetup-int.yaml b/environments/argocd-app-templates/appsetup-int.yaml index a650e05..b22ac83 100644 --- a/environments/argocd-app-templates/appsetup-int.yaml +++ b/environments/argocd-app-templates/appsetup-int.yaml @@ -28,7 +28,7 @@ spec: source: path: charts/policy-hub repoURL: 'https://github.com/eclipse-tractusx/policy-hub.git' - targetRevision: policy-hub-1.1.0 + targetRevision: policy-hub-1.2.0-rc.1 plugin: env: - name: AVP_SECRET diff --git a/environments/argocd-app-templates/appsetup-stable.yaml b/environments/argocd-app-templates/appsetup-stable.yaml index d61cb6d..b40f58e 100644 --- a/environments/argocd-app-templates/appsetup-stable.yaml +++ b/environments/argocd-app-templates/appsetup-stable.yaml @@ -28,7 +28,7 @@ spec: source: path: charts/policy-hub repoURL: 'https://github.com/eclipse-tractusx/policy-hub.git' - targetRevision: policy-hub-1.1.0 + targetRevision: policy-hub-1.2.0-rc.1 plugin: env: - name: AVP_SECRET diff --git a/src/Directory.Build.props b/src/Directory.Build.props index b10e5d6..dfc793e 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -19,7 +19,7 @@ - 1.1.0 - + 1.2.0 + rc.1