blob: 41baa99245990481330dfa50f275d99bd0d500c8 [file] [log] [blame]
JakobKriegf2d67d62020-08-17 22:36:44 +02001.. This work is a derivative of https://wiki.onap.org/display/DW/Modeling+Concepts#Concepts-66498
2.. This work is licensed under a Creative Commons Attribution 4.0
3.. International License. http://creativecommons.org/licenses/by/4.0
JakobKrieg7c3f3952020-08-04 20:46:50 +02004.. Copyright (C) 2020 Deutsche Telekom AG.
Singal, Kapil (ks220y)f1aafc42020-09-24 12:47:56 -04005.. Copyright (C) 2020 AT&T.
JakobKrieg7c3f3952020-08-04 20:46:50 +02006
7.. _cba:
8
9Controller Blueprint Archive (.cba)
Singal, Kapil (ks220y)f1aafc42020-09-24 12:47:56 -040010-----------------------------------
JakobKrieg7c3f3952020-08-04 20:46:50 +020011
12The **C**\ ontroller **B**\ lueprint **A**\ rchive is the overall service design, fully model-driven, intent based
Singal, Kapil (ks220y)f1aafc42020-09-24 12:47:56 -040013**package** needed for SELF SERVICE provisioning and configuration management automation.
JakobKrieg7c3f3952020-08-04 20:46:50 +020014
15The CBA is **.zip** file, comprised of the following folder structure, the files may vary:
16
JakobKriegc17d4b42020-08-12 11:23:52 +020017.. code-block language is required for ReadTheDocs to render code-blocks. Python set as default.
18
19.. code-block:: python
JakobKrieg7c3f3952020-08-04 20:46:50 +020020
Singal, Kapil (ks220y)f1aafc42020-09-24 12:47:56 -040021 ├── Definitions
22 ├── blueprint.json Overall TOSCA service template (workflow + node_template)
23 ├── artifact_types.json (generated by enrichment)
24 ├── data_types.json (generated by enrichment)
25 ├── policy_types.json (generated by enrichment)
26 ├── node_types.json (generated by enrichment)
27 ├── relationship_types.json (generated by enrichment)
28 ├── resources_definition_types.json (generated by enrichment, based on Data Dictionaries)
29 └── *-mapping.json One per Template
30
31 ├── Environments Contains *.properties files as required by the service
32
33 ├── Plans Contains Directed Graph
34
35 ├── Tests Contains uat.yaml file for testing cba actions within a cba package
36
37 ├── Scripts Contains scripts
38 ├── python Python scripts
39 └── kotlin Kotlin scripts
40
41 ├── TOSCA-Metadata
42 └── TOSCA.meta Meta-data of overall package
43
44 └── Templates Contains combination of mapping and template
JakobKrieg7c3f3952020-08-04 20:46:50 +020045
Singal, Kapil (ks220y)f1aafc42020-09-24 12:47:56 -040046To process a CBA for any service we need to enrich it first. This will gather all the node- type, data-type,
JakobKrieg7c3f3952020-08-04 20:46:50 +020047artifact-type, data-dictionary definitions provided in the blueprint.json.