Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame^] | 1 | /*- |
| 2 | * ============LICENSE_START======================================================= |
| 3 | * SDC |
| 4 | * ================================================================================ |
| 5 | * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. |
| 6 | * ================================================================================ |
| 7 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | * you may not use this file except in compliance with the License. |
| 9 | * You may obtain a copy of the License at |
| 10 | * |
| 11 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | * |
| 13 | * Unless required by applicable law or agreed to in writing, software |
| 14 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | * See the License for the specific language governing permissions and |
| 17 | * limitations under the License. |
| 18 | * ============LICENSE_END========================================================= |
| 19 | */ |
| 20 | /// <reference path="../references"/> |
| 21 | module Sdc { |
| 22 | let moduleName: string = 'Sdc.ViewModels'; |
| 23 | let viewModelModule: ng.IModule = angular.module(moduleName, []); |
| 24 | |
| 25 | viewModelModule |
| 26 | .controller(moduleName+'.DashboardViewModel', ViewModels.DashboardViewModel) |
| 27 | .controller(moduleName+'.CompositionViewModel', ViewModels.CompositionViewModel) |
| 28 | |
| 29 | .controller(moduleName+'.DetailsViewModel', ViewModels.DetailsViewModel) |
| 30 | .controller(moduleName+'.ResourceArtifactsViewModel', ViewModels.ResourceArtifactsViewModel) |
| 31 | .controller(moduleName+'.PropertyFormViewModel', ViewModels.PropertyFormViewModel) |
| 32 | .controller(moduleName+'.ArtifactResourceFormViewModel', ViewModels.ArtifactResourceFormViewModel) |
| 33 | .controller(moduleName+'.AttributeFormViewModel', ViewModels.AttributeFormViewModel) |
| 34 | .controller(moduleName+'.ResourcePropertiesViewModel', ViewModels.ResourcePropertiesViewModel) |
| 35 | .controller(moduleName+'.CatalogViewModel', ViewModels.CatalogViewModel) |
| 36 | .controller(moduleName+'.OnboardVendorViewModel', ViewModels.OnboardVendorViewModel) |
| 37 | .controller(moduleName+'.DistributionViewModel', ViewModels.DistributionViewModel) |
| 38 | .controller(moduleName+'.SupportViewModel', ViewModels.SupportViewModel) |
| 39 | .controller(moduleName+'.ConfirmationModalViewModel', ViewModels.ConfirmationModalViewModel) |
| 40 | .controller(moduleName+'.EmailModalViewModel', ViewModels.EmailModalViewModel) |
| 41 | .controller(moduleName+'.MessageModalViewModel', ViewModels.MessageModalViewModel) |
| 42 | .controller(moduleName+'.ServerMessageModalViewModel', ViewModels.ServerMessageModalViewModel) |
| 43 | .controller(moduleName+'.ClientMessageModalViewModel', ViewModels.ClientMessageModalViewModel) |
| 44 | .controller(moduleName+'.ErrorViewModel', ViewModels.ErrorViewModel) |
| 45 | .controller(moduleName+'.ComponentViewerViewModel', ViewModels.ComponentViewerViewModel) |
| 46 | .controller(moduleName+'.RelationsViewModel', ViewModels.RelationsViewModel) |
| 47 | .controller(moduleName+'.ResourceInstanceNameViewModel', ViewModels.ResourceInstanceNameViewModel) |
| 48 | .controller(moduleName+'.WelcomeViewModel', ViewModels.WelcomeViewModel) |
| 49 | .controller(moduleName+'.PreLoadingViewModel', ViewModels.PreLoadingViewModel) |
| 50 | .controller(moduleName+'.TutorialEndViewModel', ViewModels.TutorialEndViewModel) |
| 51 | .controller(moduleName+'.AdminDashboardViewModel', ViewModels.AdminDashboardViewModel) |
| 52 | .controller(moduleName+'.EnvParametersFormViewModel', ViewModels.EnvParametersFormViewModel) |
| 53 | .controller(moduleName+'.StructureViewModel', ViewModels.StructureViewModel) |
| 54 | .controller(moduleName+'.AddCategoryModalViewModel', ViewModels.AddCategoryModalViewModel) |
| 55 | .controller(moduleName+'.DashboardCoverViewModel', ViewModels.DashboardCoverViewModel) |
| 56 | .controller(moduleName+'.UserManagementViewModel', ViewModels.UserManagementViewModel) |
| 57 | .controller(moduleName+'.CategoryManagementViewModel', ViewModels.CategoryManagementViewModel) |
| 58 | .controller(moduleName+'.WelcomeStepsControllerViewModel', ViewModels.WelcomeStepsControllerViewModel) |
| 59 | .controller(moduleName+'.OnboardingModalViewModel', ViewModels.OnboardingModalViewModel) |
| 60 | .controller(moduleName+'.DistributionStatusModalViewModel', ViewModels.DistributionStatusModalViewModel) |
| 61 | |
| 62 | .controller(moduleName+'.Wizard.EditWizardViewModel', ViewModels.Wizard.EditWizardViewModel) |
| 63 | .controller(moduleName+'.Wizard.CreateWizardViewModel', ViewModels.Wizard.CreateWizardViewModel) |
| 64 | .controller(moduleName+'.Wizard.ImportWizardViewModel', ViewModels.Wizard.ImportWizardViewModel) |
| 65 | .controller(moduleName+'.Wizard.GeneralStepViewModel', ViewModels.Wizard.GeneralStepViewModel) |
| 66 | .controller(moduleName+'.Wizard.IconsStepViewModel', ViewModels.Wizard.IconsStepViewModel) |
| 67 | .controller(moduleName+'.Wizard.ArtifactInformationStepViewModel', ViewModels.Wizard.ArtifactInformationStepViewModel) |
| 68 | .controller(moduleName+'.Wizard.ArtifactDeploymentStepViewModel', ViewModels.Wizard.ArtifactDeploymentStepViewModel) |
| 69 | .controller(moduleName+'.Wizard.PropertiesStepViewModel', ViewModels.Wizard.PropertiesStepViewModel) |
| 70 | .controller(moduleName+'.Wizard.ArtifactResourceFormStepViewModel', ViewModels.Wizard.ArtifactResourceFormStepViewModel) |
| 71 | .controller(moduleName+'.Wizard.PropertyFormViewModel', ViewModels.Wizard.PropertyFormViewModel) |
| 72 | .controller(moduleName+'.Wizard.HierarchyStepViewModel',ViewModels.Wizard.HierarchyStepViewModel) |
| 73 | |
| 74 | //NEW |
| 75 | .controller(moduleName+'.WorkspaceViewModel', ViewModels.WorkspaceViewModel) |
| 76 | .controller(moduleName+'.GeneralViewModel', ViewModels.GeneralViewModel) |
| 77 | .controller(moduleName+'.IconsViewModel', ViewModels.IconsViewModel) |
| 78 | .controller(moduleName+'.DeploymentArtifactsViewModel', ViewModels.DeploymentArtifactsViewModel) |
| 79 | .controller(moduleName+'.InformationArtifactsViewModel', ViewModels.InformationArtifactsViewModel) |
| 80 | .controller(moduleName+'.ToscaArtifactsViewModel', ViewModels.ToscaArtifactsViewModel) |
| 81 | .controller(moduleName+'.PropertiesViewModel', ViewModels.PropertiesViewModel) |
| 82 | .controller(moduleName+'.AttributesViewModel', ViewModels.AttributesViewModel) |
| 83 | .controller(moduleName+'.ProductHierarchyViewModel',ViewModels.ProductHierarchyViewModel) |
| 84 | .controller(moduleName+'.ActivityLogViewModel',ViewModels.ActivityLogViewModel) |
| 85 | .controller(moduleName+'.ManagementWorkflowViewModel',ViewModels.ManagementWorkflowViewModel) |
| 86 | .controller(moduleName+'.NetworkCallFlowViewModel',ViewModels.NetworkCallFlowViewModel) |
| 87 | .controller(moduleName+'.DeploymentViewModel',ViewModels.DeploymentViewModel) |
| 88 | .controller(moduleName+'.ResourceInputsViewModel',ViewModels.ResourceInputsViewModel) |
| 89 | .controller(moduleName+'.ServiceInputsViewModel', ViewModels.ServiceInputsViewModel) |
| 90 | .controller(moduleName+'.ReqAndCapabilitiesViewModel', ViewModels.ReqAndCapabilitiesViewModel) |
| 91 | |
| 92 | |
| 93 | |
| 94 | //TABS |
| 95 | .controller(moduleName+'.HierarchyViewModel',ViewModels.HierarchyViewModel) |
| 96 | } |