summaryrefslogtreecommitdiffstats
path: root/catalog-ui/app/scripts/modules
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2017-06-09 03:19:04 +0300
committerMichael Lando <ml636r@att.com>2017-06-09 03:19:04 +0300
commited64b5edff15e702493df21aa3230b81593e6133 (patch)
treea4cb01fdaccc34930a8db403a3097c0d1e40914b /catalog-ui/app/scripts/modules
parent280f8015d06af1f41a3ef12e8300801c7a5e0d54 (diff)
[SDC-29] catalog 1707 rebase commit.
Change-Id: I43c3dc5cf44abf5da817649bc738938a3e8388c1 Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'catalog-ui/app/scripts/modules')
-rw-r--r--catalog-ui/app/scripts/modules/directive-module.ts106
-rw-r--r--catalog-ui/app/scripts/modules/filters.ts44
-rw-r--r--catalog-ui/app/scripts/modules/service-module.ts64
-rw-r--r--catalog-ui/app/scripts/modules/utils.ts39
-rw-r--r--catalog-ui/app/scripts/modules/view-model-module.ts96
5 files changed, 0 insertions, 349 deletions
diff --git a/catalog-ui/app/scripts/modules/directive-module.ts b/catalog-ui/app/scripts/modules/directive-module.ts
deleted file mode 100644
index 70a15378fa..0000000000
--- a/catalog-ui/app/scripts/modules/directive-module.ts
+++ /dev/null
@@ -1,106 +0,0 @@
-/*-
- * ============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=========================================================
- */
-/// <reference path="../references"/>
-module Sdc {
- let moduleName:string = 'Sdc.Directives';
- let directiveModule:ng.IModule = angular.module(moduleName, []);
-
- directiveModule.directive('clickedOutside', Directives.ClickedOutsideDirective.factory);
- directiveModule.directive('loader', Directives.LoaderDirective.factory);
- directiveModule.directive('userHeaderDetails', Directives.UserHeaderDetailsDirective.factory);
- directiveModule.directive('ellipsis', Directives.EllipsisDirective.factory);
- directiveModule.directive('downloadArtifact', Directives.DownloadArtifactDirective.factory);
- directiveModule.directive('fileType', Directives.FileTypeDirective.factory);
- directiveModule.directive('invalidCharacters', Directives.InvalidCharactersDirective.factory);
- directiveModule.directive('tutorial', Directives.TutorialDirective.factory);
- directiveModule.directive('perfectScrollbar', Directives.PerfectScrollerDirective.factory);
- directiveModule.directive('expandCollapse', Directives.ExpandCollapseDirective.factory);
- directiveModule.directive('sdcModal', Directives.SdcModalDirective.factory);
- directiveModule.directive('sdcMessages', Directives.SdcMessagesDirective.factory);
- directiveModule.directive('sdcMessage', Directives.SdcMessageDirective.factory);
- directiveModule.directive('sdcErrorTooltip', Directives.SdcErrorTooltipDirective.factory);
- directiveModule.directive('fileOpener', Directives.FileOpenerDirective.factory);
- directiveModule.directive('fileUpload', Directives.FileUploadDirective.factory);
- directiveModule.directive('structureTree', Directives.StructureTreeDirective.factory);
- directiveModule.directive('sdcWizardStep', Directives.SdcWizardStepDirective.factory);
- directiveModule.directive('sdcPageSelector', Directives.PageSelectorDirective.factory);
- directiveModule.directive('sdcSmartTooltip', Directives.SmartTooltipDirective.factory);
- directiveModule.directive('printGraphScreen', Directives.PrintGraphScreenDirective.factory);
- directiveModule.directive('sdcTag', Directives.TagDirective.factory);
- directiveModule.directive('sdcTags', Directives.SdcTagsDirective.factory);
- directiveModule.directive('sdcKeyboardEvents', Directives.SdcKeyboardEventsDirective.factory);
- directiveModule.directive('expandCollapseMenuBox', Directives.ExpandCollapseMenuBoxDirective.factory);
- directiveModule.directive('sdcPageScroll', Directives.SdcPageScrollDirective.factory);
- directiveModule.directive('punchOut', Directives.PunchOutDirective.factory);
- directiveModule.directive('relationMenu', Directives.RelationMenuDirective.factory);
- directiveModule.directive('customValidation', Directives.CustomValidationDirective.factory);
- directiveModule.directive('ecompHeader', Directives.EcompHeaderDirective.factory);
- directiveModule.directive('editNamePopover', Directives.EditNamePopoverDirective.factory);
- directiveModule.directive('fieldsStructure', Directives.DataTypeFieldsStructureDirective.factory);
- directiveModule.directive('typeMap', Directives.TypeMapDirective.factory);
- directiveModule.directive('typeList', Directives.TypeListDirective.factory);
- directiveModule.directive('infoTooltip', Directives.InfoTooltipDirective.factory);
-
- directiveModule.directive('sdcTabs', Directives.SdcTabsDirective.factory);
- directiveModule.directive('sdcSingleTab', Directives.SdcSingleTabDirective.factory);
- directiveModule.directive('innerSdcSingleTab', Directives.InnerSdcSingleTabDirective.factory);
-
- //composition
- directiveModule.directive('palette', Directives.Palette.factory);
- directiveModule.directive('compositionGraph', Directives.CompositionGraph.factory);
-
- //deployment
- directiveModule.directive('deploymentGraph', Directives.DeploymentGraph.factory);
-
- // Layouts
- directiveModule.directive('topNav', Directives.TopNavDirective.factory);
- directiveModule.directive('topProgress', Directives.TopProgressDirective.factory);
-
- // Elements
- directiveModule.directive('sdcCheckbox', Directives.CheckboxElementDirective.factory);
- directiveModule.directive('sdcRadioButton', Directives.RadiobuttonElementDirective.factory);
-
- //Graph Utils - Common
- directiveModule.service('CommonGraphUtils', Sdc.Graph.Utils.CommonGraphUtils);
-
- //Composition Graph Utils
- directiveModule.service('CompositionGraphNodesUtils', Sdc.Graph.Utils.CompositionGraphNodesUtils);
- directiveModule.service('CompositionGraphGeneralUtils', Sdc.Graph.Utils.CompositionGraphGeneralUtils);
- directiveModule.service('CompositionGraphLinkUtils', Sdc.Graph.Utils.CompositionGraphLinkUtils);
- directiveModule.service('MatchCapabilitiesRequirementsUtils', Sdc.Graph.Utils.MatchCapabilitiesRequirementsUtils);
-
- //Composition Graph Utils
- directiveModule.service('DeploymentGraphGeneralUtils', Sdc.Graph.Utils.DeploymentGraphGeneralUtils);
-
- //Util service for graph
- directiveModule.service('NodesFactory', Sdc.Utils.NodesFactory);
- directiveModule.service('LinksFactory', Sdc.Utils.LinksFactory);
- directiveModule.service('ImageCreatorService', Sdc.Utils.ImageCreatorService);
-
- //directiveModule.service('GraphUtilsServerUpdateQueue', Sdc.Directives.GraphUtilsServerUpdateQueue);
-
- //controller for go.js
- directiveModule.controller('SdcWizardStepDirectiveController', Directives.SdcWizardStepDirectiveController);
-
- // Events
- directiveModule.directive('onLastRepeat', Directives.OnLastRepeatDirective.factory);
-}
-
-
diff --git a/catalog-ui/app/scripts/modules/filters.ts b/catalog-ui/app/scripts/modules/filters.ts
deleted file mode 100644
index 1bf31507fd..0000000000
--- a/catalog-ui/app/scripts/modules/filters.ts
+++ /dev/null
@@ -1,44 +0,0 @@
-/*-
- * ============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=========================================================
- */
-/// <reference path="../references"/>
-module Sdc {
-
- let moduleName: string = 'Sdc.Filters';
- let filterModule: ng.IModule = angular.module(moduleName, []);
- filterModule.filter("resourceName", Sdc.Filters.ResourceNameFilter);
- filterModule.filter("graphResourceName", Sdc.Filters.GraphResourceNameFilter);
- filterModule.filter("categoryNameFilter", Sdc.Filters.CategoryNameFilter);
- filterModule.filter("entityFilter", Sdc.Filters.EntityFilter);
- filterModule.filter("truncate", Sdc.Filters.TruncateFilter);
- filterModule.filter("catalogStatusFilter", Sdc.Filters.CatalogStatusFilter);
- filterModule.filter("categoryTypeFilter", Sdc.Filters.CategoryTypeFilter);
- filterModule.filter("stringToDateFilter", Sdc.Filters.StringToDateFilter);
- filterModule.filter("categoryIcon", Sdc.Filters.CategoryIconFilter);
- filterModule.filter("capitalizeFilter", Sdc.Filters.CapitalizeFilter);
- filterModule.filter("underscoreLessFilter", Sdc.Filters.UnderscoreLessFilter);
- filterModule.filter("resourceTypeName", Sdc.Filters.ResourceTypeFilter);
- filterModule.filter("relationName", Sdc.Filters.RelationNameFilter);
- filterModule.filter("trim", Sdc.Filters.TrimFilter);
- filterModule.filter("clearWhiteSpaces", Sdc.Filters.ClearWhiteSpacesFilter);
- filterModule.filter('testsId', Sdc.Filters.TestsIdFilter);
-
- //Added by Ikram
- filterModule.filter("productCategoryNameFilter", Sdc.Filters.ProductCategoryNameFilter);
-}
diff --git a/catalog-ui/app/scripts/modules/service-module.ts b/catalog-ui/app/scripts/modules/service-module.ts
deleted file mode 100644
index c77e8b0ad4..0000000000
--- a/catalog-ui/app/scripts/modules/service-module.ts
+++ /dev/null
@@ -1,64 +0,0 @@
-/*-
- * ============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=========================================================
- */
-/// <reference path="../references"/>
-module Sdc {
- let moduleName:string = 'Sdc.Services';
- let serviceModule:ng.IModule = angular.module(moduleName, []);
-
- serviceModule.service('Sdc.Services.ConfigurationUiService', Services.ConfigurationUiService);
- serviceModule.service('Sdc.Services.CookieService', Services.CookieService);
- serviceModule.service('Sdc.Services.EntityService', Services.EntityService);
- serviceModule.service('Sdc.Services.AvailableIconsService', Services.AvailableIconsService);
- serviceModule.service('Sdc.Services.RelationIconsService', Services.RelationIconsService);
- serviceModule.service('Sdc.Services.UrlToBase64Service', Services.UrlToBase64Service);
- serviceModule.service('Sdc.Services.CacheService', Services.CacheService);
- serviceModule.service('Sdc.Services.HeaderInterceptor', Services.HeaderInterceptor);
- serviceModule.service('Sdc.Services.HttpErrorInterceptor', Services.HttpErrorInterceptor);
- serviceModule.service('Sdc.Services.SharingService', Services.SharingService);
- serviceModule.service('Sdc.Services.SdcVersionService', Services.SdcVersionService);
- serviceModule.service('Sdc.Services.ActivityLogService', Services.ActivityLogService);
- serviceModule.service('Sdc.Services.OnboardingService', Services.OnboardingService);
- serviceModule.service('Sdc.Services.EcompHeaderService', Services.EcompHeaderService);
- serviceModule.service('Sdc.Services.DataTypesService', Services.DataTypesService);
-
- //Components Services
- serviceModule.service('Sdc.Services.Components.ComponentService', Services.Components.ComponentService);
- serviceModule.service('Sdc.Services.Components.ServiceService', Services.Components.ServiceService);
- serviceModule.service('Sdc.Services.Components.ResourceService', Services.Components.ResourceService);
- serviceModule.service('Sdc.Services.Components.ProductService', Services.Components.ProductService);
- serviceModule.service('LeftPaletteLoaderService', Services.Components.LeftPaletteLoaderService);
- serviceModule.service('EventListenerService', Services.EventListenerService);
- serviceModule.service('Sdc.Services.ProgressService', Services.ProgressService);
-
- //Utils
- serviceModule.service('ArtifactsUtils', Sdc.Utils.ArtifactsUtils);
- serviceModule.service('FileUtils', Sdc.Utils.FileUtils);
- serviceModule.service('ValidationUtils', Sdc.Utils.ValidationUtils);
-
-
-
-
- serviceModule.service('AngularJSBridge', Sdc.Services.AngularJSBridge);
- serviceModule.service('LoaderService', Sdc.Services.LoaderService);
-
- serviceModule.factory('Sdc.Services.UserResourceService', Services.UserResourceService.getResource);
- serviceModule.factory('Sdc.Services.CategoryResourceService', Services.CategoryResourceService.getResource);
-
-}
diff --git a/catalog-ui/app/scripts/modules/utils.ts b/catalog-ui/app/scripts/modules/utils.ts
deleted file mode 100644
index fd5eaf2a4b..0000000000
--- a/catalog-ui/app/scripts/modules/utils.ts
+++ /dev/null
@@ -1,39 +0,0 @@
-/*-
- * ============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=========================================================
- */
-/**
- * Created by obarda on 2/11/2016.
- */
-/// <reference path="../references"/>
-module Sdc {
- let moduleName:string = 'Sdc.Utils';
- let serviceModule:ng.IModule = angular.module(moduleName, []);
-
-
-
- //Utils
- serviceModule.service('ComponentFactory', Sdc.Utils.ComponentFactory);
- serviceModule.service('ComponentInstanceFactory', Sdc.Utils.ComponentInstanceFactory);
- serviceModule.service('ChangeLifecycleStateHandler', Sdc.Utils.ChangeLifecycleStateHandler);
- serviceModule.service('ModalsHandler', Sdc.Utils.ModalsHandler);
- serviceModule.service('MenuHandler', Sdc.Utils.MenuHandler);
-
-
-
-}
diff --git a/catalog-ui/app/scripts/modules/view-model-module.ts b/catalog-ui/app/scripts/modules/view-model-module.ts
deleted file mode 100644
index 19cf5b45f4..0000000000
--- a/catalog-ui/app/scripts/modules/view-model-module.ts
+++ /dev/null
@@ -1,96 +0,0 @@
-/*-
- * ============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=========================================================
- */
-/// <reference path="../references"/>
-module Sdc {
- let moduleName: string = 'Sdc.ViewModels';
- let viewModelModule: ng.IModule = angular.module(moduleName, []);
-
- viewModelModule
- .controller(moduleName+'.DashboardViewModel', ViewModels.DashboardViewModel)
- .controller(moduleName+'.CompositionViewModel', ViewModels.CompositionViewModel)
-
- .controller(moduleName+'.DetailsViewModel', ViewModels.DetailsViewModel)
- .controller(moduleName+'.ResourceArtifactsViewModel', ViewModels.ResourceArtifactsViewModel)
- .controller(moduleName+'.PropertyFormViewModel', ViewModels.PropertyFormViewModel)
- .controller(moduleName+'.ArtifactResourceFormViewModel', ViewModels.ArtifactResourceFormViewModel)
- .controller(moduleName+'.AttributeFormViewModel', ViewModels.AttributeFormViewModel)
- .controller(moduleName+'.ResourcePropertiesViewModel', ViewModels.ResourcePropertiesViewModel)
- .controller(moduleName+'.CatalogViewModel', ViewModels.CatalogViewModel)
- .controller(moduleName+'.OnboardVendorViewModel', ViewModels.OnboardVendorViewModel)
- .controller(moduleName+'.DistributionViewModel', ViewModels.DistributionViewModel)
- .controller(moduleName+'.SupportViewModel', ViewModels.SupportViewModel)
- .controller(moduleName+'.ConfirmationModalViewModel', ViewModels.ConfirmationModalViewModel)
- .controller(moduleName+'.EmailModalViewModel', ViewModels.EmailModalViewModel)
- .controller(moduleName+'.MessageModalViewModel', ViewModels.MessageModalViewModel)
- .controller(moduleName+'.ServerMessageModalViewModel', ViewModels.ServerMessageModalViewModel)
- .controller(moduleName+'.ClientMessageModalViewModel', ViewModels.ClientMessageModalViewModel)
- .controller(moduleName+'.ErrorViewModel', ViewModels.ErrorViewModel)
- .controller(moduleName+'.ComponentViewerViewModel', ViewModels.ComponentViewerViewModel)
- .controller(moduleName+'.RelationsViewModel', ViewModels.RelationsViewModel)
- .controller(moduleName+'.ResourceInstanceNameViewModel', ViewModels.ResourceInstanceNameViewModel)
- .controller(moduleName+'.WelcomeViewModel', ViewModels.WelcomeViewModel)
- .controller(moduleName+'.PreLoadingViewModel', ViewModels.PreLoadingViewModel)
- .controller(moduleName+'.TutorialEndViewModel', ViewModels.TutorialEndViewModel)
- .controller(moduleName+'.AdminDashboardViewModel', ViewModels.AdminDashboardViewModel)
- .controller(moduleName+'.EnvParametersFormViewModel', ViewModels.EnvParametersFormViewModel)
- .controller(moduleName+'.StructureViewModel', ViewModels.StructureViewModel)
- .controller(moduleName+'.AddCategoryModalViewModel', ViewModels.AddCategoryModalViewModel)
- .controller(moduleName+'.DashboardCoverViewModel', ViewModels.DashboardCoverViewModel)
- .controller(moduleName+'.UserManagementViewModel', ViewModels.UserManagementViewModel)
- .controller(moduleName+'.CategoryManagementViewModel', ViewModels.CategoryManagementViewModel)
- .controller(moduleName+'.WelcomeStepsControllerViewModel', ViewModels.WelcomeStepsControllerViewModel)
- .controller(moduleName+'.OnboardingModalViewModel', ViewModels.OnboardingModalViewModel)
- .controller(moduleName+'.DistributionStatusModalViewModel', ViewModels.DistributionStatusModalViewModel)
-
- .controller(moduleName+'.Wizard.EditWizardViewModel', ViewModels.Wizard.EditWizardViewModel)
- .controller(moduleName+'.Wizard.CreateWizardViewModel', ViewModels.Wizard.CreateWizardViewModel)
- .controller(moduleName+'.Wizard.ImportWizardViewModel', ViewModels.Wizard.ImportWizardViewModel)
- .controller(moduleName+'.Wizard.GeneralStepViewModel', ViewModels.Wizard.GeneralStepViewModel)
- .controller(moduleName+'.Wizard.IconsStepViewModel', ViewModels.Wizard.IconsStepViewModel)
- .controller(moduleName+'.Wizard.ArtifactInformationStepViewModel', ViewModels.Wizard.ArtifactInformationStepViewModel)
- .controller(moduleName+'.Wizard.ArtifactDeploymentStepViewModel', ViewModels.Wizard.ArtifactDeploymentStepViewModel)
- .controller(moduleName+'.Wizard.PropertiesStepViewModel', ViewModels.Wizard.PropertiesStepViewModel)
- .controller(moduleName+'.Wizard.ArtifactResourceFormStepViewModel', ViewModels.Wizard.ArtifactResourceFormStepViewModel)
- .controller(moduleName+'.Wizard.PropertyFormViewModel', ViewModels.Wizard.PropertyFormViewModel)
- .controller(moduleName+'.Wizard.HierarchyStepViewModel',ViewModels.Wizard.HierarchyStepViewModel)
-
- //NEW
- .controller(moduleName+'.WorkspaceViewModel', ViewModels.WorkspaceViewModel)
- .controller(moduleName+'.GeneralViewModel', ViewModels.GeneralViewModel)
- .controller(moduleName+'.IconsViewModel', ViewModels.IconsViewModel)
- .controller(moduleName+'.DeploymentArtifactsViewModel', ViewModels.DeploymentArtifactsViewModel)
- .controller(moduleName+'.InformationArtifactsViewModel', ViewModels.InformationArtifactsViewModel)
- .controller(moduleName+'.ToscaArtifactsViewModel', ViewModels.ToscaArtifactsViewModel)
- .controller(moduleName+'.PropertiesViewModel', ViewModels.PropertiesViewModel)
- .controller(moduleName+'.AttributesViewModel', ViewModels.AttributesViewModel)
- .controller(moduleName+'.ProductHierarchyViewModel',ViewModels.ProductHierarchyViewModel)
- .controller(moduleName+'.ActivityLogViewModel',ViewModels.ActivityLogViewModel)
- .controller(moduleName+'.ManagementWorkflowViewModel',ViewModels.ManagementWorkflowViewModel)
- .controller(moduleName+'.NetworkCallFlowViewModel',ViewModels.NetworkCallFlowViewModel)
- .controller(moduleName+'.DeploymentViewModel',ViewModels.DeploymentViewModel)
- .controller(moduleName+'.ResourceInputsViewModel',ViewModels.ResourceInputsViewModel)
- .controller(moduleName+'.ServiceInputsViewModel', ViewModels.ServiceInputsViewModel)
- .controller(moduleName+'.ReqAndCapabilitiesViewModel', ViewModels.ReqAndCapabilitiesViewModel)
-
-
-
- //TABS
- .controller(moduleName+'.HierarchyViewModel',ViewModels.HierarchyViewModel)
-}