Skip to content

Commit

Permalink
chore: adjust policy hub docu
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil91 committed Feb 29, 2024
1 parent 716f057 commit 0fed046
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## General

- This project is an readonly API project, there is no plan to implement an UI yet.
- This project provides an readonly API, there is no plan to implement an UI yet.

- Run anywhere: can be deployed as a docker image, e. g. on Kubernetes (platform-independent, cloud, on prem or local).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,30 @@

In the following image you see the overall system overview of the Policy Hub

TODO (PS): add image for system view
```mermaid
flowchart LR
C(Customer)
ING(Ingress)
PH(Policy Hub API)
PHD[("Postgres Database \n \n (Data created with \n application seeding)")]
subgraph Policy-Hub Product
ING
PH
PHD
end
C-->|"Authentication & Authorization Data \n (Using JWT)"|ING
ING-->|"Forward Request"|PH
PH-->|"Read policies, use cases, \n credential types, policy rules"|PHD
```

## NOTICE

This work is licensed under the [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0).

- SPDX-License-Identifier: Apache-2.0
- SPDX-FileCopyrightText: 2021-2023 Contributors to the Eclipse Foundation
- SPDX-FileCopyrightText: 2024 Contributors to the Eclipse Foundation
- Source URL: https://github.com/eclipse-tractusx/policy-hub
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The authentication process for the Policy Hub involves interaction with the central IAM (Identity and Access Management). The configuration for IAM can be customized either locally during development through secrets or within the chart for the Docker image.

Currently, the Policy Hub performs a basic validation by checking for a valid token in the request. However, it's important to note that no permission checks are conducted at this stage.
Currently, the Policy Hub performs a basic validation by checking for a valid token with a configurable Audience in the request. However, it's important to note that no permission checks are conducted at this stage.

## NOTICE

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ List of used enums in the policy hub application that are stored in the database
### Add Enums

New enums can get added easily be enhancing the enumeration table (via the seeding data). With the next deployment; the new enum is getting auto deployed to the respective env.
Since enums have an enhanced impact on the system functionality; it is mandatorily needed to test (FE wise) the impacted screens / flows before releasing new enums. It is likely that the enum has an enhanced impact on the user journey / flow and break the system if not well tested.

### Change Enums

Expand Down

0 comments on commit 0fed046

Please sign in to comment.