Skip to content

Commit

Permalink
Merge pull request #996 from eclipse-tractusx/docs/api/orch-gate-mapping
Browse files Browse the repository at this point in the history
docs(Api): add mapping diagrams from Gate model to Orchestrator model
  • Loading branch information
nicoprow authored Jul 18, 2024
2 parents e84eb68 + 481c1e1 commit b7e9f68
Showing 1 changed file with 311 additions and 0 deletions.
311 changes: 311 additions & 0 deletions docs/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,316 @@ As a result for this step the golden record process expects the following:
That means if the business partner data contains an additional address, the result should also contain the possible site parent and the legal entity parent information


### Mapping of Gate to Orchestrator Business Partner Data

```mermaid
---
title: Share Unknown Business Partner Data Without Site
---
classDiagram
direction LR
class Input["Gate Input"]{
Name Parts: A
Identifiers: B
States: C
Legal Entity Properties: D
Site Properties: NULL
Address Properties: F
Is Own Company Data: G
}
class BusinessPartner["Business Partner"]{
Name Parts: EMPTY
Owning Company: G
Site: NULL
Additional Address: NULL
}
class Uncategorized{
Name Parts: A
Identifiers: B
States: C
Address: F
}
class LegalEntity{
Legal Name: D
Legal Short Name: D
Legalform: D
Identifiers: EMPTY
States: D
Legal Address: EMPTY
}
Input ..> BusinessPartner
BusinessPartner --> Uncategorized
BusinessPartner --> LegalEntity: D
```

```mermaid
---
title: Share Legal Address Without Site
---
classDiagram
direction LR
class Input["Gate Input"]{
Name Parts: A
Identifiers: B
States: C
Legal Entity Properties: D
Site Properties: NULL
Address Properties: F
Is Own Company Data: G
}
class BusinessPartner["Business Partner"]{
Name Parts: EMPTY
Owning Company: G
Site: NULL
Additional Address: NULL
}
class Uncategorized{
Name Parts: A
Identifiers: B
States: C
Address: NULL
}
class LegalEntity{
Legal Name: D
Legal Short Name: D
Legalform: D
Identifiers: EMPTY
States: D
Legal Address: F
}
Input ..> BusinessPartner
BusinessPartner --> Uncategorized
BusinessPartner --> LegalEntity: D
```

```mermaid
---
title: Share Site Main Address
---
classDiagram
direction LR
class Input["Gate Input"]{
Name Parts: A
Identifiers: B
States: C
Legal Entity Properties: D
Site Properties: E
Address Properties: F
Is Own Company Data: G
}
class BusinessPartner["Business Partner"]{
Name Parts: EMPTY
Owning Company: G
Additional Address: NULL
}
class Uncategorized{
Name Parts: A
Identifiers: B
States: C
Address: NULL
}
class LegalEntity{
BPN Reference: D
Legal Name: D
Legal Short Name: D
Legalform: D
Identifiers: EMPTY
States: D
Legal Address: NULL
}
class Site{
BPN Reference: E
Site Name: E
Identifiers: E
States: E
Site Main Address: F
}
Input ..> BusinessPartner
BusinessPartner --> Uncategorized
BusinessPartner --> LegalEntity: D
BusinessPartner --> Site: E
```

```mermaid
---
title: Share Legal And Site Main Address
---
classDiagram
direction LR
class Input["Gate Input"]{
Name Parts: A
Identifiers: B
States: C
Legal Entity Properties: D
Site Properties: E
Address Properties: F
Is Own Company Data: G
}
class BusinessPartner["Business Partner"]{
Name Parts: EMPTY
Owning Company: G
Additional Address: NULL
}
class Uncategorized{
Name Parts: A
Identifiers: B
States: C
Address: NULL
}
class LegalEntity{
BPN Reference: D
Legal Name: D
Legal Short Name: D
Legalform: D
Identifiers: EMPTY
States: D
Legal Address: F
}
class Site{
BPN Reference: E
Site Name: E
Identifiers: EMPTY
States: E
Site Main Address: NULL
}
Input ..> BusinessPartner
BusinessPartner --> Uncategorized
BusinessPartner --> LegalEntity: D
BusinessPartner --> Site: E
```

```mermaid
---
title: Share Additional Address Of Site
---
classDiagram
direction LR
class Input["Gate Input"]{
Name Parts: A
Identifiers: B
States: C
Legal Entity Properties: D
Site Properties: E
Address Properties: F
Is Own Company Data: G
}
class BusinessPartner["Business Partner"]{
Name Parts: EMPTY
Owning Company: G
}
class Uncategorized{
Name Parts: A
Identifiers: B
States: C
Address: NULL
}
class LegalEntity{
BPN Reference: D
Legal Name: D
Legal Short Name: D
Legalform: D
Identifiers: EMPTY
States: D
Legal Address: EMPTY
}
class Site{
BPN Reference: E
Site Name: E
Identifiers: EMPTY
States: E
Site Main Address: NULL
}
class AdditionalAddress{
BPN Reference: F
Identifiers: EMPTY
States: F
Physical Address: F
Alternative Address: F
}
Input ..> BusinessPartner
BusinessPartner --> Uncategorized
BusinessPartner --> LegalEntity: D
BusinessPartner --> Site: E
BusinessPartner --> AdditionalAddress: F
```

```mermaid
---
title: Share Additional Address Of Legal Entity
---
classDiagram
direction LR
class Input["Gate Input"]{
Name Parts: A
Identifiers: B
States: C
Legal Entity Properties: D
Site Properties: NULL
Address Properties: F
Is Own Company Data: G
}
class BusinessPartner["Business Partner"]{
Name Parts: EMPTY
Owning Company: G
Site: NULL
}
class Uncategorized{
Name Parts: A
Identifiers: B
States: C
Address: NULL
}
class LegalEntity{
BPN Reference: D
Legal Name: D
Legal Short Name: D
Legalform: D
Identifiers: EMPTY
States: D
Legal Address: EMPTY
}
class AdditionalAddress{
BPN Reference: F
Identifiers: EMPTY
States: F
Physical Address: F
Alternative Address: F
}
Input ..> BusinessPartner
BusinessPartner --> Uncategorized
BusinessPartner --> LegalEntity: D
BusinessPartner --> AdditionalAddress: F
```

## Access BPDM over EDC

This section details how a sharing member EDC can access an EDC exposing the BPDM API as assets. Before you can access the assets make sure that the BPDM EDC
Expand All @@ -768,6 +1078,7 @@ First, you need to select the offer based on your purpose.
Afterward you can negotiate for a contract agreement in order to get access to the data.
The final result of that negotiation will be a transfer token with which you can navigate the BPDM APIs over the BPDM EDC's public API (which acts as a proxy).


## NOTICE

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

0 comments on commit b7e9f68

Please sign in to comment.