Designer Guide

Note

How to Get Started with CDS Designer UI

If you’re new to CDS Designer UI and need to get set up, the following guides may be helpful:

Getting Started

This is your CDS Designer UI guide. No matter how experienced you are or what you want to achieve, it should cover everything you need to know — from navigating the interface to making the most of different features.

What is CDS Designer UI?

CDS Designer UI is a framework to automate the resolution of resources for instantiation and any config provisioning operation, such as day0, day1, or day2 configuration.

CDS has both design-time and run-time activities; during design time, Designer can define what actions are required for a given service, along with anything comprising the action. The design produces a CBA Package

Its content is driven from a catalog of reusable data dictionary and component, delivering a reusable and simplified self-service experience.

CDS modeling is mainly based on the TOSCA standard, using JSON as a representation.

image1

What’s new?

image2

Create full CBA packages from built-in forms without programming

image5

Customizable CBA Package actions

image3

Import old packages for edit and collaboration

image6

Easily create and manage lists of data via interface (Data Dictionary, controller catalog, and config management)

image4

Create sophisticated package workflows in a no-code graphical designer

image7

Integration between CDS UI and SDC Services

Overview of CDS Interface

Full CDS UI screens are available in InVision

image8

  1. CDS main menu: Access all CDS module list including Packages, Data Dictionary, Controller Catalog, etc.

  2. Profile: Access user profile information

  3. Module Title: See the current module name and the total number of items in the module list

  4. Module list: View all active items in module and tools for search and filtering

CBA Packages

Package List

It gives you quick access to all and most recent created/edit packages

image9

  1. Module Tabs: Access All, Deployed, Under Construction, or Archived packages

  2. Search: Search for a package by title

  3. Filter: Filter packages by package tags

  4. Package Sort: Sort packages by recent or alphanumeric (name) or version

  5. List Pagination: navigate between package list pages

  6. Create Package: Create a new CBA package

  7. Import Package: Import other packages that are created previously on CDS Editor or Designer or created by other/current user

  8. Package box: It shows a brief detail of the package and gives access to some actions of the package

  9. Deployed package indicator

  10. Package name and version

  11. More menu: Access a list of actions including Clone, Archive, Download, and Delete

  12. Last modified: Shows user name and date and time of last modifications made in the package

  13. Package Description

  14. Package Tags

  15. Collaborators: See who’s collaborating to edit in the package

  16. Configuration button: Go directly to package configuration

  17. Designer Mode: It indicates package mode (Designer, Scripting, and Generic scripting) and by clicking on it, it will load to mode screen

Create a New CBA Package

User Flow

image10

Create a New Package

You can create a new CBA Package by creating a new custom package or by import a package file that is already created before.

Note

Create/Import Package You can’t create/import a CBA package that has the same name and version of an existing package. Packages can be in the same name but in different version numbers (ex., Package one v1.0.0 & Package one v1.0.1).

Create a New Custom CBA Package From the Packages page, click on the Create Package button to navigate to Package Configuration

image11

MetaData

In MetaData Tab, select Package Mode, enter package Name, Version, Description and other configurations

image12

Once you fill in all required inputs, you can save this package by clicking the Save button in the Actions menu

image13

Package Info Box: It is in top of configurations tabs and it appears after you save a package for the first time

image14

You can continue adding package configuration or go directly to the Designer Mode screen from Package info box

All changes will be saved when you click on the Save button

To close the package configuration and go back to the Package list, navigate to the top left in breadcrumb and click the CBA Packages link or click on the Packages link in the Main menu.

Template & Mapping

You can create as many templates using

artifact-mapping-resource (Artifact Type -> Mapping) or/and artifact-template-velocity (Artifact Type -> Velocity)

image15

  1. Template name

  2. Template Section: Where you include template attributes

  3. Manage Mapping: Here the automapping process occurs to template attributes to refer to the data dictionary that will be used to resolve a particular resource.

Template Section

image16

  1. Template Type: Template is defined by one of three templates (Velocity, Jinja, Kotlin)

  2. Import Template Attributes/Parameters: You can add attributes by Import attribute list file or by

  3. Insert Template Attributes/Parameters Manually: You can insert Attributes manually in the code editor. Code editor validates attributes according to the pre-selected template type

Import Template Attributes

image17

After import attributes, you can add/edit/delete attributes in the code editor.

image18

Manage Mapping Section

image19

  1. Use current Template Instance: You can use attributes from the Template section

  2. Upload Attributes List: In case you don’t have existing attributes in Template section or have different attributes, you can upload the attributes list

Once you select the source of attributes, you get a confirmation of success fetching.

image20

Then the Mapped Table appears to show the Resource Dictionary reference.

image21

When you finish the creation process, you must click on the Finish button (1) to submit the template, or you can clear all data by click on the Clear button (2).

image22

Scripts

Allowed file type: Kotlin(kt), Python(py), Jython, Ansible

To add script file/s, you have two options:

  1. Create Script

  2. Import File

Enter file URL: Script file can be stored in server and you can add this script file by copy and paste file URL in URL input then press ENTER key from the keyboard

image23

Create a Script File

  1. File Name: Add the script file name

  2. Script Type: Choose script type (Kotlin, Jython, Ansible)

  3. Script Editor: Enter the script file content

image24

After you type the script, click on the Create Script button to save it

image25

By adding script file/s, you can: 1. Edit file: You can edit each script file from the code editor 2. Delete file

image26

Definitions

To define a data type that represents the schema of a specific type of data, you have to enrich the package to automatically generate all definition files:

  1. Enrich Package: from the package details box, click on the Enrich button

image27

Once you successfully enrich the package, all definition files will be listed.

image28

By definition file/s, you can Delete file

image29

External System Authentication Properties

In order to populate the system information within the package, you have to provide dsl_definitions

image30

Topology Template

Here you can manually add your package:

  1. Workflow that define an overall action to be taken on the service

  2. Node/Component template that is used to represent a functionality along with its contracts, such as inputs, outputs, and attributes

image31

Hello World CBA Reference