Rich Bennett | 4b00193 | 2017-10-16 09:25:01 -0400 | [diff] [blame] | 1 | .. This work is licensed under a Creative Commons Attribution 4.0 International License. |
| 2 | .. http://creativecommons.org/licenses/by/4.0 |
| 3 | |
Idan Amit | d059aea | 2017-11-05 15:07:20 +0200 | [diff] [blame] | 4 | ======== |
Rich Bennett | 4b00193 | 2017-10-16 09:25:01 -0400 | [diff] [blame] | 5 | Delivery |
| 6 | ======== |
JulienBe | 14cee3e | 2020-06-11 12:06:09 +0200 | [diff] [blame] | 7 | |
Idan Amit | d059aea | 2017-11-05 15:07:20 +0200 | [diff] [blame] | 8 | |
JulienBe | 14cee3e | 2020-06-11 12:06:09 +0200 | [diff] [blame] | 9 | SDC Dockers Containers |
| 10 | ====================== |
| 11 | |
| 12 | Overview |
| 13 | -------- |
| 14 | |
| 15 | +---------------------+----------------------------------------------------------------------------+------------------------------------------------+ |
| 16 | | Name | Content of the container | On Startup | |
| 17 | +---------------------+----------------------------------------------------------------------------+------------------------------------------------+ |
| 18 | | sdc-cs-init | Logic for creating the **schemas for SDC catalog** server | Create the **schemas** | |
| 19 | +---------------------+----------------------------------------------------------------------------+------------------------------------------------+ |
| 20 | | sdc-cs-onboard init | Logic for creating the **schemas for SDC onboarding** server | Create the **schemas** | |
| 21 | +---------------------+----------------------------------------------------------------------------+------------------------------------------------+ |
ChrisC | 8143fb5 | 2020-11-13 15:04:38 +0100 | [diff] [blame] | 22 | | sdc-cs | **Cassandra** server, this is optional as SDC uses shared ONAP Cassandra by| Starts **Cassandra** | |
| 23 | | | default | | |
JulienBe | 14cee3e | 2020-06-11 12:06:09 +0200 | [diff] [blame] | 24 | +---------------------+----------------------------------------------------------------------------+------------------------------------------------+ |
| 25 | | sdc-onboard-BE | Onboarding **Backend** Jetty server | Starts Jetty with the application. | |
| 26 | +---------------------+----------------------------------------------------------------------------+------------------------------------------------+ |
| 27 | | sdc-BE | **Backend** Jetty server | Starts Jetty with the application. | |
| 28 | +---------------------+----------------------------------------------------------------------------+------------------------------------------------+ |
| 29 | | sdc-BE-init | Logic for importing the SDC **Tosca normative types** | Executes the rest calls for the catalog server | |
| 30 | | | Logic for configuring **external users** for SDC external api's | | |
| 31 | +---------------------+----------------------------------------------------------------------------+------------------------------------------------+ |
| 32 | | sdc-FE | SDC **Frontend** Jetty server | Starts Jetty with our application. | |
| 33 | +---------------------+----------------------------------------------------------------------------+------------------------------------------------+ |
ChrisC | 8143fb5 | 2020-11-13 15:04:38 +0100 | [diff] [blame] | 34 | | sdc-WFD-BE-init | Logic for configuring **Workflow Designer** | Execute configuration tasks of the WFD | |
| 35 | +---------------------+----------------------------------------------------------------------------+------------------------------------------------+ |
| 36 | | sdc-WFD-BE | SDC Workflow **Backtend** Jetty server | Starts Jetty with our application. | |
| 37 | +---------------------+----------------------------------------------------------------------------+------------------------------------------------+ |
| 38 | | sdc-WFD-FE | SDC Workflow **Frontend** Jetty server | Starts Jetty with our application. | |
| 39 | +---------------------+----------------------------------------------------------------------------+------------------------------------------------+ |
| 40 | |
JulienBe | 14cee3e | 2020-06-11 12:06:09 +0200 | [diff] [blame] | 41 | |
| 42 | |
| 43 | Deployement dependency map |
| 44 | -------------------------- |
| 45 | |
| 46 | .. blockdiag:: |
| 47 | |
| 48 | orientation = portrait |
| 49 | class job [color = "#FFA300", style = dotted, shape = "box"] |
| 50 | class app [color = "#29ADFF", shape = "roundedbox"] |
| 51 | fe [label = "sdc-frontend", class = "app"]; |
| 52 | be [label = "sdc-backend", class = "app"]; |
| 53 | onboarding-be [label = "sdc-onboarding-backend", class = "app"]; |
| 54 | cassandra [label = "sdc-cassandra", class = "app"]; |
| 55 | be-config [label = "sdc-backend-config", class = "job"]; |
| 56 | cassandra-config [label = "sdc-cassandra-config", class = "job"]; |
| 57 | onboarding-init [label = "sdc-onboarding-init", class = "job"]; |
ChrisC | 9f4c888 | 2020-11-16 15:01:03 +0100 | [diff] [blame] | 58 | sdc-WFD-FE [label = "sdc-workflow-fe", class = "app"]; |
| 59 | sdc-WFD-BE [label = "sdc-workflow-be", class = "app"]; |
| 60 | sdc-WFD-BE-init [label = "sdc-workflow-init", class = "job"]; |
JulienBe | 14cee3e | 2020-06-11 12:06:09 +0200 | [diff] [blame] | 61 | job [class = "job"]; |
| 62 | app [class = "app"]; |
| 63 | |
| 64 | fe -> be-config -> be -> onboarding-be -> onboarding-init -> cassandra-config -> cassandra; |
ChrisC | 9f4c888 | 2020-11-16 15:01:03 +0100 | [diff] [blame] | 65 | sdc-WFD-FE -> sdc-WFD-BE-init -> sdc-WFD-BE -> cassandra-config; |
JulienBe | 14cee3e | 2020-06-11 12:06:09 +0200 | [diff] [blame] | 66 | |
| 67 | Connectivity Matrix |
| 68 | ------------------- |
| 69 | |
| 70 | +---------------------+--------------------------------------------------------------+-------------+---------------------+-----------+ |
| 71 | | Name | API purpose | protocol | port number / range | TCP / UDP | |
| 72 | +---------------------+--------------------------------------------------------------+-------------+---------------------+-----------+ |
| 73 | | sdc-cassandra | SDC backend uses the two protocols to access Cassandra | trift/async | 9042 / 9160 | TCP | |
| 74 | +---------------------+--------------------------------------------------------------+-------------+---------------------+-----------+ |
| 75 | | sdc-onboard-backend | Access the onboarding functionality | http(s) | 8081 / 8445 | TCP | |
| 76 | +---------------------+--------------------------------------------------------------+-------------+---------------------+-----------+ |
| 77 | | sdc-backend | Access the catalog functionality | http(s) | 8080 / 8443 | TCP | |
| 78 | +---------------------+--------------------------------------------------------------+-------------+---------------------+-----------+ |
| 79 | | sdc-frontend | Access SDC UI and proxy requests to SDC backend | http(s) | 8181 / 9443 | TCP | |
| 80 | +---------------------+--------------------------------------------------------------+-------------+---------------------+-----------+ |
| 81 | |
| 82 | Offered APIs |
| 83 | ------------ |
| 84 | |
| 85 | +---------------------+-------------------+-----------------------------------------------------------------------------------------+----------+-------------+-----------+ |
| 86 | | container / vm name | address | API purpose | protocol | port number | TCP / UDP | |
| 87 | +---------------------+-------------------+-----------------------------------------------------------------------------------------+----------+-------------+-----------+ |
| 88 | | sdc-fe | /sdc1/feproxy/* | Proxy for all REST calls from SDC UI | HTTP(S) | 8181 / 8443 | TCP | |
| 89 | +---------------------+-------------------+-----------------------------------------------------------------------------------------+----------+-------------+-----------+ |
| 90 | | sdc-be | /sdc2/* | Internal APIs used by the UI. Request is passed through front end proxy | HTTP(S) | 8080 / 8443 | TCP | |
| 91 | +---------------------+-------------------+-----------------------------------------------------------------------------------------+----------+-------------+-----------+ |
| 92 | | | /sdc/* | External APIs offered to the different components for retrieving info from SDC catalog. | HTTP(S) | 8080 / 8443 | TCP | |
| 93 | +---------------------+-------------------+-----------------------------------------------------------------------------------------+----------+-------------+-----------+ |
| 94 | | sdc-onboarding-be | /onboarding/api/* | Internal APIs used by the UI | HTTP(S) | 8080 / 8443 | TCP | |
| 95 | +---------------------+-------------------+-----------------------------------------------------------------------------------------+----------+-------------+-----------+ |
| 96 | |
| 97 | |
| 98 | Structure |
| 99 | --------- |
Rich Bennett | 4b00193 | 2017-10-16 09:25:01 -0400 | [diff] [blame] | 100 | |
Idan Amit | d059aea | 2017-11-05 15:07:20 +0200 | [diff] [blame] | 101 | Below is a diagram of the SDC project docker containers and the connections between them. |
Rich Bennett | 4b00193 | 2017-10-16 09:25:01 -0400 | [diff] [blame] | 102 | |
| 103 | .. blockdiag:: |
| 104 | |
| 105 | |
Idan Amit | d059aea | 2017-11-05 15:07:20 +0200 | [diff] [blame] | 106 | blockdiag delivery { |
ChrisC | 8143fb5 | 2020-11-13 15:04:38 +0100 | [diff] [blame] | 107 | node_width = 140; |
Idan Amit | d059aea | 2017-11-05 15:07:20 +0200 | [diff] [blame] | 108 | orientation = portrait; |
Michael Lando | db0e898 | 2018-06-06 11:44:25 +0300 | [diff] [blame] | 109 | sdc-cassandra[shape = flowchart.database , color = grey] |
Ofir Sonsino | 61f3949 | 2020-04-01 10:52:28 +0300 | [diff] [blame] | 110 | sdc-frontend [color = blue, textcolor="white"] |
Michael Lando | db0e898 | 2018-06-06 11:44:25 +0300 | [diff] [blame] | 111 | sdc-backend [color = yellow] |
Michael Lando | db0e898 | 2018-06-06 11:44:25 +0300 | [diff] [blame] | 112 | sdc-onboarding-backend [color = yellow] |
ChrisC | 8143fb5 | 2020-11-13 15:04:38 +0100 | [diff] [blame] | 113 | sdc-backend [color = yellow] |
| 114 | sdc-WFD-frontend [color = brown] |
| 115 | sdc-WFD-backend [color = brown] |
| 116 | sdc-WFD-BE-init [color = brown] |
Michael Lando | db0e898 | 2018-06-06 11:44:25 +0300 | [diff] [blame] | 117 | sdc-cassandra-Config [color = orange] |
Michael Lando | db0e898 | 2018-06-06 11:44:25 +0300 | [diff] [blame] | 118 | sdc-backend-config [color = orange] |
| 119 | sdc-onboarding-init [color = orange] |
ChrisC | 8143fb5 | 2020-11-13 15:04:38 +0100 | [diff] [blame] | 120 | sdc-WFD-BE-init -> sdc-WFD-backend; |
Michael Lando | db0e898 | 2018-06-06 11:44:25 +0300 | [diff] [blame] | 121 | sdc-onboarding-init -> sdc-onboarding-backend; |
| 122 | sdc-cassandra-Config -> sdc-cassandra; |
Michael Lando | db0e898 | 2018-06-06 11:44:25 +0300 | [diff] [blame] | 123 | sdc-backend-config -> sdc-backend; |
| 124 | sdc-wss-simulator -> sdc-frontend; |
ChrisC | 9f4c888 | 2020-11-16 15:01:03 +0100 | [diff] [blame] | 125 | sdc-WFD-frontend -> sdc-WFD-backend; |
Michael Lando | db0e898 | 2018-06-06 11:44:25 +0300 | [diff] [blame] | 126 | sdc-frontend -> sdc-backend, sdc-onboarding-backend; |
ChrisC | 9f4c888 | 2020-11-16 15:01:03 +0100 | [diff] [blame] | 127 | sdc-WFD-backend -> sdc-cassandra; |
Ofir Sonsino | 61f3949 | 2020-04-01 10:52:28 +0300 | [diff] [blame] | 128 | sdc-backend -> sdc-cassandra; |
Michael Lando | db0e898 | 2018-06-06 11:44:25 +0300 | [diff] [blame] | 129 | sdc-onboarding-backend -> sdc-cassandra; |
| 130 | sdc-sanity -> sdc-backend; |
| 131 | sdc-ui-sanity -> sdc-frontend; |
| 132 | group deploy_group { |
| 133 | color = green; |
seshukm | 86b2f6d | 2018-10-03 20:35:52 +0800 | [diff] [blame] | 134 | label = "Application Layer" |
ChrisC | 8143fb5 | 2020-11-13 15:04:38 +0100 | [diff] [blame] | 135 | sdc-backend; sdc-onboarding-backend; sdc-frontend; sdc-cassandra; sdc-cassandra-Config; sdc-backend-config; sdc-onboarding-init; sdc-WFD-frontend; sdc-WFD-backend; sdc-WFD-BE-init; |
Idan Amit | d059aea | 2017-11-05 15:07:20 +0200 | [diff] [blame] | 136 | } |
| 137 | group testing_group { |
Michael Lando | db0e898 | 2018-06-06 11:44:25 +0300 | [diff] [blame] | 138 | color = purple; |
Idan Amit | d059aea | 2017-11-05 15:07:20 +0200 | [diff] [blame] | 139 | label = "Testing Layer"; |
Michael Lando | db0e898 | 2018-06-06 11:44:25 +0300 | [diff] [blame] | 140 | sdc-sanity; sdc-ui-sanity |
| 141 | } |
| 142 | group util_group { |
| 143 | color = purple; |
| 144 | label = "Util Layer"; |
| 145 | sdc-wss-simulator; |
Idan Amit | d059aea | 2017-11-05 15:07:20 +0200 | [diff] [blame] | 146 | } |
| 147 | } |