Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions Bot committed Nov 18, 2024
2 parents ab64af0 + 15d3332 commit 6c3092e
Show file tree
Hide file tree
Showing 14 changed files with 81 additions and 95 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.5.2
### Added
### fixed
- Change documentation folder structure

## 0.5.1
### Added
### fixed
Expand Down
4 changes: 2 additions & 2 deletions charts/discoveryfinder/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ home: https://eclipse-tractusx.github.io/
sources:
- https://github.com/eclipse-tractusx/sldt-discovery-finder
type: application
version: 0.4.0
appVersion: 0.5.0
version: 0.4.1
appVersion: 0.5.1

dependencies:
- repository: https://charts.bitnami.com/bitnami
Expand Down
2 changes: 1 addition & 1 deletion charts/discoveryfinder/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# discoveryfinder

![Version: 0.4.0](https://img.shields.io/badge/Version-0.4.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.5.0](https://img.shields.io/badge/AppVersion-0.5.0-informational?style=flat-square)
![Version: 0.4.1](https://img.shields.io/badge/Version-0.4.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.5.1](https://img.shields.io/badge/AppVersion-0.5.1-informational?style=flat-square)

**Tractus-X Discovery Finder Helm Chart** <br/>
This chart installs the Discovery Finder and its direct dependencies.
Expand Down
26 changes: 26 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!--
* Copyright (c) 2024 Robert Bosch Manufacturing Solutions GmbH
* Copyright (c) 2024 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*
* SPDX-License-Identifier: Apache-2.0
-->

# Introduction
Following documentation is available:

| Documentation | Purpose |
|-------------------------------------------------|------------------------------------------------------|
| [Arc42](architecture/) | Architecture documentation for the discovery finder. |
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ The Discovery Finder is used to find an endpoint to a BPD Discovery for a certai

| Role | Description | Goal, Intention |
|------------------|----------------------------------------------------|-------------------------------------------------------------|
| Consumer | uses a Discovery Finder | wants to find an Endpoint for a BPN Discovery to find a BPN |
| Data Provider | | wants that his EDC / Digital Twin can be found |
| Data Consumer | The data consumer uses the Discovery Finder to search for endpoints for BPN Discoveries for a specific type. | wants to find an Endpoint for a BPN Discovery to find a BPN |
| Data Provider | The data provider adds or deletes his endpoint at the Discovery Finder | wants that his EDC / Digital Twin can be found |
| Catena-X network | provides the environment and operates the services | to enable the companies to connect and exchange data |

| Keycloak | Keycloak is used for token validation | |

### NOTICE

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@ For Deployment needed:
- Kubernetes-Cluster
- Helm

To deploy this system, you need to use the Helm Chart in a running
Kubernetes cluster. The Helm Chart is located under
"charts/discoveryfinder". In case you don't have a running cluster, you
can set up one by yourself locally, using minikube. For further information
checkout the [readme.md](https://github.com/eclipse-tractusx/sldt-discovery-finder/blob/main/README.md).
To deploy this system, you need to use the Helm Chart in a running Kubernetes cluster. The Helm Chart is located under "charts/discoveryfinder". In case you don't have a running cluster, you
can set up one by yourself locally, using minikube. For further information checkout the [README.md](../../README.md) and the [INSTALL.md](../../INSTALL.md).

### NOTICE

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 6 Concept
## 6 Crosscutting Concept

### Overall Concept

Expand Down Expand Up @@ -118,8 +118,48 @@ With all three roles it is possible to add and delete entries from the
Discovery Finder Database. For searching the view role is sufficient.
The credentials are set with entries in Helm Charts.

### NOTICE
### Authentication & Authorization
The service is secured by a OAuth2 compliant authorization. Every API call has to provide a
valid Bearer Token. Authorization is provided by a role based access. These roles are possible:

| Role | Description |
|---------------------------|----------------------------------------|
| view_discovery_endpoint | can search for BPN Discovery endpoints |
| add_discovery_endpoint | can add BPN Discovery endpoints |
| delete_discovery_endpoint | can delete BPN Discovery endpoints |


### Security Assessment
#### Data Flow Diagram

```mermaid
%%{init: {"flowchart": {"curve": "linear"} }}%%
flowchart
DC(Data Consumer \n <i>e.g. IR</i>)
DP(Data Provider)
K(Keycloak)
subgraph Discovery Finder
DF(Discovery Finder Backend)
DFDB[(Discovery Finder postgres)]
end
subgraph BPN Discovery
BD(BPN Discovery Backend)
BDDB[(BPN Discovery postgres \n <i>N instances per data \n asset type and usage</i>)]
end
DC <-->|Token request| K
DP <-->|Token request| K
DF <-->|Request endpoint for given type| DC
DF <--> DFDB
K -.->|Provide public key for token validation| DF
BD <--> BDDB
DC <-->|Request BPN for specific type| BD
DP -->|Register BPN type key| BD
BD -->|Success/error message for registration| DP
K -.->|Provide public key for token validation| BD
```

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

- SPDX-License-Identifier: Apache-2.0
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
82 changes: 0 additions & 82 deletions docs/documentation.md

This file was deleted.

0 comments on commit 6c3092e

Please sign in to comment.