Skip to content

Commit

Permalink
build(1.2.0-rc.1): bump version and update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
evegufy committed Oct 24, 2024
1 parent 3c63f17 commit 33a9087
Show file tree
Hide file tree
Showing 7 changed files with 15 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"
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 33a9087

Please sign in to comment.