@spinnaker/azure 0.0.0-main-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +873 -0
- package/LICENSE.txt +203 -0
- package/dist/azure.module.d.ts +3 -0
- package/dist/azure.settings.d.ts +8 -0
- package/dist/common/AzureModalFooter.d.ts +18 -0
- package/dist/help/azure.help.d.ts +1 -0
- package/dist/image/image.reader.d.ts +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6778 -0
- package/dist/index.js.map +1 -0
- package/dist/instance/azureInstanceType.service.d.ts +2 -0
- package/dist/instance/details/instance.details.controller.d.ts +2 -0
- package/dist/loadBalancer/configure/AzureLoadBalancerChoiceModal.d.ts +16 -0
- package/dist/loadBalancer/configure/createLoadBalancer.controller.d.ts +2 -0
- package/dist/loadBalancer/details/loadBalancerDetail.controller.d.ts +2 -0
- package/dist/loadBalancer/loadBalancer.transformer.d.ts +2 -0
- package/dist/pipeline/stages/bake/azureBakeStage.d.ts +2 -0
- package/dist/pipeline/stages/bake/bakeExecutionDetails.controller.d.ts +2 -0
- package/dist/pipeline/stages/destroyAsg/azureDestroyAsgStage.d.ts +2 -0
- package/dist/pipeline/stages/disableAsg/azureDisableAsgStage.d.ts +2 -0
- package/dist/pipeline/stages/enableAsg/azureEnableAsgStage.d.ts +2 -0
- package/dist/securityGroup/clone/cloneSecurityGroup.controller.d.ts +2 -0
- package/dist/securityGroup/configure/CreateSecurityGroupCtrl.d.ts +2 -0
- package/dist/securityGroup/configure/EditSecurityGroupCtrl.d.ts +2 -0
- package/dist/securityGroup/details/securityGroupDetail.controller.d.ts +2 -0
- package/dist/securityGroup/securityGroup.reader.d.ts +2 -0
- package/dist/securityGroup/securityGroup.transformer.d.ts +2 -0
- package/dist/securityGroup/securityGroup.write.service.d.ts +2 -0
- package/dist/serverGroup/configure/serverGroup.configure.azure.module.d.ts +2 -0
- package/dist/serverGroup/configure/serverGroupCommandBuilder.service.d.ts +2 -0
- package/dist/serverGroup/configure/serverGroupConfiguration.service.d.ts +2 -0
- package/dist/serverGroup/configure/wizard/CloneServerGroup.azure.controller.d.ts +2 -0
- package/dist/serverGroup/configure/wizard/ServerGroupInstanceArchetype.controller.d.ts +2 -0
- package/dist/serverGroup/configure/wizard/ServerGroupInstanceType.controller.d.ts +2 -0
- package/dist/serverGroup/configure/wizard/advancedSettings/ServerGroupAdvancedSettings.controller.d.ts +2 -0
- package/dist/serverGroup/configure/wizard/advancedSettings/advancedSettingsSelector.directive.d.ts +2 -0
- package/dist/serverGroup/configure/wizard/basicSettings/ServerGroupBasicSettings.controller.d.ts +2 -0
- package/dist/serverGroup/configure/wizard/basicSettings/image.regional.filter.d.ts +2 -0
- package/dist/serverGroup/configure/wizard/capacity/capacitySelector.directive.d.ts +2 -0
- package/dist/serverGroup/configure/wizard/healthSettings/ServerGroupHealthSettings.controller.d.ts +2 -0
- package/dist/serverGroup/configure/wizard/healthSettings/healthSettingsSelector.directive.d.ts +2 -0
- package/dist/serverGroup/configure/wizard/image/ServerGroupImageSettings.controller.d.ts +2 -0
- package/dist/serverGroup/configure/wizard/image/imageSettingsSelector.directive.d.ts +2 -0
- package/dist/serverGroup/configure/wizard/loadBalancers/ServerGroupLoadBalancers.controller.d.ts +2 -0
- package/dist/serverGroup/configure/wizard/loadBalancers/serverGroupLoadBalancersSelector.directive.d.ts +2 -0
- package/dist/serverGroup/configure/wizard/networkSettings/ServerGroupNetworkSettings.controller.d.ts +2 -0
- package/dist/serverGroup/configure/wizard/networkSettings/ServerGroupNetworkSettingsSelector.directive.d.ts +2 -0
- package/dist/serverGroup/configure/wizard/securityGroup/ServerGroupSecurityGroups.controller.d.ts +2 -0
- package/dist/serverGroup/configure/wizard/securityGroup/serverGroupSecurityGroupsSelector.directive.d.ts +2 -0
- package/dist/serverGroup/configure/wizard/tags/tagsSelector.directive.d.ts +2 -0
- package/dist/serverGroup/configure/wizard/zones/zoneSelector.directive.d.ts +2 -0
- package/dist/serverGroup/details/rollback/RollbackServerGroupModal.d.ts +25 -0
- package/dist/serverGroup/details/serverGroup.details.module.d.ts +2 -0
- package/dist/serverGroup/details/serverGroupDetails.azure.controller.d.ts +2 -0
- package/dist/serverGroup/serverGroup.transformer.d.ts +2 -0
- package/dist/utility.d.ts +28 -0
- package/dist/validation/applicationName.validator.d.ts +2 -0
- package/package.json +43 -0
- package/src/azure.module.ts +95 -0
- package/src/azure.settings.ts +16 -0
- package/src/common/AzureModalFooter.tsx +43 -0
- package/src/help/azure.help.ts +60 -0
- package/src/image/image.reader.js +43 -0
- package/src/image/image.reader.spec.js +108 -0
- package/src/index.ts +1 -0
- package/src/instance/azureInstanceType.service.js +831 -0
- package/src/instance/azureInstanceType.service.spec.js +17 -0
- package/src/instance/details/instance.details.controller.js +371 -0
- package/src/instance/details/instance.details.controller.spec.js +129 -0
- package/src/instance/details/instanceDetails.html +43 -0
- package/src/loadBalancer/configure/AzureLoadBalancerChoiceModal.tsx +101 -0
- package/src/loadBalancer/configure/advancedSettings.html +95 -0
- package/src/loadBalancer/configure/createLoadBalancer.controller.js +275 -0
- package/src/loadBalancer/configure/createLoadBalancer.controller.spec.js +39 -0
- package/src/loadBalancer/configure/createLoadBalancer.html +25 -0
- package/src/loadBalancer/configure/createLoadBalancerProperties.html +128 -0
- package/src/loadBalancer/configure/editLoadBalancer.html +26 -0
- package/src/loadBalancer/configure/healthCheck.html +74 -0
- package/src/loadBalancer/configure/listeners.html +50 -0
- package/src/loadBalancer/details/loadBalancerDetail.controller.js +181 -0
- package/src/loadBalancer/details/loadBalancerDetail.controller.spec.js +39 -0
- package/src/loadBalancer/details/loadBalancerDetail.html +128 -0
- package/src/loadBalancer/loadBalancer.transformer.js +109 -0
- package/src/logo/azure.icon.svg +196 -0
- package/src/logo/azure.logo.less +6 -0
- package/src/logo/logo_azure.png +0 -0
- package/src/pipeline/stages/bake/azureBakeStage.js +276 -0
- package/src/pipeline/stages/bake/bakeExecutionDetails.controller.js +40 -0
- package/src/pipeline/stages/bake/bakeExecutionDetails.html +50 -0
- package/src/pipeline/stages/bake/bakeStage.html +187 -0
- package/src/pipeline/stages/destroyAsg/azureDestroyAsgStage.js +73 -0
- package/src/pipeline/stages/destroyAsg/destroyAsgStage.html +9 -0
- package/src/pipeline/stages/destroyAsg/destroyAsgStepLabel.html +1 -0
- package/src/pipeline/stages/disableAsg/azureDisableAsgStage.js +65 -0
- package/src/pipeline/stages/disableAsg/disableAsgStage.html +11 -0
- package/src/pipeline/stages/disableAsg/disableAsgStepLabel.html +1 -0
- package/src/pipeline/stages/enableAsg/azureEnableAsgStage.js +70 -0
- package/src/pipeline/stages/enableAsg/enableAsgStage.html +11 -0
- package/src/pipeline/stages/enableAsg/enableAsgStepLabel.html +1 -0
- package/src/securityGroup/clone/cloneSecurityGroup.controller.js +162 -0
- package/src/securityGroup/clone/cloneSecurityGroup.html +8 -0
- package/src/securityGroup/configure/CreateSecurityGroup.controller.spec.js +78 -0
- package/src/securityGroup/configure/CreateSecurityGroupCtrl.js +265 -0
- package/src/securityGroup/configure/EditSecurityGroupCtrl.js +222 -0
- package/src/securityGroup/configure/configSecurityGroup.mixin.controller.js +262 -0
- package/src/securityGroup/configure/createSecurityGroup.html +20 -0
- package/src/securityGroup/configure/createSecurityGroupIngress.html +75 -0
- package/src/securityGroup/configure/createSecurityGroupProperties.html +88 -0
- package/src/securityGroup/configure/editSecurityGroup.html +19 -0
- package/src/securityGroup/details/securityGroupDetail.controller.js +142 -0
- package/src/securityGroup/details/securityGroupDetail.html +78 -0
- package/src/securityGroup/securityGroup.reader.js +17 -0
- package/src/securityGroup/securityGroup.transformer.js +13 -0
- package/src/securityGroup/securityGroup.write.service.js +57 -0
- package/src/serverGroup/configure/serverGroup.configure.azure.module.js +47 -0
- package/src/serverGroup/configure/serverGroupCommandBuilder.service.js +175 -0
- package/src/serverGroup/configure/serverGroupConfiguration.service.js +357 -0
- package/src/serverGroup/configure/serverGroupConfiguration.service.spec.js +209 -0
- package/src/serverGroup/configure/wizard/CloneServerGroup.azure.controller.js +247 -0
- package/src/serverGroup/configure/wizard/ServerGroupInstanceArchetype.controller.js +35 -0
- package/src/serverGroup/configure/wizard/ServerGroupInstanceType.controller.js +15 -0
- package/src/serverGroup/configure/wizard/advancedSettings/ServerGroupAdvancedSettings.controller.js +25 -0
- package/src/serverGroup/configure/wizard/advancedSettings/advancedSettings.html +5 -0
- package/src/serverGroup/configure/wizard/advancedSettings/advancedSettingsSelector.directive.html +138 -0
- package/src/serverGroup/configure/wizard/advancedSettings/advancedSettingsSelector.directive.js +43 -0
- package/src/serverGroup/configure/wizard/basicSettings/ServerGroupBasicSettings.controller.js +71 -0
- package/src/serverGroup/configure/wizard/basicSettings/basicSettings.html +131 -0
- package/src/serverGroup/configure/wizard/basicSettings/image.regional.filter.js +15 -0
- package/src/serverGroup/configure/wizard/basicSettings/image.regional.filter.spec.js +42 -0
- package/src/serverGroup/configure/wizard/capacity/capacity.html +5 -0
- package/src/serverGroup/configure/wizard/capacity/capacitySelector.directive.html +20 -0
- package/src/serverGroup/configure/wizard/capacity/capacitySelector.directive.js +21 -0
- package/src/serverGroup/configure/wizard/capacity/zones.html +5 -0
- package/src/serverGroup/configure/wizard/healthSettings/ServerGroupHealthSettings.controller.js +38 -0
- package/src/serverGroup/configure/wizard/healthSettings/healthSettings.html +5 -0
- package/src/serverGroup/configure/wizard/healthSettings/healthSettingsSelector.directive.html +32 -0
- package/src/serverGroup/configure/wizard/healthSettings/healthSettingsSelector.directive.js +22 -0
- package/src/serverGroup/configure/wizard/image/ServerGroupImageSettings.controller.js +34 -0
- package/src/serverGroup/configure/wizard/image/imageSettings.html +5 -0
- package/src/serverGroup/configure/wizard/image/imageSettingsSelector.directive.html +33 -0
- package/src/serverGroup/configure/wizard/image/imageSettingsSelector.directive.js +22 -0
- package/src/serverGroup/configure/wizard/instanceArchetype.html +33 -0
- package/src/serverGroup/configure/wizard/instanceType/instanceType.html +10 -0
- package/src/serverGroup/configure/wizard/instanceType.html +33 -0
- package/src/serverGroup/configure/wizard/loadBalancers/ServerGroupLoadBalancers.controller.js +137 -0
- package/src/serverGroup/configure/wizard/loadBalancers/loadBalancers.html +3 -0
- package/src/serverGroup/configure/wizard/loadBalancers/serverGroupLoadBalancersSelector.directive.html +41 -0
- package/src/serverGroup/configure/wizard/loadBalancers/serverGroupLoadBalancersSelector.directive.js +22 -0
- package/src/serverGroup/configure/wizard/networkSettings/ServerGroupNetworkSettings.controller.js +44 -0
- package/src/serverGroup/configure/wizard/networkSettings/ServerGroupNetworkSettingsSelector.directive.html +54 -0
- package/src/serverGroup/configure/wizard/networkSettings/ServerGroupNetworkSettingsSelector.directive.js +19 -0
- package/src/serverGroup/configure/wizard/networkSettings/networkSettings.html +3 -0
- package/src/serverGroup/configure/wizard/securityGroup/ServerGroupSecurityGroups.controller.js +28 -0
- package/src/serverGroup/configure/wizard/securityGroup/securityGroups.html +3 -0
- package/src/serverGroup/configure/wizard/securityGroup/serverGroupSecurityGroupsSelector.directive.html +40 -0
- package/src/serverGroup/configure/wizard/securityGroup/serverGroupSecurityGroupsSelector.directive.js +38 -0
- package/src/serverGroup/configure/wizard/serverGroupWizard.html +61 -0
- package/src/serverGroup/configure/wizard/tags/tags.html +5 -0
- package/src/serverGroup/configure/wizard/tags/tagsSelector.directive.html +16 -0
- package/src/serverGroup/configure/wizard/tags/tagsSelector.directive.js +30 -0
- package/src/serverGroup/configure/wizard/templateSelection.html +9 -0
- package/src/serverGroup/configure/wizard/zones/zoneSelector.directive.html +21 -0
- package/src/serverGroup/configure/wizard/zones/zoneSelector.directive.js +28 -0
- package/src/serverGroup/details/rollback/RollbackServerGroupModal.tsx +158 -0
- package/src/serverGroup/details/serverGroup.details.module.js +11 -0
- package/src/serverGroup/details/serverGroupDetails.azure.controller.js +260 -0
- package/src/serverGroup/details/serverGroupDetails.html +98 -0
- package/src/serverGroup/serverGroup.transformer.js +150 -0
- package/src/serverGroup/serverGroup.transformer.spec.js +256 -0
- package/src/subnet/subnetSelectField.directive.html +28 -0
- package/src/subnet/subnetSelectField.directive.js +35 -0
- package/src/utility.spec.ts +61 -0
- package/src/utility.ts +95 -0
- package/src/validation/applicationName.validator.js +44 -0
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
<div ng-controller="azureBakeStageCtrl as bakeStageCtrl">
|
|
2
|
+
<div ng-if="viewState.loading" class="horizontal center middle">
|
|
3
|
+
<loading-spinner size="'small'"></loading-spinner>
|
|
4
|
+
</div>
|
|
5
|
+
<div ng-if="!viewState.loading">
|
|
6
|
+
<stage-config-field label="Account">
|
|
7
|
+
<account-select-field
|
|
8
|
+
component="stage"
|
|
9
|
+
field="account"
|
|
10
|
+
accounts="accounts"
|
|
11
|
+
provider="'azure'"
|
|
12
|
+
on-change="bakeStageCtrl.onChangeAccount()"
|
|
13
|
+
/>
|
|
14
|
+
</stage-config-field>
|
|
15
|
+
|
|
16
|
+
<stage-config-field label="Regions">
|
|
17
|
+
<checklist items="regions" model="stage.regions" inline="true" include-select-all-button="true"></checklist>
|
|
18
|
+
</stage-config-field>
|
|
19
|
+
|
|
20
|
+
<div class="panel panel-default">
|
|
21
|
+
<div class="panel-heading">
|
|
22
|
+
<label class="col-md-3 sm-label-right"></label>
|
|
23
|
+
<div class="btn-group btn-group-xs" role="group" aria-label="Source Image">
|
|
24
|
+
<button
|
|
25
|
+
class="btn btn-default"
|
|
26
|
+
aria-pressed="true"
|
|
27
|
+
ng-click="bakeStageCtrl.showDefaultImages()"
|
|
28
|
+
ng-class="{active: defaultImagesWasChosen}"
|
|
29
|
+
>
|
|
30
|
+
Default Images
|
|
31
|
+
</button>
|
|
32
|
+
<button
|
|
33
|
+
class="btn btn-default"
|
|
34
|
+
aria-pressed="true"
|
|
35
|
+
ng-click="bakeStageCtrl.showManagedImages()"
|
|
36
|
+
ng-class="{active: managedImagesWasChosen}"
|
|
37
|
+
>
|
|
38
|
+
Managed Images
|
|
39
|
+
</button>
|
|
40
|
+
<button
|
|
41
|
+
class="btn btn-default"
|
|
42
|
+
aria-pressed="true"
|
|
43
|
+
ng-click="bakeStageCtrl.showCustomImages()"
|
|
44
|
+
ng-class="{active: customImagesWasChosen}"
|
|
45
|
+
>
|
|
46
|
+
Custom Image
|
|
47
|
+
</button>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
|
|
51
|
+
<div class="panel-body">
|
|
52
|
+
<stage-config-field label="Base OS" ng-show="defaultImagesWasChosen">
|
|
53
|
+
<bake-stage-choose-os model="stage.baseOs" base-os-options="baseOsOptions"></bake-stage-choose-os>
|
|
54
|
+
</stage-config-field>
|
|
55
|
+
|
|
56
|
+
<stage-config-field label="Managed Image" ng-show="managedImagesWasChosen">
|
|
57
|
+
<bake-stage-choose-managed-image
|
|
58
|
+
model="stage.managedImage"
|
|
59
|
+
managed-image-options="managedImageOptions"
|
|
60
|
+
on-change="onChangeManagedImage"
|
|
61
|
+
></bake-stage-choose-managed-image>
|
|
62
|
+
</stage-config-field>
|
|
63
|
+
|
|
64
|
+
<stage-config-field label="Publisher" ng-show="customImagesWasChosen">
|
|
65
|
+
<input type="text" class="form-control input-sm" ng-model="stage.publisher" />
|
|
66
|
+
</stage-config-field>
|
|
67
|
+
<stage-config-field label="Offer" ng-show="customImagesWasChosen">
|
|
68
|
+
<input type="text" class="form-control input-sm" ng-model="stage.offer" />
|
|
69
|
+
</stage-config-field>
|
|
70
|
+
<stage-config-field label="SKU" ng-show="customImagesWasChosen">
|
|
71
|
+
<input type="text" class="form-control input-sm" ng-model="stage.sku" />
|
|
72
|
+
</stage-config-field>
|
|
73
|
+
|
|
74
|
+
<stage-config-field label="OS Type" ng-show="customImagesWasChosen">
|
|
75
|
+
<label class="radio-inline" ng-repeat="osType in osTypeOptions">
|
|
76
|
+
<input
|
|
77
|
+
type="radio"
|
|
78
|
+
ng-model="stage.osType"
|
|
79
|
+
ng-value="osType"
|
|
80
|
+
name="osType"
|
|
81
|
+
ng-change="bakeStageCtrl.onChangeOsType(value)"
|
|
82
|
+
/>
|
|
83
|
+
{{osType}}
|
|
84
|
+
</label>
|
|
85
|
+
</stage-config-field>
|
|
86
|
+
|
|
87
|
+
<stage-config-field label="Package Type" ng-show="stage.osType === 'linux'">
|
|
88
|
+
<label class="radio-inline" ng-repeat="packageType in packageTypeOptions">
|
|
89
|
+
<input type="radio" ng-model="stage.packageType" ng-value="packageType" name="packageType" />
|
|
90
|
+
{{packageType}}
|
|
91
|
+
</label>
|
|
92
|
+
</stage-config-field>
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
|
|
96
|
+
<stage-config-field label="Package" help-key="pipeline.config.bake.package">
|
|
97
|
+
<input type="text" class="form-control input-sm" ng-model="stage.package" />
|
|
98
|
+
</stage-config-field>
|
|
99
|
+
|
|
100
|
+
<stage-config-field label="Base Label">
|
|
101
|
+
<label class="radio-inline" ng-repeat="baseLabel in baseLabelOptions">
|
|
102
|
+
<input type="radio" ng-model="stage.baseLabel" ng-value="baseLabel" />
|
|
103
|
+
{{baseLabel}}
|
|
104
|
+
</label>
|
|
105
|
+
</stage-config-field>
|
|
106
|
+
<!-- Even if the roscoMode flag is false, we should show the control if rebake is set. -->
|
|
107
|
+
<stage-config-field label="Rebake" ng-if="viewState.roscoMode || stage.rebake">
|
|
108
|
+
<div class="checkbox" style="margin-bottom: 0">
|
|
109
|
+
<label>
|
|
110
|
+
<input type="checkbox" ng-model="stage.rebake" />
|
|
111
|
+
Rebake image without regard to the status of any existing bake
|
|
112
|
+
</label>
|
|
113
|
+
</div>
|
|
114
|
+
</stage-config-field>
|
|
115
|
+
<stage-config-field label="Base Name">
|
|
116
|
+
<input type="text" class="form-control input-sm" ng-model="stage.baseName" />
|
|
117
|
+
</stage-config-field>
|
|
118
|
+
<div class="form-group">
|
|
119
|
+
<div class="col-md-9 col-md-offset-1">
|
|
120
|
+
<div class="checkbox">
|
|
121
|
+
<label>
|
|
122
|
+
<input type="checkbox" ng-model="showAdvancedOptions" />
|
|
123
|
+
<strong>Show Advanced Options</strong>
|
|
124
|
+
</label>
|
|
125
|
+
</div>
|
|
126
|
+
</div>
|
|
127
|
+
</div>
|
|
128
|
+
<div ng-class="{collapse: showAdvancedOptions !== true, 'collapse.in': showAdvancedOptions === true}">
|
|
129
|
+
<stage-config-field
|
|
130
|
+
label="Template File Name"
|
|
131
|
+
help-key="pipeline.config.bake.templateFileName"
|
|
132
|
+
ng-if="bakeStageCtrl.showTemplateFileName()"
|
|
133
|
+
>
|
|
134
|
+
<input type="text" class="form-control input-sm" ng-model="stage.templateFileName" />
|
|
135
|
+
</stage-config-field>
|
|
136
|
+
<stage-config-field
|
|
137
|
+
label="Extended Attributes"
|
|
138
|
+
help-key="pipeline.config.bake.extendedAttributes"
|
|
139
|
+
ng-if="bakeStageCtrl.showExtendedAttributes()"
|
|
140
|
+
>
|
|
141
|
+
<table class="table table-condensed packed">
|
|
142
|
+
<thead>
|
|
143
|
+
<tr>
|
|
144
|
+
<th style="width: 40%">Key</th>
|
|
145
|
+
<th style="width: 60%">Value</th>
|
|
146
|
+
<th class="text-right">Actions</th>
|
|
147
|
+
</tr>
|
|
148
|
+
</thead>
|
|
149
|
+
<tbody>
|
|
150
|
+
<tr ng-repeat="(key,value) in stage.extendedAttributes">
|
|
151
|
+
<td>
|
|
152
|
+
<strong class="small">{{key}}</strong>
|
|
153
|
+
</td>
|
|
154
|
+
<td>
|
|
155
|
+
<input
|
|
156
|
+
type="text"
|
|
157
|
+
ng-model="stage.extendedAttributes[key]"
|
|
158
|
+
value="{{value}}"
|
|
159
|
+
class="form-control input-sm"
|
|
160
|
+
/>
|
|
161
|
+
</td>
|
|
162
|
+
<td class="text-right">
|
|
163
|
+
<a class="small" href ng-click="bakeStageCtrl.removeExtendedAttribute(key)">Remove</a>
|
|
164
|
+
</td>
|
|
165
|
+
</tr>
|
|
166
|
+
</tbody>
|
|
167
|
+
<tfoot>
|
|
168
|
+
<tr>
|
|
169
|
+
<td colspan="7">
|
|
170
|
+
<button class="btn btn-block btn-sm add-new" ng-click="bakeStageCtrl.addExtendedAttribute()">
|
|
171
|
+
<span class="glyphicon glyphicon-plus-sign"></span> Add Extended Attribute
|
|
172
|
+
</button>
|
|
173
|
+
</td>
|
|
174
|
+
</tr>
|
|
175
|
+
</tfoot>
|
|
176
|
+
</table>
|
|
177
|
+
</stage-config-field>
|
|
178
|
+
<stage-config-field
|
|
179
|
+
label="Var File Name"
|
|
180
|
+
help-key="pipeline.config.bake.varFileName"
|
|
181
|
+
ng-if="bakeStageCtrl.showVarFileName()"
|
|
182
|
+
>
|
|
183
|
+
<input type="text" class="form-control input-sm" ng-model="stage.varFileName" />
|
|
184
|
+
</stage-config-field>
|
|
185
|
+
</div>
|
|
186
|
+
</div>
|
|
187
|
+
</div>
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
import { module } from 'angular';
|
|
4
|
+
|
|
5
|
+
import { AccountService, Registry, StageConstants } from '@spinnaker/core';
|
|
6
|
+
|
|
7
|
+
export const AZURE_PIPELINE_STAGES_DESTROYASG_AZUREDESTROYASGSTAGE = 'spinnaker.azure.pipeline.stage.destroyAsgStage';
|
|
8
|
+
export const name = AZURE_PIPELINE_STAGES_DESTROYASG_AZUREDESTROYASGSTAGE; // for backwards compatibility
|
|
9
|
+
module(AZURE_PIPELINE_STAGES_DESTROYASG_AZUREDESTROYASGSTAGE, [])
|
|
10
|
+
.config(function () {
|
|
11
|
+
Registry.pipeline.registerStage({
|
|
12
|
+
provides: 'destroyServerGroup',
|
|
13
|
+
cloudProvider: 'azure',
|
|
14
|
+
templateUrl: require('./destroyAsgStage.html'),
|
|
15
|
+
executionStepLabelUrl: require('./destroyAsgStepLabel.html'),
|
|
16
|
+
accountExtractor: (stage) => [stage.context.credentials],
|
|
17
|
+
configAccountExtractor: (stage) => [stage.credentials],
|
|
18
|
+
validators: [
|
|
19
|
+
{
|
|
20
|
+
type: 'targetImpedance',
|
|
21
|
+
message:
|
|
22
|
+
'This pipeline will attempt to destroy a server group without deploying a new version into the same cluster.',
|
|
23
|
+
},
|
|
24
|
+
{ type: 'requiredField', fieldName: 'cluster' },
|
|
25
|
+
{ type: 'requiredField', fieldName: 'target' },
|
|
26
|
+
{ type: 'requiredField', fieldName: 'regions' },
|
|
27
|
+
{ type: 'requiredField', fieldName: 'credentials', fieldLabel: 'account' },
|
|
28
|
+
],
|
|
29
|
+
});
|
|
30
|
+
})
|
|
31
|
+
.controller('azureDestroyAsgStageCtrl', [
|
|
32
|
+
'$scope',
|
|
33
|
+
function ($scope) {
|
|
34
|
+
const ctrl = this;
|
|
35
|
+
|
|
36
|
+
const stage = $scope.stage;
|
|
37
|
+
|
|
38
|
+
$scope.state = {
|
|
39
|
+
accounts: false,
|
|
40
|
+
regionsLoaded: false,
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
AccountService.listAccounts('azure').then(function (accounts) {
|
|
44
|
+
$scope.accounts = accounts;
|
|
45
|
+
$scope.state.accounts = true;
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
ctrl.accountUpdated = function () {
|
|
49
|
+
AccountService.getAccountDetails(stage.credentials).then(function (details) {
|
|
50
|
+
stage.regions = [details.org];
|
|
51
|
+
// stage.regions = ['eastus', 'westus'];
|
|
52
|
+
});
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
$scope.targets = StageConstants.TARGET_LIST;
|
|
56
|
+
|
|
57
|
+
stage.regions = stage.regions || [];
|
|
58
|
+
stage.cloudProvider = 'azure';
|
|
59
|
+
|
|
60
|
+
stage.interestingHealthProviderNames = []; // bypass the check for now; will change this later to ['azureService']
|
|
61
|
+
|
|
62
|
+
if (!stage.credentials && $scope.application.defaultCredentials.azure) {
|
|
63
|
+
stage.credentials = $scope.application.defaultCredentials.azure;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
if (stage.credentials) {
|
|
67
|
+
ctrl.accountUpdated();
|
|
68
|
+
}
|
|
69
|
+
if (!stage.target) {
|
|
70
|
+
stage.target = $scope.targets[0].val;
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
]);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<div ng-controller="azureDestroyAsgStageCtrl as destroyAsgStageCtrl" class="form-horizontal">
|
|
2
|
+
<div ng-if="!pipeline.strategy">
|
|
3
|
+
<account-region-cluster-selector application="application" component="stage" accounts="accounts">
|
|
4
|
+
</account-region-cluster-selector>
|
|
5
|
+
</div>
|
|
6
|
+
<stage-config-field label="Target">
|
|
7
|
+
<target-select model="stage" options="targets"></target-select>
|
|
8
|
+
</stage-config-field>
|
|
9
|
+
</div>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<span class="task-label"> Destroy Server Group: {{step.context.serverGroupName}} ({{step.context.region}}) </span>
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
import { module } from 'angular';
|
|
4
|
+
|
|
5
|
+
import { AccountService, Registry, StageConstants } from '@spinnaker/core';
|
|
6
|
+
|
|
7
|
+
export const AZURE_PIPELINE_STAGES_DISABLEASG_AZUREDISABLEASGSTAGE = 'spinnaker.azure.pipeline.stage.disableAsgStage';
|
|
8
|
+
export const name = AZURE_PIPELINE_STAGES_DISABLEASG_AZUREDISABLEASGSTAGE; // for backwards compatibility
|
|
9
|
+
module(AZURE_PIPELINE_STAGES_DISABLEASG_AZUREDISABLEASGSTAGE, [])
|
|
10
|
+
.config(function () {
|
|
11
|
+
Registry.pipeline.registerStage({
|
|
12
|
+
provides: 'disableServerGroup',
|
|
13
|
+
alias: 'disableAsg',
|
|
14
|
+
cloudProvider: 'azure',
|
|
15
|
+
templateUrl: require('./disableAsgStage.html'),
|
|
16
|
+
executionStepLabelUrl: require('./disableAsgStepLabel.html'),
|
|
17
|
+
validators: [
|
|
18
|
+
{
|
|
19
|
+
type: 'targetImpedance',
|
|
20
|
+
message:
|
|
21
|
+
'This pipeline will attempt to disable a server group without deploying a new version into the same cluster.',
|
|
22
|
+
},
|
|
23
|
+
{ type: 'requiredField', fieldName: 'cluster' },
|
|
24
|
+
{ type: 'requiredField', fieldName: 'target' },
|
|
25
|
+
{ type: 'requiredField', fieldName: 'regions' },
|
|
26
|
+
{ type: 'requiredField', fieldName: 'credentials', fieldLabel: 'account' },
|
|
27
|
+
],
|
|
28
|
+
});
|
|
29
|
+
})
|
|
30
|
+
.controller('azureDisableAsgStageCtrl', [
|
|
31
|
+
'$scope',
|
|
32
|
+
function ($scope) {
|
|
33
|
+
const stage = $scope.stage;
|
|
34
|
+
|
|
35
|
+
$scope.state = {
|
|
36
|
+
accounts: false,
|
|
37
|
+
regionsLoaded: false,
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
AccountService.listAccounts('azure').then(function (accounts) {
|
|
41
|
+
$scope.accounts = accounts;
|
|
42
|
+
$scope.state.accounts = true;
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
$scope.targets = StageConstants.TARGET_LIST;
|
|
46
|
+
|
|
47
|
+
stage.regions = stage.regions || [];
|
|
48
|
+
stage.cloudProvider = 'azure';
|
|
49
|
+
|
|
50
|
+
if (stage.isNew && $scope.application.attributes.platformHealthOnly) {
|
|
51
|
+
stage.interestingHealthProviderNames = []; // bypass the check for now; will change this later to ['azureService']
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
if (!stage.credentials && $scope.application.defaultCredentials.azure) {
|
|
55
|
+
stage.credentials = $scope.application.defaultCredentials.azure;
|
|
56
|
+
}
|
|
57
|
+
if (!stage.regions.length && $scope.application.defaultRegions.azure) {
|
|
58
|
+
stage.regions.push($scope.application.defaultRegions.azure);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
if (!stage.target) {
|
|
62
|
+
stage.target = $scope.targets[0].val;
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
]);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<div ng-controller="azureDisableAsgStageCtrl as disableAsgStageCtrl" class="form-horizontal">
|
|
2
|
+
<div ng-if="!pipeline.strategy">
|
|
3
|
+
<account-region-cluster-selector application="application" component="stage" accounts="accounts">
|
|
4
|
+
</account-region-cluster-selector>
|
|
5
|
+
</div>
|
|
6
|
+
<stage-config-field label="Target">
|
|
7
|
+
<target-select model="stage" options="targets"></target-select>
|
|
8
|
+
</stage-config-field>
|
|
9
|
+
<stage-platform-health-override application="application" stage="stage" platform-health-type="'azureService'">
|
|
10
|
+
</stage-platform-health-override>
|
|
11
|
+
</div>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<span class="task-label"> Disable Server Group: {{step.context.serverGroupName}} ({{step.context.region}}) </span>
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
import { module } from 'angular';
|
|
4
|
+
|
|
5
|
+
import { AccountService, Registry, StageConstants } from '@spinnaker/core';
|
|
6
|
+
|
|
7
|
+
export const AZURE_PIPELINE_STAGES_ENABLEASG_AZUREENABLEASGSTAGE = 'spinnaker.azure.pipeline.stage.enableAsgStage';
|
|
8
|
+
export const name = AZURE_PIPELINE_STAGES_ENABLEASG_AZUREENABLEASGSTAGE; // for backwards compatibility
|
|
9
|
+
module(AZURE_PIPELINE_STAGES_ENABLEASG_AZUREENABLEASGSTAGE, [])
|
|
10
|
+
.config(function () {
|
|
11
|
+
Registry.pipeline.registerStage({
|
|
12
|
+
provides: 'enableServerGroup',
|
|
13
|
+
alias: 'enableAsg',
|
|
14
|
+
cloudProvider: 'azure',
|
|
15
|
+
templateUrl: require('./enableAsgStage.html'),
|
|
16
|
+
executionStepLabelUrl: require('./enableAsgStepLabel.html'),
|
|
17
|
+
validators: [
|
|
18
|
+
{ type: 'requiredField', fieldName: 'cluster' },
|
|
19
|
+
{ type: 'requiredField', fieldName: 'target' },
|
|
20
|
+
{ type: 'requiredField', fieldName: 'regions' },
|
|
21
|
+
{ type: 'requiredField', fieldName: 'credentials', fieldLabel: 'account' },
|
|
22
|
+
],
|
|
23
|
+
});
|
|
24
|
+
})
|
|
25
|
+
.controller('azureEnableAsgStageCtrl', [
|
|
26
|
+
'$scope',
|
|
27
|
+
function ($scope) {
|
|
28
|
+
const ctrl = this;
|
|
29
|
+
|
|
30
|
+
const stage = $scope.stage;
|
|
31
|
+
|
|
32
|
+
$scope.state = {
|
|
33
|
+
accounts: false,
|
|
34
|
+
regionsLoaded: false,
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
AccountService.listAccounts('azure').then(function (accounts) {
|
|
38
|
+
$scope.accounts = accounts;
|
|
39
|
+
$scope.state.accounts = true;
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
ctrl.reset = () => {
|
|
43
|
+
ctrl.accountUpdated();
|
|
44
|
+
ctrl.resetSelectedCluster();
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
$scope.targets = StageConstants.TARGET_LIST;
|
|
48
|
+
|
|
49
|
+
stage.regions = stage.regions || [];
|
|
50
|
+
stage.cloudProvider = 'azure';
|
|
51
|
+
|
|
52
|
+
if (stage.isNew) {
|
|
53
|
+
// bypass the health check for now; will change this later to ['azureService'] and we will also add back the check for $scope.application.attributes.platformHealthOnly
|
|
54
|
+
stage.interestingHealthProviderNames = [];
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
if (!stage.credentials && $scope.application.defaultCredentials.azure) {
|
|
58
|
+
stage.credentials = $scope.application.defaultCredentials.azure;
|
|
59
|
+
}
|
|
60
|
+
if (!stage.regions.length && $scope.application.defaultRegions.azure) {
|
|
61
|
+
stage.regions.push($scope.application.defaultRegions.azure);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if (!stage.target) {
|
|
65
|
+
stage.target = $scope.targets[0].val;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
$scope.$watch('stage.credentials', $scope.accountUpdated);
|
|
69
|
+
},
|
|
70
|
+
]);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<div ng-controller="azureEnableAsgStageCtrl as enableAsgStageCtrl" class="form-horizontal">
|
|
2
|
+
<div ng-if="!pipeline.strategy">
|
|
3
|
+
<account-region-cluster-selector application="application" component="stage" accounts="accounts">
|
|
4
|
+
</account-region-cluster-selector>
|
|
5
|
+
</div>
|
|
6
|
+
<stage-config-field label="Target">
|
|
7
|
+
<target-select model="stage" options="targets"></target-select>
|
|
8
|
+
</stage-config-field>
|
|
9
|
+
<stage-platform-health-override application="application" stage="stage" platform-health-type="'azureService'">
|
|
10
|
+
</stage-platform-health-override>
|
|
11
|
+
</div>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<span class="task-label"> Enable Server Group: {{step.context.serverGroupName}} ({{step.context.region}}) </span>
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
import { module } from 'angular';
|
|
4
|
+
import _ from 'lodash';
|
|
5
|
+
|
|
6
|
+
import { AccountService, FirewallLabels, TaskMonitor } from '@spinnaker/core';
|
|
7
|
+
|
|
8
|
+
import { AZURE_SECURITYGROUP_CONFIGURE_CREATESECURITYGROUPCTRL } from '../configure/CreateSecurityGroupCtrl';
|
|
9
|
+
import { AZURE_SECURITYGROUP_SECURITYGROUP_WRITE_SERVICE } from '../securityGroup.write.service';
|
|
10
|
+
|
|
11
|
+
export const AZURE_SECURITYGROUP_CLONE_CLONESECURITYGROUP_CONTROLLER = 'spinnaker.azure.securityGroup.clone.controller';
|
|
12
|
+
export const name = AZURE_SECURITYGROUP_CLONE_CLONESECURITYGROUP_CONTROLLER; // for backwards compatibility
|
|
13
|
+
module(AZURE_SECURITYGROUP_CLONE_CLONESECURITYGROUP_CONTROLLER, [
|
|
14
|
+
AZURE_SECURITYGROUP_SECURITYGROUP_WRITE_SERVICE,
|
|
15
|
+
AZURE_SECURITYGROUP_CONFIGURE_CREATESECURITYGROUPCTRL,
|
|
16
|
+
]).controller('azureCloneSecurityGroupController', [
|
|
17
|
+
'$scope',
|
|
18
|
+
'$uibModalInstance',
|
|
19
|
+
'$controller',
|
|
20
|
+
'$state',
|
|
21
|
+
'azureSecurityGroupWriter',
|
|
22
|
+
'securityGroup',
|
|
23
|
+
'application',
|
|
24
|
+
function ($scope, $uibModalInstance, $controller, $state, azureSecurityGroupWriter, securityGroup, application) {
|
|
25
|
+
const ctrl = this;
|
|
26
|
+
|
|
27
|
+
$scope.firewallLabel = FirewallLabels.get('Firewall');
|
|
28
|
+
|
|
29
|
+
$scope.pages = {
|
|
30
|
+
location: require('../configure/createSecurityGroupProperties.html'),
|
|
31
|
+
ingress: require('../configure/createSecurityGroupIngress.html'),
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
securityGroup.securityRules = _.map(securityGroup.securityRules, function (rule) {
|
|
35
|
+
const temp = rule.destinationPortRange.split('-');
|
|
36
|
+
rule.startPort = Number(temp[0]);
|
|
37
|
+
rule.endPort = Number(temp[1]);
|
|
38
|
+
return rule;
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
ctrl.accountUpdated = function () {
|
|
42
|
+
AccountService.getRegionsForAccount($scope.securityGroup.credentials).then(function (regions) {
|
|
43
|
+
$scope.regions = regions;
|
|
44
|
+
$scope.securityGroup.regions = regions;
|
|
45
|
+
ctrl.updateName();
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
ctrl.cancel = function () {
|
|
50
|
+
$uibModalInstance.dismiss();
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
ctrl.updateName = function () {
|
|
54
|
+
const securityGroup = $scope.securityGroup;
|
|
55
|
+
let name = application.name;
|
|
56
|
+
if (securityGroup.detail) {
|
|
57
|
+
name += '-' + securityGroup.detail;
|
|
58
|
+
}
|
|
59
|
+
securityGroup.name = name;
|
|
60
|
+
$scope.namePreview = name;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
$scope.securityGroup = securityGroup;
|
|
64
|
+
|
|
65
|
+
$scope.state = {
|
|
66
|
+
refreshingSecurityGroups: false,
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
$scope.taskMonitor = new TaskMonitor({
|
|
70
|
+
application: application,
|
|
71
|
+
title: `Updating your ${FirewallLabels.get('firewall')}`,
|
|
72
|
+
modalInstance: $uibModalInstance,
|
|
73
|
+
onTaskComplete: onTaskComplete,
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
AccountService.listAccounts('azure').then(function (accounts) {
|
|
77
|
+
$scope.accounts = accounts;
|
|
78
|
+
ctrl.accountUpdated();
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
ctrl.addRule = function (ruleset) {
|
|
82
|
+
ruleset.push({
|
|
83
|
+
name: $scope.securityGroup.name + '-Rule' + ruleset.length,
|
|
84
|
+
priority: ruleset.length === 0 ? 100 : 100 * (ruleset.length + 1),
|
|
85
|
+
protocol: 'tcp',
|
|
86
|
+
access: 'Allow',
|
|
87
|
+
direction: 'InBound',
|
|
88
|
+
sourceAddressPrefix: '*',
|
|
89
|
+
sourcePortRange: '*',
|
|
90
|
+
destinationAddressPrefix: '*',
|
|
91
|
+
destinationPortRange: '7001-7001',
|
|
92
|
+
startPort: 7001,
|
|
93
|
+
endPort: 7001,
|
|
94
|
+
});
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
function onApplicationRefresh() {
|
|
98
|
+
// If the user has already closed the modal, do not navigate to the new details view
|
|
99
|
+
if ($scope.$$destroyed) {
|
|
100
|
+
return;
|
|
101
|
+
}
|
|
102
|
+
$uibModalInstance.close();
|
|
103
|
+
const newStateParams = {
|
|
104
|
+
name: $scope.securityGroup.name,
|
|
105
|
+
accountId: $scope.securityGroup.credentials || $scope.securityGroup.accountName,
|
|
106
|
+
region: $scope.securityGroup.region,
|
|
107
|
+
provider: 'azure',
|
|
108
|
+
};
|
|
109
|
+
if (!$state.includes('**.firewallDetails')) {
|
|
110
|
+
$state.go('.firewallDetails', newStateParams);
|
|
111
|
+
} else {
|
|
112
|
+
$state.go('^.firewallDetails', newStateParams);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
function onTaskComplete() {
|
|
117
|
+
application.securityGroups.refresh();
|
|
118
|
+
application.securityGroups.onNextRefresh($scope, onApplicationRefresh);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
ctrl.portUpdated = function (ruleset, index) {
|
|
122
|
+
ruleset[index].destinationPortRange = ruleset[index].startPort + '-' + ruleset[index].endPort;
|
|
123
|
+
};
|
|
124
|
+
ctrl.removeRule = function (ruleset, index) {
|
|
125
|
+
ruleset.splice(index, 1);
|
|
126
|
+
};
|
|
127
|
+
ctrl.moveUp = function (ruleset, index) {
|
|
128
|
+
if (index === 0) return;
|
|
129
|
+
swapRules(ruleset, index, index - 1);
|
|
130
|
+
};
|
|
131
|
+
ctrl.moveDown = function (ruleset, index) {
|
|
132
|
+
if (index === ruleset.length - 1) return;
|
|
133
|
+
swapRules(ruleset, index, index + 1);
|
|
134
|
+
};
|
|
135
|
+
function swapRules(ruleset, a, b) {
|
|
136
|
+
const temp = ruleset[b];
|
|
137
|
+
const priorityA = ruleset[a].priority;
|
|
138
|
+
const priorityB = ruleset[b].priority;
|
|
139
|
+
//swap elements
|
|
140
|
+
ruleset[b] = ruleset[a];
|
|
141
|
+
ruleset[a] = temp;
|
|
142
|
+
//swap priorities
|
|
143
|
+
ruleset[a].priority = priorityA;
|
|
144
|
+
ruleset[b].priority = priorityB;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
ctrl.upsert = function () {
|
|
148
|
+
$scope.taskMonitor.submit(function () {
|
|
149
|
+
const params = {
|
|
150
|
+
cloudProvider: 'azure',
|
|
151
|
+
appName: application.name,
|
|
152
|
+
region: $scope.securityGroup.region,
|
|
153
|
+
subnet: 'none',
|
|
154
|
+
vpcId: 'null',
|
|
155
|
+
};
|
|
156
|
+
$scope.securityGroup.type = 'upsertSecurityGroup';
|
|
157
|
+
|
|
158
|
+
return azureSecurityGroupWriter.upsertSecurityGroup($scope.securityGroup, application, 'Clone', params);
|
|
159
|
+
});
|
|
160
|
+
};
|
|
161
|
+
},
|
|
162
|
+
]);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<v2-modal-wizard heading="Clone {{firewallLabel}}">
|
|
2
|
+
<v2-wizard-page key="Location" label="Location">
|
|
3
|
+
<ng-include src="pages.location"></ng-include>
|
|
4
|
+
</v2-wizard-page>
|
|
5
|
+
<v2-wizard-page key="Ingress" label="Ingress" done="true">
|
|
6
|
+
<ng-include src="pages.ingress"></ng-include>
|
|
7
|
+
</v2-wizard-page>
|
|
8
|
+
</v2-modal-wizard>
|