forked from eclipse-tractusx/item-relationship-service
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request eclipse-tractusx#635 from catenax-ng/feature/TRI-2…
…03-ess-building-block Feature/tri 203 ess building block
- Loading branch information
Showing
6 changed files
with
114 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
docs/src/uml-diagrams/api-specification/ess-api-interaction.puml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
@startuml | ||
skinparam monochrome true | ||
skinparam shadowing false | ||
skinparam linetype ortho | ||
skinparam defaultFontName "Architects daughter" | ||
|
||
actor APIConsumer | ||
activate APIConsumer | ||
|
||
box "IRS" #LightBlue | ||
participant WebService as "ESS API" | ||
activate WebService | ||
|
||
APIConsumer -> WebService : POST /ess/bpn/investigations | ||
opt | ||
APIConsumer <-- WebService : 201: Returns jobId of registered Investigation job. | ||
|
||
loop poll is "200" http | ||
APIConsumer -> WebService : GET /ess/bpn/investigations/{jobId} | ||
|
||
opt job.hasCompleted() | ||
APIConsumer <-- WebService : "200" Item Graph for given jobId with additional supplyChainImpacted information. | ||
else job.isRunning() | ||
APIConsumer <-- WebService : "200" Item Graph for given jobId with partial results about supplyChainImpacted information. | ||
end opt | ||
end loop | ||
|
||
else | ||
APIConsumer <-- WebService : 400: Registering Investigation job failed. | ||
end opt | ||
|
||
|
||
|
||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
docs/src/uml-diagrams/building-block-view/level-2-int-ess.puml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
@startuml | ||
skinparam monochrome true | ||
skinparam shadowing false | ||
skinparam linetype ortho | ||
skinparam defaultFontName "Architects daughter" | ||
|
||
component [**EssController**] <<System>> as EssController { | ||
component [**EssService**] <<Component>> as EssService | ||
component [**EssRecursiveNotificationHandler**] <<Component>> as EssRecursiveNotificationHandler | ||
component [**IrsItemGraphQueryService**] <<Component>> as IrsItemGraphQueryService | ||
port "ESS API" as API_PORT | ||
interface BpnInvestigationJobCache | ||
|
||
EssService <.> IrsItemGraphQueryService | ||
EssService <..> EssRecursiveNotificationHandler | ||
EssService --( BpnInvestigationJobCache | ||
|
||
} | ||
|
||
actor EssApiConsumer | ||
EssService -up- API_PORT | ||
EssApiConsumer -(0- API_PORT | ||
|
||
@enduml |