Skip to content

Commit

Permalink
build(1.2.0-rc.1): bump version and update docs #221
Browse files Browse the repository at this point in the history
Reviewed-By: Phil Schneider <[email protected]>
  • Loading branch information
Phil91 authored Oct 25, 2024
2 parents e6a31f3 + 33a9087 commit ed18e62
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .tractusx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)


Expand Down
4 changes: 2 additions & 2 deletions charts/policy-hub/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 3 additions & 1 deletion charts/policy-hub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"` | |
Expand All @@ -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 | `""` | |
Expand Down
10 changes: 5 additions & 5 deletions docs/api/hub-service.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion environments/argocd-app-templates/appsetup-int.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion environments/argocd-app-templates/appsetup-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<Project>
<PropertyGroup>
<VersionPrefix>1.1.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<VersionPrefix>1.2.0</VersionPrefix>
<VersionSuffix>rc.1</VersionSuffix>
</PropertyGroup>
</Project>

0 comments on commit ed18e62

Please sign in to comment.