summaryrefslogtreecommitdiffstats
path: root/kubernetes/cds/README.md
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2019-03-01 09:26:13 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2019-03-04 14:02:06 +0100
commit7acab5645e0fa68f45941c8f1358307fb2e10c8f (patch)
tree7de3629aea41b27f47db4526b3b14eece40b26e2 /kubernetes/cds/README.md
parent54a0a8a2a2f6e5ef7debf616de0abbc1c421a231 (diff)
Add CDS as new chart
CDS (Common Design Studio) was put in common but with the arrival of a chart that hosts the UI, it seems better to have it into its own "root" chart. For now, CDS chart is being installed if it's set as enabled in SDNC. Change-Id: I73bdcfaeb29b796793374513e152244a41e82d52 Issue-ID: CCSDK-1015 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Diffstat (limited to 'kubernetes/cds/README.md')
-rw-r--r--kubernetes/cds/README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/kubernetes/cds/README.md b/kubernetes/cds/README.md
new file mode 100644
index 0000000000..6619b8f2c3
--- /dev/null
+++ b/kubernetes/cds/README.md
@@ -0,0 +1,20 @@
+# CDS
+
+## Introduction
+
+CDS stands for Common Design Studio. It helps developping service specific
+artifacts for pre instanciation and post configuration.
+
+Full description is on [ONAP Read the Doc](https://docs.onap.org/en/latest/submodules/ccsdk/cds.git/docs/index.html).
+
+Charts has an UI and blueprints processort and controllers.
+Trigger to enable it is on SDNC chart has of today.
+
+## Requirements
+
+CDS needs the following ONAP projects to work:
+
+- AAI
+- SO
+- SDC
+- SDNC
' href='#n193'>193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344
/*-
 * ============LICENSE_START=======================================================
 * SDC
 * ================================================================================
 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
 * ================================================================================
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ============LICENSE_END=========================================================
 */

import {ClickedOutsideDirective} from "../directives/clicked-outside/clicked-outside-directive";
import {LoaderDirective} from "../directives/loader/loader-directive";
import {UserHeaderDetailsDirective} from "../directives/user-header-details/user-header-details-directive";
import {FileTypeDirective} from "../directives/file-type/file-type";
import {DownloadArtifactDirective} from "../directives/download-artifact/download-artifact";
import {EllipsisDirective} from "../directives/ellipsis/ellipsis-directive";
import {InvalidCharactersDirective} from "../directives/invalid-characters/invalid-characters";
import {ExpandCollapseDirective} from "../directives/utils/expand-collapse/expand-collapse";
import {PerfectScrollerDirective} from "../directives/perfect-scrollbar/angular-perfect-scrollbar";
import {SdcModalDirective} from "../directives/modal/sdc-modal";
import {FileOpenerDirective} from "../directives/file-opener/file-opener";
import {FileUploadDirective} from "../directives/file-upload/file-upload";
import {StructureTreeDirective} from "../directives/structure-tree/structure-tree-directive";
import {SmartTooltipDirective} from "../directives/utils/smart-tooltip/smart-tooltip";
import {TagDirective} from "../directives/tag/tag-directive";
import {SdcTagsDirective} from "../directives/utils/sdc-tags/sdc-tags";
import {SdcKeyboardEventsDirective} from "../directives/utils/sdc-keyboard-events/sdc-keyboard-events";
import {ExpandCollapseMenuBoxDirective} from "../directives/utils/expand-collapse-menu-box/expand-collaps-menu-box";
import {PunchOutDirective} from "../directives/punch-out/punch-out";
import {CustomValidationDirective} from "../directives/custom-validation/custom-validation";
import {EcompHeaderDirective} from "../directives/ecomp-header/ecomp-header";
import {EditNamePopoverDirective} from "../directives/edit-name-popover/edit-name-popover-directive";
import {DataTypeFieldsStructureDirective} from "../directives/property-types/data-type-fields-structure/data-type-fields-structure";
import {TypeMapDirective} from "../directives/property-types/type-map/type-map-directive";
import {TypeListDirective} from "../directives/property-types/type-list/type-list-directive";
import {
  SelectDataTypeFieldsStructureDirective
} from "../directives/select-property-types/select-data-type-fields-structure/select-data-type-fields-structure";
import {SelectTypeMapDirective} from "../directives/select-property-types/select-type-map/select-type-map-directive";
import {SelectTypeListDirective} from "../directives/select-property-types/select-type-list/select-type-list-directive";
import {ValidationOnLoadDirective} from "../directives/utils/validation-on-load/validation-on-load";
import {InfoTooltipDirective} from "../directives/info-tooltip/info-tooltip";
import {SdcTabsDirective} from "../directives/sdc-tabs/sdc-tabs-directive";
import {InnerSdcSingleTabDirective, SdcSingleTabDirective} from "../directives/sdc-tabs/sdc-single-tab/sdc-single-tab-directive";
import {ExpandCollapseListHeaderDirective} from "../directives/utils/expand-collapse-list-header/expand-collapse-list-header";
import {JsonExportExcelDirective} from "../directives/export-json-to-excel/export-json-to-excel";
import {TopProgressDirective} from "../directives/layout/top-progress/top-progress";
import {CheckboxElementDirective} from "../directives/elements/checkbox/checkbox";
import {RadiobuttonElementDirective} from "../directives/elements/radiobutton/radiobutton";
import {OnLastRepeatDirective} from "../directives/events/on-last-repeat/on-last-repeat";
import {InputRowDirective} from "../directives/inputs-and-properties/inputs/input-row-directive";
import {PropertyRowDirective} from "../directives/inputs-and-properties/properties/property-row-directive";
import {NodesFactory} from "../models/graph/nodes/nodes-factory";
import {LinksFactory} from "../models/graph/graph-links/links-factory";
import {CapabilitiesListDirective} from "../directives/capabilities-and-requirements/capability/capabilities-list-directive";
import {RequirementsListDirective} from "../directives/capabilities-and-requirements/requirement/requirements-list-directive";
import {PreventDoubleClickDirective} from "../directives/prevent-double-click/prevent-double-click";
// *** NG2 Components (downgraded) *** //
import {downgradeComponent} from "@angular/upgrade/static";
import {MenuListNg2Component} from "../ng2/components/downgrade-wrappers/menu-list-ng2/menu-list-ng2.component";
import {TopNavComponent} from "../ng2/components/layout/top-nav/top-nav.component";
import {ZoneContainerComponent} from "../ng2/pages/composition/graph/canvas-zone/zone-container.component";
import {ZoneInstanceComponent} from "../ng2/pages/composition/graph/canvas-zone/zone-instance/zone-instance.component";
import {CompositionPanelComponent} from 'app/ng2/pages/composition/panel/composition-panel.component';
import {PropertiesAssignmentComponent} from "../ng2/pages/properties-assignment/properties-assignment.page.component";
import {SearchWithAutoCompleteComponent} from "../ng2/components/ui/search-with-autocomplete/search-with-autocomplete.component";
import {ServicePathSelectorComponent} from '../ng2/pages/composition/graph/service-path-selector/service-path-selector.component';
import {MultilineEllipsisComponent} from "../ng2/shared/multiline-ellipsis/multiline-ellipsis.component";
import {InterfaceOperationComponent} from '../ng2/pages/interface-operation/interface-operation.page.component';
import {PluginFrameComponent} from "../ng2/components/ui/plugin/plugin-frame.component";
import {TileComponent} from "../ng2/components/ui/tile/tile.component";
import {CompositionPageComponent} from "../ng2/pages/composition/composition-page.component";
import {CatalogComponent} from "../ng2/pages/catalog/catalog.component";
import {HomeComponent} from "../ng2/pages/home/home.component";
import {PluginContextViewPageComponent} from "../ng2/pages/plugins/plugin-context-view/plugin-context-view.page.component";
import {PluginTabViewPageComponent} from "../ng2/pages/plugins/plugin-tab-view/plugin-tab-view.page.component";
import {CompositionGraphComponent} from "../ng2/pages/composition/graph/composition-graph.component";
import {DeploymentPageComponent} from "../ng2/pages/workspace/deployment/deployment-page.component";
import {ActivityLogComponent} from "../ng2/pages/workspace/activity-log/activity-log.component";
import {ToscaArtifactPageComponent} from "../ng2/pages/workspace/tosca-artifacts/tosca-artifact-page.component";
import {InformationArtifactPageComponent} from "../ng2/pages/workspace/information-artifact/information-artifact-page.component";
import {AttributesComponent} from "../view-models/workspace/tabs/attributes/attributes.component";
import {DeploymentArtifactsPageComponent} from "../ng2/pages/workspace/deployment-artifacts/deployment-artifacts-page.component";
import {ReqAndCapabilitiesComponent} from "../ng2/pages/workspace/req-and-capabilities/req-and-capabilities.component";
import {DistributionComponent} from '../ng2/pages/workspace/disribution/distribution.component';
import {AttributesOutputsComponent} from "../ng2/pages/attributes-outputs/attributes-outputs.page.component";
import {InterfaceDefinitionComponent} from "../ng2/pages/interface-definition/interface-definition.page.component";
import {ToscaFunctionComponent} from '../ng2/pages/properties-assignment/tosca-function/tosca-function.component';
import {ConstraintsComponent} from '../ng2/pages/properties-assignment/constraints/constraints.component';
import {TypeWorkspaceComponent} from "../ng2/pages/type-workspace/type-workspace.component";
import {TypeWorkspaceGeneralComponent} from "../ng2/pages/type-workspace/type-workspace-general/type-workspace-general.component";

let moduleName: string = 'Sdc.Directives';
let directiveModule: ng.IModule = angular.module(moduleName, []);

directiveModule.directive('clickedOutside', ClickedOutsideDirective.factory);
directiveModule.directive('loader', LoaderDirective.factory);
directiveModule.directive('userHeaderDetails', UserHeaderDetailsDirective.factory);
directiveModule.directive('ellipsis', EllipsisDirective.factory);
directiveModule.directive('downloadArtifact', DownloadArtifactDirective.factory);
directiveModule.directive('fileType', FileTypeDirective.factory);
directiveModule.directive('invalidCharacters', InvalidCharactersDirective.factory);
directiveModule.directive('perfectScrollbar', PerfectScrollerDirective.factory);
directiveModule.directive('expandCollapse', ExpandCollapseDirective.factory);
directiveModule.directive('ng1Modal', SdcModalDirective.factory);
directiveModule.directive('fileOpener', FileOpenerDirective.factory);
directiveModule.directive('fileUpload', FileUploadDirective.factory);
directiveModule.directive('structureTree', StructureTreeDirective.factory);
directiveModule.directive('sdcSmartTooltip', SmartTooltipDirective.factory);
directiveModule.directive('sdcTag', TagDirective.factory);
directiveModule.directive('sdcTags', SdcTagsDirective.factory);
directiveModule.directive('sdcKeyboardEvents', SdcKeyboardEventsDirective.factory);
directiveModule.directive('expandCollapseMenuBox', ExpandCollapseMenuBoxDirective.factory);
directiveModule.directive('punchOut', PunchOutDirective.factory);
directiveModule.directive('customValidation', CustomValidationDirective.factory);
directiveModule.directive('ecompHeader', EcompHeaderDirective.factory);
directiveModule.directive('editNamePopover', EditNamePopoverDirective.factory);
directiveModule.directive('fieldsStructure', DataTypeFieldsStructureDirective.factory);
directiveModule.directive('typeMap', TypeMapDirective.factory);
directiveModule.directive('typeList', TypeListDirective.factory);
directiveModule.directive('selectFieldsStructure', SelectDataTypeFieldsStructureDirective.factory);
directiveModule.directive('selectTypeMap', SelectTypeMapDirective.factory);
directiveModule.directive('selectTypeList', SelectTypeListDirective.factory);
directiveModule.directive('infoTooltip', InfoTooltipDirective.factory);
directiveModule.directive('validationOnLoad', ValidationOnLoadDirective.factory);
directiveModule.directive('ng1Tabs', SdcTabsDirective.factory);
directiveModule.directive('sdcSingleTab', SdcSingleTabDirective.factory);
directiveModule.directive('innerSdcSingleTab', InnerSdcSingleTabDirective.factory);
directiveModule.directive('jsonExportExcel', JsonExportExcelDirective.factory);
directiveModule.directive('expandCollapseListHeader', ExpandCollapseListHeaderDirective.factory);
directiveModule.directive('preventDoubleClick', PreventDoubleClickDirective.factory);
//
//
// // Layouts
directiveModule.directive('topProgress', TopProgressDirective.factory);
//
// // Elements
directiveModule.directive('ng1Checkbox', CheckboxElementDirective.factory);
directiveModule.directive('sdcRadioButton', RadiobuttonElementDirective.factory);
//
// // Events
directiveModule.directive('onLastRepeat', OnLastRepeatDirective.factory);
//
// //Inputs & Properties
directiveModule.directive('inputRow', InputRowDirective.factory);
directiveModule.directive('propertyRow', PropertyRowDirective.factory);
//
//
// // ------------------------------------------- Composition & Deployment Graphs------------------------------------------//
//
// //Util service for Graph
directiveModule.service('NodesFactory', NodesFactory);
directiveModule.service('LinksFactory', LinksFactory);


//Compoisiton right tab directives
directiveModule.directive('capabilitiesList', CapabilitiesListDirective.factory);
directiveModule.directive('requirementsList', RequirementsListDirective.factory);


directiveModule.directive('menuListNg2', downgradeComponent({
  component: MenuListNg2Component,
  inputs: ['props']
}) as angular.IDirectiveFactory);

directiveModule.directive('topNav', downgradeComponent({
  component: TopNavComponent,
  inputs: ['version', 'menuModel', 'topLvlSelectedIndex', 'hideSearch', 'searchTerm', 'notificationIconCallback', 'unsavedChanges', 'unsavedChangesCallback'],
  outputs: ['searchTermChange']
}) as ng.IDirectiveFactory);

directiveModule.directive('ng2ZoneContainer', downgradeComponent({
  component: ZoneContainerComponent,
  inputs: ['title', 'count', 'type', 'visible', 'minimized'],
  outputs: ['minimize', 'backgroundClick']
}) as angular.IDirectiveFactory);

directiveModule.directive('ng2ZoneInstance', downgradeComponent({
  component: ZoneInstanceComponent,
  inputs: ['zoneInstance', 'isActive', 'activeInstanceMode', 'defaultIconText', 'isViewOnly', 'hidden', 'forceSave'],
  outputs: ['modeChange', 'tagHandleClick', 'assignmentSaveStart', 'assignmentSaveComplete']
}) as angular.IDirectiveFactory);

directiveModule.directive('ng2CompositionPanel', downgradeComponent({
  component: CompositionPanelComponent,
  inputs: ['isViewOnly', 'isLoading', 'isCertified', 'selectedZoneInstanceId', 'selectedZoneInstanceType', 'selectedZoneInstanceName', 'topologyTemplate'],
}) as angular.IDirectiveFactory);

directiveModule.directive('propertiesAssignment', downgradeComponent({
  component: PropertiesAssignmentComponent
}) as angular.IDirectiveFactory);

directiveModule.directive('compositionPage', downgradeComponent({
  component: CompositionPageComponent
}) as angular.IDirectiveFactory);

directiveModule.directive('activityLog', downgradeComponent({
  component: ActivityLogComponent
}) as angular.IDirectiveFactory);

directiveModule.directive('distribution', downgradeComponent({
  component: DistributionComponent
}) as angular.IDirectiveFactory);

directiveModule.directive('attributes', downgradeComponent({
  component: AttributesComponent
}) as angular.IDirectiveFactory);

directiveModule.directive('attributesOutputs', downgradeComponent({
  component: AttributesOutputsComponent
}) as angular.IDirectiveFactory);

directiveModule.directive('reqAndCapabilities', downgradeComponent({
  component: ReqAndCapabilitiesComponent
}) as angular.IDirectiveFactory);

directiveModule.directive('ng2SearchWithAutocomplete', downgradeComponent({
  component: SearchWithAutoCompleteComponent,
  inputs: ['searchPlaceholder', 'searchBarClass', 'autoCompleteValues'],
  outputs: ['searchChanged', 'searchButtonClicked']
}) as angular.IDirectiveFactory);

directiveModule.directive('ng2ServicePathSelector', downgradeComponent({
  component: ServicePathSelectorComponent,
  inputs: ['drawPath', 'deletePaths', 'service', 'selectedPathId'],
  outputs: []
}) as angular.IDirectiveFactory);

directiveModule.directive('interfaceOperation', downgradeComponent({
  component: InterfaceOperationComponent,
  inputs: ['component', 'readonly'],
  outputs: []
}) as angular.IDirectiveFactory);

directiveModule.directive('interfaceDefinition', downgradeComponent({
  component: InterfaceDefinitionComponent,
  inputs: ['component', 'readonly'],
  outputs: []
}) as angular.IDirectiveFactory);

directiveModule.directive('ng2MultilineEllipsis', downgradeComponent({
  component: MultilineEllipsisComponent,
  inputs: ['lines', 'lineHeight', 'className'],
  outputs: ['hasEllipsisChanged']
}) as angular.IDirectiveFactory);

directiveModule.directive('ng2UiTile', downgradeComponent({
  component: TileComponent,
  inputs: ['component'],
  outputs: ['onTileClick']
}) as angular.IDirectiveFactory);

directiveModule.directive('pluginFrame', downgradeComponent({
  component: PluginFrameComponent,
  inputs: ['plugin', 'queryParams'],
  outputs: ['onLoadingDone']
}) as angular.IDirectiveFactory);

directiveModule.directive('catalogPage', downgradeComponent({
  component: CatalogComponent,
  inputs: [],
  outputs: []
}) as angular.IDirectiveFactory);

directiveModule.directive('homePage', downgradeComponent({
  component: HomeComponent,
  inputs: [],
  outputs: []
}) as angular.IDirectiveFactory);

directiveModule.directive('pluginContextView', downgradeComponent({
  component: PluginContextViewPageComponent,
  inputs: [],
  outputs: []
}) as angular.IDirectiveFactory);

directiveModule.directive('pluginTabView', downgradeComponent({
  component: PluginTabViewPageComponent,
  inputs: [],
  outputs: []
}) as angular.IDirectiveFactory);

directiveModule.directive('compositionGraph', downgradeComponent({
  component: CompositionGraphComponent,
  inputs: ['topologyTemplate', 'isViewOnly'],
  outputs: []
}) as angular.IDirectiveFactory);
directiveModule.directive('toscaArtifactPage', downgradeComponent({
  component: ToscaArtifactPageComponent,
  inputs: [],
  outputs: []
}) as angular.IDirectiveFactory);

directiveModule.directive('deploymentPage', downgradeComponent({
  component: DeploymentPageComponent,
  inputs: [],
  outputs: []
}) as angular.IDirectiveFactory);

directiveModule.directive('informationArtifactPage', downgradeComponent({
  component: InformationArtifactPageComponent,
  inputs: [],
  outputs: []
}) as angular.IDirectiveFactory);

directiveModule.directive('deploymentArtifactPage', downgradeComponent({
  component: DeploymentArtifactsPageComponent,
  inputs: [],
  outputs: []
}) as angular.IDirectiveFactory);

directiveModule.directive('toscaFunction', downgradeComponent({
  component: ToscaFunctionComponent,
  inputs: ['componentInstanceMap', 'property'],
  outputs: []
}) as angular.IDirectiveFactory);

directiveModule.directive('appConstraints', downgradeComponent({
  component: ConstraintsComponent,
  inputs: ['property', 'isViewOnly'],
  outputs: ['onConstraintChange']
}) as angular.IDirectiveFactory);

directiveModule.directive('appTypeWorkspace', downgradeComponent({
  component: TypeWorkspaceComponent,
  inputs: [],
  outputs: []
}) as angular.IDirectiveFactory);

directiveModule.directive('appTypeWorkspaceGeneral', downgradeComponent({
  component: TypeWorkspaceGeneralComponent,
  inputs: [],
  outputs: []
}) as angular.IDirectiveFactory);