blob: c70f0972f9b63f490899bc982e4782edfb455ea3 [file] [log] [blame]
Ezhilarasi59620872019-03-08 16:17:22 +05301.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. http://creativecommons.org/licenses/by/4.0
3.. Copyright (C) 2019 IBM.
4
Ezhilarasi91e83422019-03-15 14:30:05 +05305Controller Blueprint Archived Tool(CBA)
Ezhilarasi0f153092019-03-14 12:54:09 +05306----------------------------------------
Ezhilarasi59620872019-03-08 16:17:22 +05307.. toctree::
8 :maxdepth: 1
9
10Introduction:
11=============
Ezhilarasi0f153092019-03-14 12:54:09 +053012The Controller Blueprint Archived is the overall service design, fully model-driven, package needed to automate the resolution of resources for instantiation and any config provisioning operation, such as day0, day1 or day2 configuration.
Ezhilarasi59620872019-03-08 16:17:22 +053013
Ezhilarasi0f153092019-03-14 12:54:09 +053014The CBA is .zip file, comprised of the following folder structure, the files may vary:
15
16|image0|
17
18.. |image0| image:: media/image0.png
19 :width: 7.88889in
20 :height: 4.43750in
21
Ezhilarasi91e83422019-03-15 14:30:05 +053022Architecture:
23=============
Ezhilarasi0f153092019-03-14 12:54:09 +053024
Ezhilarasi91e83422019-03-15 14:30:05 +053025|image3|
26
27.. |image3| image:: media/CDS_architecture.jpg
28 :height: 4.43750in
29 :width: 7.88889in
30
31Installation:
32=============
Ezhilarasi59620872019-03-08 16:17:22 +053033
Ezhilarasi9c710f42019-03-19 16:27:52 +053034Building client html and js files
35=================================
36
37 * FROM alpine:3.8 as builder
38
39 * RUN apk add --no-cache npm
40
41 * WORKDIR /opt/cds-ui/client/
42
43 * COPY client/package.json /opt/cds-ui/client/
44
45 * RUN npm install
46
47 * COPY client /opt/cds-ui/client/
48
49 * RUN npm run build
50
51
52Building and creating server
53============================
54
55 * FROM alpine:3.8
56
57 * WORKDIR /opt/cds-ui/
58
59 * RUN apk add --no-cache npm
60
61 * COPY server/package.json /opt/cds-ui/
62
63 * RUN npm install
64
65 * COPY server /opt/cds-ui/
66
67 * COPY --from=builder /opt/cds-ui/server/public /opt/cds-ui/public
68
69 * RUN npm run build
70
71 * EXPOSE 3000
72
73 * CMD [ "npm", "start" ]
Ezhilarasi91e83422019-03-15 14:30:05 +053074
75Development:
76=============
77
Ezhilarasi9c710f42019-03-19 16:27:52 +053078Pre-requiste:
79=============
80 Visual Studio code editor
81 Git bash
82
83Steps
84=====
85 To compile CDS code:
86
87 1. Make sure your local Maven settings file ($HOME/.m2/settings.xml) contains
88 references to the ONAP repositories and OpenDaylight repositories.
89 2. git clone https://(LFID)@gerrit.onap.org/r/a/ccsdk/cds
90 3. cd cds ; mvn clean install ; cd ..
91 4. Open the cds-ui/client code for development
Ezhilarasi0f153092019-03-14 12:54:09 +053092
Ezhilarasi59620872019-03-08 16:17:22 +053093Data Flow:
94==========
Ezhilarasi0f153092019-03-14 12:54:09 +053095|image1|
Ezhilarasi59620872019-03-08 16:17:22 +053096
Ezhilarasi0f153092019-03-14 12:54:09 +053097.. |image1| image:: media/image1.png
Ezhilarasi59620872019-03-08 16:17:22 +053098 :width: 7.88889in
99 :height: 4.43750in
100
101Functional Decomposition:
102=========================
Ezhilarasi0f153092019-03-14 12:54:09 +0530103|image2|
Ezhilarasi59620872019-03-08 16:17:22 +0530104
Ezhilarasi0f153092019-03-14 12:54:09 +0530105.. |image2| image:: media/image2.png
Ezhilarasi59620872019-03-08 16:17:22 +0530106 :width: 7.88889in
107 :height: 4.43750in
108
109Controller design Studio Presentation:
110======================================
111
Ezhilarasi91e83422019-03-15 14:30:05 +0530112Details about CDS Architecture and Design detail, Please click the link.
Ezhilarasi59620872019-03-08 16:17:22 +0530113:download:`CDS_Architecture_Design.pptx`