-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbitbucketDCIntegartion.puml
57 lines (47 loc) · 1.84 KB
/
bitbucketDCIntegartion.puml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
@startuml
!define RECTANGLE rectangle
!function bold($text)
!$result = "<b>"+ $text +"</b>"
!log Calling bold function with $text. The result is $result
!return $result
!endfunction
title Connect to Bitbucket Data Center from Confluence Cloud
skinparam rectangle {
BackgroundColor<<Requirement>> Yellow
BorderColor<<Requirement>> Black
BackgroundColor<<BDCConfig>> LightBlue
BorderColor<<BDCConfig>> Black
BackgroundColor<<CCConfig>> LightGreen
BorderColor<<CCConfig>> Black
}
hide stereotypes
package "REQUIREMENTS" {
RECTANGLE "Public DNS entry and IP" as Req1 <<Requirement>>
RECTANGLE "HTTPS with valid certificate" as Req2 <<Requirement>>
RECTANGLE "Firewall allows public internet traffic" as Req3 <<Requirement>>
RECTANGLE "Optional: Use Static IPs" as Req4 <<Requirement>>
}
package "Bitbucket Data Center Configuration" {
RECTANGLE "Log into Bitbucket" as BDC1 <<BDCConfig>>
RECTANGLE "Navigate to Manage Account" as BDC2 <<BDCConfig>>
RECTANGLE "Create HTTP access token" as BDC3 <<BDCConfig>>
RECTANGLE "Copy the token" as BDC4 <<BDCConfig>>
}
package "Confluence Cloud Configuration" {
RECTANGLE "Navigate to Confluence Configuration" as CC1 <<CCConfig>>
RECTANGLE "Add Bitbucket DC instance" as CC2 <<CCConfig>>
RECTANGLE "Enter Bitbucket URL and token" as CC3 <<CCConfig>>
RECTANGLE "Optional: Use Static IP option" as CC4 <<CCConfig>>
}
Req1 --> BDC1 : bold("* Needed for public accessibility")
Req2 --> BDC1 : bold("* Ensures secure communication")
Req3 --> BDC1 : bold("* Allows necessary traffic")
Req4 --> CC4 : bold("* Allows you to white list the IPs in the firewall.")
BDC1 --> BDC2 : "User action"
BDC2 --> BDC3 : "User action"
BDC3 --> BDC4 : "User action"
BDC4 --> CC1 : "Provide token to Confluence"
CC1 --> CC2 : "Configuration step"
CC2 --> CC3 : "Configuration step"
CC3 --> CC4 : "Optional configuration"
@enduml