Skip to content

Commit d255a4b

Browse files
committed
add mermaid diagram
1 parent 32e994e commit d255a4b

File tree

4 files changed

+1288
-133
lines changed

4 files changed

+1288
-133
lines changed

docs-js/features/connectivity/ias.mdx

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,28 @@ Consumer applications create a service binding to IAS with dependencies on the r
4646

4747
The dependency name configured in IAS is used as `resource.name` in the SAP Cloud SDK.
4848

49+
```mermaid
50+
sequenceDiagram
51+
participant Consumer as Consumer App
52+
participant SDK as SAP Cloud SDK
53+
participant IAS as IAS Broker
54+
participant Provider as Provider App
55+
56+
Note over Consumer,Provider: Configuration Phase (Setup)
57+
Provider->>IAS: Register "provides" configuration
58+
Consumer->>IAS: Configure dependency on provider
59+
60+
Note over Consumer,Provider: Runtime Phase (Token Exchange)
61+
Consumer->>SDK: Request token with resource parameter
62+
SDK->>IAS: Token request (client credentials + resource)
63+
IAS->>IAS: Validate dependency relationship
64+
IAS->>SDK: Issue scoped token
65+
SDK->>Consumer: Return token
66+
Consumer->>Provider: API call with scoped token
67+
Provider->>Provider: Validate token
68+
Provider->>Consumer: API response
69+
```
70+
4971
### IasResource
5072

5173
The [`IasResource`](pathname:///api/v4/types/sap-cloud-sdk_connectivity.IasResource.html) type identifies provider dependencies configured in IAS.

docusaurus.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ module.exports = {
2626
organizationName: 'SAP',
2727
projectName: 'cloud-sdk',
2828
trailingSlash: false,
29+
markdown: {
30+
mermaid: true
31+
},
32+
themes: ['@docusaurus/theme-mermaid'],
2933
themeConfig: {
3034
colorMode: {
3135
respectPrefersColorScheme: true,

0 commit comments

Comments
 (0)