@spinnaker/amazon 2026.2.2 → 2026.3.0
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/dist/aws.module.d.ts +2 -1
- package/dist/aws.services.d.ts +8 -0
- package/dist/certificates/AmazonCertificateReader.d.ts +1 -1
- package/dist/domain/IAmazonServerGroup.d.ts +10 -0
- package/dist/function/CreateLambdaFunction.d.ts +10 -5
- package/dist/function/configure/Network.d.ts +3 -0
- package/dist/function/details/FunctionActions.d.ts +3 -0
- package/dist/function/function.transformer.d.ts +1 -0
- package/dist/image/image.reader.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/instance/amazon.instance.write.service.d.ts +5 -5
- package/dist/instance/awsInstanceType.service.d.ts +13 -2
- package/dist/instance/details/AmazonInstanceDetails.d.ts +67 -0
- package/dist/instance/index.d.ts +1 -0
- package/dist/keyPairs/KeyPairsReader.d.ts +1 -1
- package/dist/loadBalancer/AmazonLoadBalancersTag.d.ts +7 -4
- package/dist/loadBalancer/OidcConfigReader.d.ts +1 -1
- package/dist/loadBalancer/TargetGroupDetails.d.ts +37 -3
- package/dist/loadBalancer/amazonLoadBalancerDataUtils.d.ts +1 -1
- package/dist/loadBalancer/configure/AmazonLoadBalancerChoiceModal.d.ts +6 -2
- package/dist/loadBalancer/configure/LoadBalancerTypes.d.ts +4 -4
- package/dist/loadBalancer/configure/application/CreateApplicationLoadBalancer.d.ts +10 -5
- package/dist/loadBalancer/configure/classic/CreateClassicLoadBalancer.d.ts +12 -7
- package/dist/loadBalancer/configure/common/SecurityGroups.d.ts +4 -0
- package/dist/loadBalancer/configure/network/CreateNetworkLoadBalancer.d.ts +10 -5
- package/dist/loadBalancer/details/LoadBalancerActions.d.ts +9 -2
- package/dist/loadBalancer/details/amazonLoadBalancerDetails.d.ts +22 -0
- package/dist/loadBalancer/index.d.ts +1 -0
- package/dist/loadBalancer/loadBalancer.transformer.d.ts +1 -1
- package/dist/pipeline/stages/AmazonStageConfig.d.ts +11 -0
- package/dist/pipeline/stages/bake/AwsBakeStageConfig.d.ts +66 -0
- package/dist/pipeline/stages/cloneServerGroup/AwsCloneServerGroupStageConfig.d.ts +20 -0
- package/dist/pipeline/stages/deleteLambda/index.d.ts +1 -1
- package/dist/pipeline/stages/deployCloudFormation/CloudFormationChangeSetInfo.d.ts +5 -4
- package/dist/pipeline/stages/deployCloudFormation/DeployCloudFormationStackStageConfig.d.ts +3 -0
- package/dist/pipeline/stages/deployCloudFormation/deployCloudFormationStackStage.d.ts +1 -1
- package/dist/pipeline/stages/deployCloudFormation/evaluateCloudFormationChangeSetExecution.service.d.ts +1 -3
- package/dist/pipeline/stages/deployLambda/index.d.ts +1 -1
- package/dist/pipeline/stages/destroyAsg/awsDestroyAsgStage.d.ts +26 -2
- package/dist/pipeline/stages/disableAsg/AwsDisableAsgStageConfig.d.ts +27 -0
- package/dist/pipeline/stages/disableCluster/AwsDisableClusterStageConfig.d.ts +19 -0
- package/dist/pipeline/stages/enableAsg/AwsEnableAsgStageConfig.d.ts +20 -0
- package/dist/pipeline/stages/findAmi/awsFindAmiStage.d.ts +17 -2
- package/dist/pipeline/stages/findImageFromTags/AwsFindImageFromTagsStageConfig.d.ts +3 -0
- package/dist/pipeline/stages/findImageFromTags/awsFindImageFromTagsStage.d.ts +12 -2
- package/dist/pipeline/stages/invokeLambda/index.d.ts +1 -1
- package/dist/pipeline/stages/modifyScalingProcess/ModifyScalingProcessStageConfig.d.ts +3 -0
- package/dist/pipeline/stages/modifyScalingProcess/modifyScalingProcessStage.d.ts +20 -2
- package/dist/pipeline/stages/modifyWarmPool/ModifyWarmPoolStageConfig.d.ts +3 -0
- package/dist/pipeline/stages/modifyWarmPool/modifyWarmPoolStage.d.ts +20 -0
- package/dist/pipeline/stages/resizeAsg/AwsResizeAsgStageConfig.d.ts +17 -0
- package/dist/pipeline/stages/resizeAsg/awsResizeAsgStage.d.ts +40 -2
- package/dist/pipeline/stages/rollbackCluster/AwsRollbackClusterStageConfig.d.ts +19 -0
- package/dist/pipeline/stages/routeLambda/index.d.ts +1 -1
- package/dist/pipeline/stages/scaleDownCluster/AwsScaleDownClusterStageConfig.d.ts +22 -0
- package/dist/pipeline/stages/shrinkCluster/AwsShrinkClusterStageConfig.d.ts +21 -0
- package/dist/pipeline/stages/tagImage/awsTagImageStage.d.ts +5 -2
- package/dist/pipeline/stages/updateCodeLambda/index.d.ts +1 -1
- package/dist/search/searchResultFormatter.d.ts +4 -2
- package/dist/securityGroup/configure/AmazonSecurityGroupModal.d.ts +43 -0
- package/dist/securityGroup/details/AmazonSecurityGroupDetails.d.ts +62 -0
- package/dist/securityGroup/details/index.d.ts +1 -0
- package/dist/securityGroup/index.d.ts +1 -0
- package/dist/securityGroup/securityGroup.reader.d.ts +0 -1
- package/dist/securityGroup/securityGroup.transformer.d.ts +11 -2
- package/dist/serverGroup/configure/serverGroupCommandBuilder.service.d.ts +23 -7
- package/dist/serverGroup/configure/serverGroupConfiguration.service.d.ts +17 -13
- package/dist/serverGroup/configure/wizard/AmazonCloneServerGroupModal.d.ts +16 -6
- package/dist/serverGroup/configure/wizard/pages/ServerGroupBasicSettings.d.ts +6 -3
- package/dist/serverGroup/configure/wizard/pages/ServerGroupLoadBalancers.d.ts +3 -0
- package/dist/serverGroup/configure/wizard/securityGroups/SecurityGroupSelector.d.ts +4 -0
- package/dist/serverGroup/details/AmazonServerGroupActions.d.ts +10 -2
- package/dist/serverGroup/details/advancedSettings/EditAsgAdvancedSettingsModal.d.ts +17 -0
- package/dist/serverGroup/details/advancedSettings/index.d.ts +1 -0
- package/dist/serverGroup/details/resize/AmazonResizeServerGroupModal.d.ts +5 -3
- package/dist/serverGroup/details/rollback/AmazonRollbackServerGroupModal.d.ts +67 -0
- package/dist/serverGroup/details/rollback/index.d.ts +2 -0
- package/dist/serverGroup/details/rollback/rollbackServerGroupSelection.d.ts +9 -0
- package/dist/serverGroup/details/scalingPolicy/ScalingPolicyWriter.d.ts +2 -2
- package/dist/serverGroup/details/scalingPolicy/upsert/alarm/DimensionsEditor.d.ts +0 -1
- package/dist/serverGroup/details/scalingProcesses/ModifyScalingProcessesModal.d.ts +24 -0
- package/dist/serverGroup/details/scalingProcesses/index.d.ts +2 -0
- package/dist/serverGroup/details/scheduledActions/EditScheduledActionsModal.d.ts +31 -0
- package/dist/serverGroup/details/scheduledActions/index.d.ts +1 -0
- package/dist/serverGroup/details/sections/AdvancedSettingsDetailsSection.d.ts +3 -0
- package/dist/serverGroup/details/sections/AmazonCapacityDetailsSection.d.ts +3 -0
- package/dist/serverGroup/details/sections/ScalingProcessesDetailsSection.d.ts +1 -1
- package/dist/serverGroup/details/sections/ScheduledActionsDetailsSection.d.ts +1 -1
- package/dist/serverGroup/details/sections/SecurityGroupsDetailsSection.d.ts +4 -1
- package/dist/serverGroup/details/sections/WarmPoolDetailsSection.d.ts +6 -0
- package/dist/serverGroup/details/sections/index.d.ts +1 -0
- package/dist/serverGroup/details/securityGroups/EditSecurityGroupsModal.d.ts +32 -0
- package/dist/serverGroup/details/securityGroups/index.d.ts +1 -0
- package/dist/serverGroup/details/warmPool/ModifyWarmPoolModal.d.ts +26 -0
- package/dist/serverGroup/details/warmPool/WarmPoolService.d.ts +6 -0
- package/dist/serverGroup/details/warmPool/index.d.ts +2 -0
- package/dist/serverGroup/serverGroup.transformer.d.ts +1 -2
- package/dist/vpc/VpcReader.d.ts +2 -2
- package/dist/vpc/index.d.ts +1 -0
- package/package.json +3 -12
- package/src/aws.module.spec.ts +296 -0
- package/src/aws.module.ts +107 -112
- package/src/aws.services.ts +21 -0
- package/src/certificates/AmazonCertificateReader.ts +1 -1
- package/src/domain/IAmazonServerGroup.ts +9 -0
- package/src/function/CreateLambdaFunction.tsx +29 -16
- package/src/function/configure/Network.tsx +8 -4
- package/src/function/details/AmazonFunctionDetails.tsx +4 -5
- package/src/function/details/FunctionActions.tsx +5 -1
- package/src/function/function.transformer.ts +4 -0
- package/src/image/image.reader.ts +3 -5
- package/src/index.ts +2 -2
- package/src/instance/amazon.instance.write.service.ts +15 -4
- package/src/instance/awsInstanceType.service.spec.js +172 -136
- package/src/instance/awsInstanceType.service.ts +142 -154
- package/src/instance/details/AmazonInstanceDetails.spec.tsx +79 -0
- package/src/instance/details/AmazonInstanceDetails.tsx +644 -0
- package/src/instance/details/InstanceInformation.tsx +11 -14
- package/src/instance/details/InstanceSecurityGroups.tsx +20 -23
- package/src/instance/details/InstanceTags.tsx +5 -3
- package/src/instance/index.ts +1 -0
- package/src/keyPairs/KeyPairsReader.ts +1 -1
- package/src/loadBalancer/AmazonLoadBalancersTag.spec.tsx +39 -0
- package/src/loadBalancer/AmazonLoadBalancersTag.tsx +21 -14
- package/src/loadBalancer/OidcConfigReader.ts +1 -1
- package/src/loadBalancer/TargetGroupDetails.spec.tsx +113 -0
- package/src/loadBalancer/TargetGroupDetails.tsx +287 -7
- package/src/loadBalancer/amazonLoadBalancerDataUtils.ts +21 -21
- package/src/loadBalancer/configure/AmazonLoadBalancerChoiceModal.tsx +17 -4
- package/src/loadBalancer/configure/LoadBalancerTypes.ts +7 -4
- package/src/loadBalancer/configure/application/ALBListeners.tsx +1 -2
- package/src/loadBalancer/configure/application/CreateApplicationLoadBalancer.tsx +28 -18
- package/src/loadBalancer/configure/classic/CreateClassicLoadBalancer.tsx +29 -19
- package/src/loadBalancer/configure/common/LoadBalancerLocation.tsx +1 -1
- package/src/loadBalancer/configure/common/SecurityGroups.spec.tsx +27 -0
- package/src/loadBalancer/configure/common/SecurityGroups.tsx +11 -5
- package/src/loadBalancer/configure/network/CreateNetworkLoadBalancer.tsx +28 -18
- package/src/loadBalancer/details/LoadBalancerActions.tsx +19 -5
- package/src/loadBalancer/details/amazonLoadBalancerDetails.spec.tsx +141 -0
- package/src/loadBalancer/details/amazonLoadBalancerDetails.tsx +599 -0
- package/src/loadBalancer/index.ts +1 -0
- package/src/loadBalancer/loadBalancer.transformer.ts +3 -4
- package/src/pipeline/stages/AmazonStageConfig.spec.tsx +103 -0
- package/src/pipeline/stages/AmazonStageConfig.tsx +259 -0
- package/src/pipeline/stages/bake/AwsBakeStageConfig.tsx +708 -0
- package/src/pipeline/stages/cloneServerGroup/AwsCloneServerGroupStageConfig.tsx +275 -0
- package/src/pipeline/stages/deleteLambda/index.ts +2 -6
- package/src/pipeline/stages/deployCloudFormation/CloudFormationChangeSetInfo.tsx +14 -33
- package/src/pipeline/stages/deployCloudFormation/DeployCloudFormationStackStageConfig.tsx +264 -0
- package/src/pipeline/stages/deployCloudFormation/deployCloudFormationStackStage.spec.tsx +403 -0
- package/src/pipeline/stages/deployCloudFormation/deployCloudFormationStackStage.ts +21 -29
- package/src/pipeline/stages/deployCloudFormation/evaluateCloudFormationChangeSetExecution.service.ts +1 -11
- package/src/pipeline/stages/deployCloudFormation/evaluateCloudFormationChangeSetExecutionApproval.tsx +4 -3
- package/src/pipeline/stages/deployLambda/components/NetworkForm.tsx +3 -6
- package/src/pipeline/stages/deployLambda/index.ts +2 -6
- package/src/pipeline/stages/destroyAsg/awsDestroyAsgStage.js +28 -65
- package/src/pipeline/stages/disableAsg/AwsDisableAsgStageConfig.tsx +103 -0
- package/src/pipeline/stages/disableCluster/AwsDisableClusterStageConfig.tsx +119 -0
- package/src/pipeline/stages/enableAsg/AwsEnableAsgStageConfig.tsx +98 -0
- package/src/pipeline/stages/findAmi/awsFindAmiStage.js +22 -79
- package/src/pipeline/stages/findImageFromTags/AwsFindImageFromTagsStageConfig.spec.tsx +122 -0
- package/src/pipeline/stages/findImageFromTags/AwsFindImageFromTagsStageConfig.tsx +71 -0
- package/src/pipeline/stages/findImageFromTags/awsFindImageFromTagsStage.js +17 -32
- package/src/pipeline/stages/invokeLambda/index.ts +2 -6
- package/src/pipeline/stages/modifyScalingProcess/ModifyScalingProcessStageConfig.tsx +146 -0
- package/src/pipeline/stages/modifyScalingProcess/modifyScalingProcessStage.js +27 -98
- package/src/pipeline/stages/modifyScalingProcess/modifyScalingProcessStage.spec.tsx +167 -0
- package/src/pipeline/stages/modifyWarmPool/ModifyWarmPoolStageConfig.tsx +157 -0
- package/src/pipeline/stages/modifyWarmPool/modifyWarmPoolStage.js +26 -0
- package/src/pipeline/stages/modifyWarmPool/modifyWarmPoolStage.spec.tsx +89 -0
- package/src/pipeline/stages/resizeAsg/AwsResizeAsgStageConfig.spec.tsx +617 -0
- package/src/pipeline/stages/resizeAsg/AwsResizeAsgStageConfig.tsx +340 -0
- package/src/pipeline/stages/resizeAsg/awsResizeAsgStage.js +34 -125
- package/src/pipeline/stages/rollbackCluster/AwsRollbackClusterStageConfig.tsx +129 -0
- package/src/pipeline/stages/routeLambda/index.ts +2 -6
- package/src/pipeline/stages/scaleDownCluster/AwsScaleDownClusterStageConfig.tsx +121 -0
- package/src/pipeline/stages/shrinkCluster/AwsShrinkClusterStageConfig.tsx +136 -0
- package/src/pipeline/stages/tagImage/awsTagImageStage.spec.tsx +167 -0
- package/src/pipeline/stages/tagImage/awsTagImageStage.tsx +94 -0
- package/src/pipeline/stages/updateCodeLambda/index.ts +2 -6
- package/src/routerConsumers.spec.tsx +207 -0
- package/src/search/searchResultFormatter.ts +9 -16
- package/src/securityGroup/configure/AmazonSecurityGroupModal.spec.tsx +170 -0
- package/src/securityGroup/configure/AmazonSecurityGroupModal.tsx +440 -0
- package/src/securityGroup/details/AmazonSecurityGroupDetails.spec.tsx +62 -0
- package/src/securityGroup/details/AmazonSecurityGroupDetails.tsx +444 -0
- package/src/securityGroup/details/IPRangeRules.tsx +1 -1
- package/src/securityGroup/details/index.ts +1 -0
- package/src/securityGroup/index.ts +1 -0
- package/src/securityGroup/securityGroup.reader.ts +0 -5
- package/src/securityGroup/securityGroup.transformer.ts +35 -0
- package/src/serverGroup/configure/AmazonImageSelectInput.spec.tsx +104 -80
- package/src/serverGroup/configure/AmazonImageSelectInput.tsx +37 -18
- package/src/serverGroup/configure/serverGroupCommandBuilder.aws.service.spec.js +28 -66
- package/src/serverGroup/configure/serverGroupCommandBuilder.service.ts +476 -465
- package/src/serverGroup/configure/serverGroupCommandBuilder.spec.js +76 -124
- package/src/serverGroup/configure/serverGroupConfiguration.service.ts +106 -103
- package/src/serverGroup/configure/wizard/AmazonCloneServerGroupModal.tsx +65 -25
- package/src/serverGroup/configure/wizard/instanceType/CpuCreditsToggle.tsx +3 -3
- package/src/serverGroup/configure/wizard/instanceType/advancedMode/AdvancedModeSelector.tsx +2 -2
- package/src/serverGroup/configure/wizard/instanceType/simpleMode/SimpleModeSelector.spec.tsx +105 -0
- package/src/serverGroup/configure/wizard/instanceType/simpleMode/SimpleModeSelector.tsx +20 -6
- package/src/serverGroup/configure/wizard/pages/ServerGroupBasicSettings.spec.tsx +39 -0
- package/src/serverGroup/configure/wizard/pages/ServerGroupBasicSettings.tsx +10 -9
- package/src/serverGroup/configure/wizard/pages/ServerGroupInstanceType.tsx +2 -2
- package/src/serverGroup/configure/wizard/pages/ServerGroupLoadBalancers.tsx +5 -2
- package/src/serverGroup/configure/wizard/pages/advancedSettings/ServerGroupAdvancedSettingsCommon.spec.tsx +53 -0
- package/src/serverGroup/configure/wizard/pages/advancedSettings/ServerGroupAdvancedSettingsCommon.tsx +35 -33
- package/src/serverGroup/configure/wizard/securityGroups/SecurityGroupSelector.spec.tsx +20 -0
- package/src/serverGroup/configure/wizard/securityGroups/SecurityGroupSelector.tsx +9 -4
- package/src/serverGroup/details/AmazonServerGroupActions.spec.tsx +186 -0
- package/src/serverGroup/details/AmazonServerGroupActions.tsx +37 -87
- package/src/serverGroup/details/advancedSettings/EditAsgAdvancedSettingsModal.spec.tsx +110 -0
- package/src/serverGroup/details/advancedSettings/EditAsgAdvancedSettingsModal.tsx +117 -0
- package/src/serverGroup/details/advancedSettings/index.ts +1 -0
- package/src/serverGroup/details/amazonServerGroupDetailsGetter.ts +4 -4
- package/src/serverGroup/details/resize/AmazonResizeServerGroupModal.tsx +16 -6
- package/src/serverGroup/details/rollback/AmazonRollbackServerGroupModal.spec.tsx +285 -0
- package/src/serverGroup/details/rollback/AmazonRollbackServerGroupModal.tsx +449 -0
- package/src/serverGroup/details/rollback/index.ts +2 -0
- package/src/serverGroup/details/rollback/rollbackServerGroupSelection.spec.ts +101 -0
- package/src/serverGroup/details/rollback/rollbackServerGroupSelection.ts +81 -0
- package/src/serverGroup/details/scalingPolicy/CreateScalingPolicyButton.tsx +4 -4
- package/src/serverGroup/details/scalingPolicy/ScalingPolicyWriter.ts +2 -5
- package/src/serverGroup/details/scalingPolicy/upsert/alarm/DimensionsEditor.tsx +0 -2
- package/src/serverGroup/details/scalingProcesses/ModifyScalingProcessesModal.spec.tsx +74 -0
- package/src/serverGroup/details/scalingProcesses/ModifyScalingProcessesModal.tsx +140 -0
- package/src/serverGroup/details/scalingProcesses/index.ts +2 -0
- package/src/serverGroup/details/scheduledActions/EditScheduledActionsModal.spec.tsx +115 -0
- package/src/serverGroup/details/scheduledActions/EditScheduledActionsModal.tsx +205 -0
- package/src/serverGroup/details/scheduledActions/index.ts +1 -0
- package/src/serverGroup/details/sections/AdvancedSettingsDetailsSection.tsx +7 -14
- package/src/serverGroup/details/sections/AmazonCapacityDetailsSection.tsx +14 -2
- package/src/serverGroup/details/sections/AmazonServerGroupMaintenanceActions.spec.tsx +148 -0
- package/src/serverGroup/details/sections/InstancesDistributionDetailsSection.spec.tsx +1 -5
- package/src/serverGroup/details/sections/LaunchTemplateDetailsSection.spec.tsx +1 -5
- package/src/serverGroup/details/sections/ScalingProcessesDetailsSection.tsx +8 -20
- package/src/serverGroup/details/sections/ScheduledActionsDetailsSection.tsx +7 -12
- package/src/serverGroup/details/sections/SecurityGroupsDetailsSection.tsx +14 -19
- package/src/serverGroup/details/sections/WarmPoolDetailsSection.tsx +44 -0
- package/src/serverGroup/details/sections/index.ts +1 -0
- package/src/serverGroup/details/securityGroups/EditSecurityGroupsModal.spec.tsx +161 -0
- package/src/serverGroup/details/securityGroups/EditSecurityGroupsModal.tsx +177 -0
- package/src/serverGroup/details/securityGroups/index.ts +1 -0
- package/src/serverGroup/details/warmPool/ModifyWarmPoolModal.spec.tsx +69 -0
- package/src/serverGroup/details/warmPool/ModifyWarmPoolModal.tsx +191 -0
- package/src/serverGroup/details/warmPool/WarmPoolService.spec.ts +30 -0
- package/src/serverGroup/details/warmPool/WarmPoolService.ts +15 -0
- package/src/serverGroup/details/warmPool/index.ts +2 -0
- package/src/serverGroup/serverGroup.transformer.ts +1 -6
- package/src/vpc/VpcReader.ts +2 -2
- package/src/vpc/index.ts +1 -0
- package/dist/common/common.module.d.ts +0 -1
- package/dist/common/footer.component.d.ts +0 -1
- package/dist/function/function.module.d.ts +0 -1
- package/dist/instance/details/amazonInstanceInformation.component.d.ts +0 -1
- package/dist/instance/details/instance.details.controller.d.ts +0 -2
- package/dist/instance/details/instanceDns.component.d.ts +0 -1
- package/dist/instance/details/instanceSecurityGroups.component.d.ts +0 -1
- package/dist/instance/details/instanceStatus.component.d.ts +0 -1
- package/dist/instance/details/instanceTags.component.d.ts +0 -1
- package/dist/loadBalancer/details/loadBalancerActions.component.d.ts +0 -1
- package/dist/loadBalancer/details/loadBalancerDetails.controller.d.ts +0 -41
- package/dist/loadBalancer/details/targetGroupDetails.controller.d.ts +0 -30
- package/dist/loadBalancer/loadBalancer.module.d.ts +0 -1
- package/dist/loadBalancer/targetGroup.states.d.ts +0 -1
- package/dist/pipeline/stages/bake/awsBakeStage.d.ts +0 -2
- package/dist/pipeline/stages/bake/bakeExecutionDetails.controller.d.ts +0 -2
- package/dist/pipeline/stages/cloneServerGroup/awsCloneServerGroupStage.d.ts +0 -2
- package/dist/pipeline/stages/deployCloudFormation/cloudFormationTemplateEntry.component.d.ts +0 -1
- package/dist/pipeline/stages/deployCloudFormation/deployCloudFormationStackConfig.controller.d.ts +0 -25
- package/dist/pipeline/stages/disableAsg/awsDisableAsgStage.d.ts +0 -2
- package/dist/pipeline/stages/disableCluster/awsDisableClusterStage.d.ts +0 -2
- package/dist/pipeline/stages/enableAsg/awsEnableAsgStage.d.ts +0 -2
- package/dist/pipeline/stages/rollbackCluster/awsRollbackClusterStage.d.ts +0 -2
- package/dist/pipeline/stages/scaleDownCluster/awsScaleDownClusterStage.d.ts +0 -2
- package/dist/pipeline/stages/shrinkCluster/awsShrinkClusterStage.d.ts +0 -2
- package/dist/reactShims/aws.react.injector.d.ts +0 -18
- package/dist/reactShims/aws.react.module.d.ts +0 -1
- package/dist/reactShims/index.d.ts +0 -1
- package/dist/securityGroup/clone/cloneSecurityGroup.controller.d.ts +0 -2
- package/dist/securityGroup/configure/CreateSecurityGroupCtrl.d.ts +0 -2
- package/dist/securityGroup/configure/EditSecurityGroupCtrl.d.ts +0 -2
- package/dist/securityGroup/configure/configSecurityGroup.mixin.controller.d.ts +0 -2
- package/dist/securityGroup/configure/ingressRuleGroupSelector.component.d.ts +0 -1
- package/dist/securityGroup/configure/securityGroupDetailsCustom.component.d.ts +0 -1
- package/dist/securityGroup/configure/securityGroupDetailsCustom.d.ts +0 -10
- package/dist/securityGroup/details/securityGroupDetail.controller.d.ts +0 -2
- package/dist/securityGroup/details/securityGroupIpRangeRules.component.d.ts +0 -1
- package/dist/securityGroup/securityGroup.module.d.ts +0 -1
- package/dist/serverGroup/details/advancedSettings/editAsgAdvancedSettings.modal.controller.d.ts +0 -2
- package/dist/serverGroup/details/rollback/rollbackServerGroup.controller.d.ts +0 -2
- package/dist/serverGroup/details/scalingPolicy/createScalingPolicyButton.component.d.ts +0 -1
- package/dist/serverGroup/details/scalingPolicy/scalingPolicy.module.d.ts +0 -1
- package/dist/serverGroup/details/scalingPolicy/scalingPolicySummary.component.d.ts +0 -1
- package/dist/serverGroup/details/scalingProcesses/modifyScalingProcesses.controller.d.ts +0 -2
- package/dist/serverGroup/details/scheduledAction/editScheduledActions.modal.controller.d.ts +0 -2
- package/dist/serverGroup/details/securityGroup/editSecurityGroups.modal.controller.d.ts +0 -2
- package/dist/serverGroup/details/serverGroupDetails.module.d.ts +0 -1
- package/dist/subnet/subnet.renderer.d.ts +0 -5
- package/dist/vpc/vpc.module.d.ts +0 -1
- package/src/applicationProviderFields/awsFields.html +0 -13
- package/src/common/common.module.ts +0 -6
- package/src/common/footer.component.ts +0 -29
- package/src/function/function.module.ts +0 -5
- package/src/image/image.reader.spec.ts +0 -75
- package/src/instance/details/amazonInstanceInformation.component.ts +0 -13
- package/src/instance/details/instance.details.controller.js +0 -586
- package/src/instance/details/instance.details.controller.spec.js +0 -133
- package/src/instance/details/instanceDetails.html +0 -65
- package/src/instance/details/instanceDns.component.ts +0 -21
- package/src/instance/details/instanceSecurityGroups.component.ts +0 -13
- package/src/instance/details/instanceStatus.component.ts +0 -19
- package/src/instance/details/instanceTags.component.ts +0 -13
- package/src/loadBalancer/details/loadBalancerActions.component.ts +0 -16
- package/src/loadBalancer/details/loadBalancerDetails.controller.spec.ts +0 -76
- package/src/loadBalancer/details/loadBalancerDetails.controller.ts +0 -240
- package/src/loadBalancer/details/loadBalancerDetails.html +0 -266
- package/src/loadBalancer/details/targetGroupDetails.controller.ts +0 -95
- package/src/loadBalancer/details/targetGroupDetails.html +0 -138
- package/src/loadBalancer/loadBalancer.module.ts +0 -15
- package/src/loadBalancer/targetGroup.states.ts +0 -55
- package/src/pipeline/stages/bake/awsBakeStage.js +0 -219
- package/src/pipeline/stages/bake/bakeExecutionDetails.controller.js +0 -43
- package/src/pipeline/stages/bake/bakeExecutionDetails.html +0 -65
- package/src/pipeline/stages/bake/bakeStage.html +0 -205
- package/src/pipeline/stages/cloneServerGroup/awsCloneServerGroupStage.js +0 -143
- package/src/pipeline/stages/cloneServerGroup/cloneServerGroupStage.html +0 -143
- package/src/pipeline/stages/cloneServerGroup/cloneServerGroupStepLabel.html +0 -1
- package/src/pipeline/stages/deployCloudFormation/cloudFormationTemplateEntry.component.ts +0 -46
- package/src/pipeline/stages/deployCloudFormation/deployCloudFormationStackConfig.controller.ts +0 -84
- package/src/pipeline/stages/deployCloudFormation/deployCloudFormationStackConfig.html +0 -84
- package/src/pipeline/stages/destroyAsg/destroyAsgStage.html +0 -9
- package/src/pipeline/stages/destroyAsg/destroyAsgStepLabel.html +0 -1
- package/src/pipeline/stages/disableAsg/awsDisableAsgStage.js +0 -69
- package/src/pipeline/stages/disableAsg/disableAsgStage.html +0 -11
- package/src/pipeline/stages/disableAsg/disableAsgStepLabel.html +0 -1
- package/src/pipeline/stages/disableCluster/awsDisableClusterStage.js +0 -84
- package/src/pipeline/stages/disableCluster/disableClusterStage.html +0 -26
- package/src/pipeline/stages/enableAsg/awsEnableAsgStage.js +0 -73
- package/src/pipeline/stages/enableAsg/enableAsgStage.html +0 -11
- package/src/pipeline/stages/enableAsg/enableAsgStepLabel.html +0 -1
- package/src/pipeline/stages/findAmi/findAmiStage.html +0 -24
- package/src/pipeline/stages/findImageFromTags/findImageFromTagsExecutionDetails.html +0 -44
- package/src/pipeline/stages/findImageFromTags/findImageFromTagsStage.html +0 -11
- package/src/pipeline/stages/modifyScalingProcess/modifyScalingProcessExecutionDetails.html +0 -36
- package/src/pipeline/stages/modifyScalingProcess/modifyScalingProcessStage.html +0 -24
- package/src/pipeline/stages/resizeAsg/resizeAsgStage.html +0 -90
- package/src/pipeline/stages/resizeAsg/resizeAsgStepLabel.html +0 -4
- package/src/pipeline/stages/rollbackCluster/awsRollbackClusterStage.js +0 -66
- package/src/pipeline/stages/rollbackCluster/rollbackClusterStage.html +0 -43
- package/src/pipeline/stages/scaleDownCluster/awsScaleDownClusterStage.js +0 -78
- package/src/pipeline/stages/scaleDownCluster/scaleDownClusterStage.html +0 -35
- package/src/pipeline/stages/shrinkCluster/awsShrinkClusterStage.js +0 -73
- package/src/pipeline/stages/shrinkCluster/shrinkClusterStage.html +0 -34
- package/src/pipeline/stages/tagImage/awsTagImageStage.js +0 -34
- package/src/pipeline/stages/tagImage/tagImageExecutionDetails.html +0 -38
- package/src/pipeline/stages/tagImage/tagImageStage.html +0 -10
- package/src/reactShims/aws.react.injector.ts +0 -25
- package/src/reactShims/aws.react.module.ts +0 -12
- package/src/reactShims/index.ts +0 -1
- package/src/securityGroup/clone/cloneSecurityGroup.controller.js +0 -106
- package/src/securityGroup/clone/cloneSecurityGroup.html +0 -19
- package/src/securityGroup/configure/CreateSecurityGroup.controller.spec.js +0 -307
- package/src/securityGroup/configure/CreateSecurityGroupCtrl.js +0 -47
- package/src/securityGroup/configure/EditSecurityGroupCtrl.js +0 -115
- package/src/securityGroup/configure/configSecurityGroup.mixin.controller.js +0 -366
- package/src/securityGroup/configure/createSecurityGroup.html +0 -19
- package/src/securityGroup/configure/createSecurityGroupIngress.html +0 -100
- package/src/securityGroup/configure/createSecurityGroupProperties.html +0 -123
- package/src/securityGroup/configure/editSecurityGroup.html +0 -20
- package/src/securityGroup/configure/ingressRuleGroupSelector.component.html +0 -77
- package/src/securityGroup/configure/ingressRuleGroupSelector.component.less +0 -6
- package/src/securityGroup/configure/ingressRuleGroupSelector.component.ts +0 -190
- package/src/securityGroup/configure/securityGroupDetailsCustom.component.ts +0 -16
- package/src/securityGroup/configure/securityGroupDetailsCustom.tsx +0 -16
- package/src/securityGroup/details/securityGroupDetail.controller.js +0 -249
- package/src/securityGroup/details/securityGroupDetail.html +0 -114
- package/src/securityGroup/details/securityGroupIpRangeRules.component.ts +0 -12
- package/src/securityGroup/securityGroup.module.ts +0 -26
- package/src/securityGroup/securityGroup.transformer.js +0 -48
- package/src/serverGroup/configure/serverGroupConfiguration.service.spec.ts +0 -478
- package/src/serverGroup/details/advancedSettings/editAsgAdvancedSettings.modal.controller.js +0 -47
- package/src/serverGroup/details/advancedSettings/editAsgAdvancedSettings.modal.html +0 -79
- package/src/serverGroup/details/rollback/rollbackServerGroup.controller.js +0 -146
- package/src/serverGroup/details/rollback/rollbackServerGroup.html +0 -139
- package/src/serverGroup/details/scalingPolicy/createScalingPolicyButton.component.ts +0 -15
- package/src/serverGroup/details/scalingPolicy/scalingPolicy.module.ts +0 -6
- package/src/serverGroup/details/scalingPolicy/scalingPolicySummary.component.ts +0 -14
- package/src/serverGroup/details/scalingPolicy/upsert/alarm/dimensionsEditor.less +0 -18
- package/src/serverGroup/details/scalingProcesses/modifyScalingProcesses.controller.js +0 -95
- package/src/serverGroup/details/scalingProcesses/modifyScalingProcesses.controller.spec.js +0 -106
- package/src/serverGroup/details/scalingProcesses/modifyScalingProcesses.html +0 -30
- package/src/serverGroup/details/scheduledAction/editScheduledActions.modal.controller.js +0 -70
- package/src/serverGroup/details/scheduledAction/editScheduledActions.modal.html +0 -89
- package/src/serverGroup/details/securityGroup/editSecurityGroups.modal.controller.js +0 -95
- package/src/serverGroup/details/securityGroup/editSecurityGroups.modal.html +0 -40
- package/src/serverGroup/details/serverGroupDetails.module.ts +0 -18
- package/src/serverGroup/serverGroup.transformer.spec.ts +0 -185
- package/src/subnet/SubnetSelectInput.spec.tsx +0 -91
- package/src/subnet/subnet.renderer.ts +0 -12
- package/src/vpc/vpc.module.ts +0 -9
|
@@ -1,266 +0,0 @@
|
|
|
1
|
-
<div class="details-panel">
|
|
2
|
-
<div ng-if="ctrl.state.loading" class="header">
|
|
3
|
-
<div class="close-button">
|
|
4
|
-
<a class="btn btn-link" ui-sref="^">
|
|
5
|
-
<span class="glyphicon glyphicon-remove"></span>
|
|
6
|
-
</a>
|
|
7
|
-
</div>
|
|
8
|
-
<div class="horizontal center middle spinner-container">
|
|
9
|
-
<loading-spinner size="'small'"></loading-spinner>
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
|
|
13
|
-
<div ng-if="!ctrl.state.loading" class="header">
|
|
14
|
-
<div class="close-button">
|
|
15
|
-
<a class="btn btn-link" ui-sref="^">
|
|
16
|
-
<span class="glyphicon glyphicon-remove"></span>
|
|
17
|
-
</a>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="header-text horizontal middle">
|
|
20
|
-
<i class="fa icon-sitemap"></i>
|
|
21
|
-
<h3 class="horizontal middle space-between flex-1" select-on-dbl-click>
|
|
22
|
-
{{ctrl.loadBalancer.name}}
|
|
23
|
-
<render-if-feature feature="entityTags">
|
|
24
|
-
<entity-notifications
|
|
25
|
-
entity="ctrl.loadBalancer"
|
|
26
|
-
application="ctrl.application"
|
|
27
|
-
placement="bottom"
|
|
28
|
-
h-offset-percent="90%"
|
|
29
|
-
entity-type="loadBalancer"
|
|
30
|
-
page-location="details"
|
|
31
|
-
on-update="ctrl.application.loadBalancers.refresh()"
|
|
32
|
-
></entity-notifications>
|
|
33
|
-
</render-if-feature>
|
|
34
|
-
</h3>
|
|
35
|
-
</div>
|
|
36
|
-
<div>
|
|
37
|
-
<div class="actions">
|
|
38
|
-
<load-balancer-actions
|
|
39
|
-
app="ctrl.application"
|
|
40
|
-
load-balancer="ctrl.loadBalancer"
|
|
41
|
-
load-balancer-from-params="ctrl.loadBalancerFromParams"
|
|
42
|
-
></load-balancer-actions>
|
|
43
|
-
<div
|
|
44
|
-
class="dropdown"
|
|
45
|
-
ng-if="ctrl.loadBalancer.elb.insightActions.length > 0"
|
|
46
|
-
uib-dropdown
|
|
47
|
-
dropdown-append-to-body
|
|
48
|
-
>
|
|
49
|
-
<button type="button" class="btn btn-sm btn-default dropdown-toggle" uib-dropdown-toggle>
|
|
50
|
-
Insight <span class="caret"></span>
|
|
51
|
-
</button>
|
|
52
|
-
<ul class="dropdown-menu" uib-dropdown-menu role="menu">
|
|
53
|
-
<li ng-repeat="action in ctrl.loadBalancer.elb.insightActions">
|
|
54
|
-
<a target="_blank" href="{{action.url}}">{{action.label}}</a>
|
|
55
|
-
</li>
|
|
56
|
-
</ul>
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
</div>
|
|
60
|
-
</div>
|
|
61
|
-
<managed-resource-details-indicator
|
|
62
|
-
ng-if="!ctrl.state.loading && ctrl.loadBalancer.isManaged"
|
|
63
|
-
resource-summary="ctrl.loadBalancer.managedResourceSummary"
|
|
64
|
-
application="ctrl.application"
|
|
65
|
-
>
|
|
66
|
-
</managed-resource-details-indicator>
|
|
67
|
-
<div ng-if="!ctrl.state.loading" class="content">
|
|
68
|
-
<collapsible-section heading="Load Balancer Details" expanded="true">
|
|
69
|
-
<dl class="dl-horizontal dl-narrow">
|
|
70
|
-
<dt>Created</dt>
|
|
71
|
-
<dd>{{ctrl.loadBalancer.elb.createdTime | timestamp}}</dd>
|
|
72
|
-
<dt>In</dt>
|
|
73
|
-
<dd>
|
|
74
|
-
<account-tag account="ctrl.loadBalancer.account" pad="right"></account-tag> {{ctrl.loadBalancer.region}}
|
|
75
|
-
</dd>
|
|
76
|
-
<dt>VPC</dt>
|
|
77
|
-
<dd>
|
|
78
|
-
<vpc-tag vpc-id="ctrl.loadBalancer.elb.vpcId"></vpc-tag>
|
|
79
|
-
</dd>
|
|
80
|
-
<dt>Subnet</dt>
|
|
81
|
-
<dd>{{ctrl.getFirstSubnetPurpose(ctrl.loadBalancer.subnetDetails)}}</dd>
|
|
82
|
-
<dt>Scheme</dt>
|
|
83
|
-
<dd>{{ ctrl.loadBalancer.scheme }}</dd>
|
|
84
|
-
<dt ng-if="ctrl.loadBalancer.loadBalancerType">Type</dt>
|
|
85
|
-
<dd ng-if="ctrl.loadBalancer.loadBalancerType">{{ctrl.loadBalancer.loadBalancerType}}</dd>
|
|
86
|
-
<dt ng-if="ctrl.ipAddressTypeDescription">IP Type</dt>
|
|
87
|
-
<dd ng-if="ctrl.ipAddressTypeDescription">{{ctrl.ipAddressTypeDescription}}</dd>
|
|
88
|
-
</dl>
|
|
89
|
-
<dl class="horizontal-when-filters-collapsed">
|
|
90
|
-
<dt>Availability Zones</dt>
|
|
91
|
-
<dd>
|
|
92
|
-
<ul class="collapse-margin-on-filter-collapse">
|
|
93
|
-
<li ng-repeat="availabilityZone in ctrl.loadBalancer.elb.availabilityZones">{{availabilityZone}}</li>
|
|
94
|
-
</ul>
|
|
95
|
-
</dd>
|
|
96
|
-
</dl>
|
|
97
|
-
<dl
|
|
98
|
-
ng-if="ctrl.loadBalancer.serverGroups && ctrl.loadBalancer.serverGroups.length"
|
|
99
|
-
class="horizontal-when-filters-collapsed"
|
|
100
|
-
>
|
|
101
|
-
<dt>Server Groups</dt>
|
|
102
|
-
<dd>
|
|
103
|
-
<ul class="collapse-margin-on-filter-collapse">
|
|
104
|
-
<li ng-repeat="serverGroup in ctrl.loadBalancer.serverGroups | orderBy: ['isDisabled', '-name']">
|
|
105
|
-
<a
|
|
106
|
-
ui-sref="^.serverGroup({region: serverGroup.region,
|
|
107
|
-
accountId: serverGroup.account,
|
|
108
|
-
serverGroup: serverGroup.name,
|
|
109
|
-
provider: 'aws'})"
|
|
110
|
-
>
|
|
111
|
-
{{serverGroup.name}}
|
|
112
|
-
</a>
|
|
113
|
-
</li>
|
|
114
|
-
</ul>
|
|
115
|
-
</dd>
|
|
116
|
-
</dl>
|
|
117
|
-
<dl
|
|
118
|
-
ng-if="ctrl.loadBalancer.targetGroups && ctrl.loadBalancer.targetGroups.length"
|
|
119
|
-
class="horizontal-when-filters-collapsed"
|
|
120
|
-
>
|
|
121
|
-
<dt>Target Groups</dt>
|
|
122
|
-
<dd>
|
|
123
|
-
<ul class="collapse-margin-on-filter-collapse">
|
|
124
|
-
<li ng-repeat="targetGroup in ctrl.loadBalancer.targetGroups | orderBy: ['isDisabled', '-name']">
|
|
125
|
-
<a
|
|
126
|
-
ui-sref="^.targetGroupDetails({region: targetGroup.region,
|
|
127
|
-
loadBalancerName: ctrl.loadBalancer.name,
|
|
128
|
-
accountId: targetGroup.account,
|
|
129
|
-
name: targetGroup.name,
|
|
130
|
-
vpcId: targetGroup.vpcId,
|
|
131
|
-
provider: 'aws'})"
|
|
132
|
-
>
|
|
133
|
-
{{targetGroup.name}}
|
|
134
|
-
</a>
|
|
135
|
-
</li>
|
|
136
|
-
</ul>
|
|
137
|
-
</dd>
|
|
138
|
-
</dl>
|
|
139
|
-
<dl class="horizontal-when-filters-collapsed">
|
|
140
|
-
<dt ng-if="ctrl.loadBalancer.elb.dnsname">DNS Name</dt>
|
|
141
|
-
<dd>
|
|
142
|
-
<a target="_blank" href="{{ctrl.elbProtocol}}//{{ctrl.loadBalancer.elb.dnsname}}"
|
|
143
|
-
>{{ctrl.loadBalancer.elb.dnsname}}</a
|
|
144
|
-
>
|
|
145
|
-
<copy-to-clipboard
|
|
146
|
-
class="copy-to-clipboard copy-to-clipboard-sm"
|
|
147
|
-
text="ctrl.loadBalancer.elb.dnsname"
|
|
148
|
-
tool-tip="'Copy DNS Name to clipboard'"
|
|
149
|
-
>
|
|
150
|
-
</copy-to-clipboard>
|
|
151
|
-
</dd>
|
|
152
|
-
</dl>
|
|
153
|
-
</collapsible-section>
|
|
154
|
-
<collapsible-section heading="Status" expanded="true" ng-if="ctrl.loadBalancer.loadBalancerType === 'classic'">
|
|
155
|
-
<health-counts class="pull-left" container="ctrl.loadBalancer.instanceCounts"></health-counts>
|
|
156
|
-
</collapsible-section>
|
|
157
|
-
<collapsible-section heading="Status" expanded="false" ng-if="ctrl.loadBalancer.loadBalancerType !== 'classic'">
|
|
158
|
-
Select a target group to check the instance health status from the view of the target group.
|
|
159
|
-
</collapsible-section>
|
|
160
|
-
<collapsible-section ng-if="ctrl.loadBalancer.loadBalancerType === 'classic'" heading="Listeners">
|
|
161
|
-
<dl>
|
|
162
|
-
<dt>Load Balancer → Instance</dt>
|
|
163
|
-
<dd ng-repeat="listener in ctrl.loadBalancer.elb.listenerDescriptions">
|
|
164
|
-
{{listener.listener.protocol}}:{{listener.listener.loadBalancerPort}} →
|
|
165
|
-
{{listener.listener.instanceProtocol}}:{{listener.listener.instancePort}}
|
|
166
|
-
</dd>
|
|
167
|
-
</dl>
|
|
168
|
-
</collapsible-section>
|
|
169
|
-
<collapsible-section ng-if="ctrl.loadBalancer.loadBalancerType !== 'classic'" heading="Listeners">
|
|
170
|
-
<div ng-repeat="listener in ctrl.listeners">
|
|
171
|
-
<div class="listener-targets">{{listener.in}} →</div>
|
|
172
|
-
<div class="listener-targets">
|
|
173
|
-
<div ng-repeat="action in listener.actions">
|
|
174
|
-
<!-- redirect -->
|
|
175
|
-
<span ng-if="action.type === 'redirect'">
|
|
176
|
-
<span ng-if="action.redirectConfig.protocol !== listener.protocol">
|
|
177
|
-
{{action.redirectConfig.protocol}}:
|
|
178
|
-
</span>
|
|
179
|
-
<span ng-if="action.redirectConfig.host !== '#{host}'"> {{action.redirectConfig.host}} </span>
|
|
180
|
-
<span ng-if="action.redirectConfig.port !== '#{port}'"> {{action.redirectConfig.port}} </span>
|
|
181
|
-
<span ng-if="action.redirectConfig.path !== '/#{path}'"> {{action.redirectConfig.path}} </span>
|
|
182
|
-
<span ng-if="action.redirectConfig.query !== '#{query}'"> ?{{action.redirectConfig.query}} </span>
|
|
183
|
-
({{action.redirectConfig.statusCode}})
|
|
184
|
-
</span>
|
|
185
|
-
<!-- authenticate-oidc -->
|
|
186
|
-
<span ng-if="action.type === 'authenticate-oidc'">
|
|
187
|
-
<i class="fas fa-fw fa-user-lock"></i>
|
|
188
|
-
<a
|
|
189
|
-
ng-if="ctrl.oidcConfigPath"
|
|
190
|
-
href="{{ctrl.oidcConfigPath}}{{action.authenticateOidcConfig.clientId}}"
|
|
191
|
-
target="_blank"
|
|
192
|
-
>
|
|
193
|
-
{{action.authenticateOidcConfig.clientId}}
|
|
194
|
-
</a>
|
|
195
|
-
<span ng-if="!ctrl.oidcConfigPath"> {{action.authenticateOidcConfig.clientId}} </span>
|
|
196
|
-
</span>
|
|
197
|
-
<!-- forward -->
|
|
198
|
-
<span ng-if="action.targetGroupName && action.targetGroup">
|
|
199
|
-
<i class="fa fa-fw fa-crosshairs icon" aria-hidden="true"></i>
|
|
200
|
-
<a
|
|
201
|
-
ui-sref="^.targetGroupDetails({region: action.targetGroup.region,
|
|
202
|
-
loadBalancerName: ctrl.loadBalancer.name,
|
|
203
|
-
accountId: action.targetGroup.account,
|
|
204
|
-
name: action.targetGroup.name,
|
|
205
|
-
vpcId: action.targetGroup.vpcId,
|
|
206
|
-
provider: 'aws'})"
|
|
207
|
-
>
|
|
208
|
-
{{action.targetGroupName}}
|
|
209
|
-
</a>
|
|
210
|
-
</span>
|
|
211
|
-
<span ng-if="action.targetGroupName && !action.targetGroup">
|
|
212
|
-
<i class="fa fa-fw fa-crosshairs icon" aria-hidden="true"></i>
|
|
213
|
-
{{action.targetGroupName}}
|
|
214
|
-
</span>
|
|
215
|
-
</div>
|
|
216
|
-
</div>
|
|
217
|
-
</div>
|
|
218
|
-
</collapsible-section>
|
|
219
|
-
<collapsible-section
|
|
220
|
-
heading="{{ctrl.firewallsLabel}}"
|
|
221
|
-
ng-if="ctrl.loadBalancer.loadBalancerType !== 'network' || (ctrl.loadBalancer.loadBalancerType === 'network' && ctrl.securityGroups && ctrl.securityGroups.length > 0)"
|
|
222
|
-
>
|
|
223
|
-
<ul>
|
|
224
|
-
<li ng-repeat="securityGroup in ctrl.securityGroups | orderBy:'name'">
|
|
225
|
-
<a
|
|
226
|
-
ui-sref="^.firewallDetails({name:securityGroup.name, accountId: ctrl.loadBalancer.account, region: ctrl.loadBalancer.region, vpcId: ctrl.loadBalancer.vpcId, provider: ctrl.loadBalancer.provider})"
|
|
227
|
-
>
|
|
228
|
-
{{securityGroup.name}} ({{securityGroup.id}})
|
|
229
|
-
</a>
|
|
230
|
-
</li>
|
|
231
|
-
</ul>
|
|
232
|
-
</collapsible-section>
|
|
233
|
-
<collapsible-section heading="Subnets">
|
|
234
|
-
<div ng-if="ctrl.loadBalancer.subnetDetails.length === 0">
|
|
235
|
-
<h5>No subnets</h5>
|
|
236
|
-
</div>
|
|
237
|
-
<div ng-repeat="subnet in ctrl.loadBalancer.subnetDetails" ng-class="{'bottom-border': !$last}">
|
|
238
|
-
<h5><strong>{{subnet.id}}</strong></h5>
|
|
239
|
-
<dl class="dl-horizontal dl-narrow">
|
|
240
|
-
<dt>Purpose</dt>
|
|
241
|
-
<dd>{{subnet.purpose}}</dd>
|
|
242
|
-
|
|
243
|
-
<dt>State</dt>
|
|
244
|
-
<dd>{{subnet.state}}</dd>
|
|
245
|
-
|
|
246
|
-
<dt>Cidr Block</dt>
|
|
247
|
-
<dd>{{subnet.cidrBlock}}</dd>
|
|
248
|
-
</dl>
|
|
249
|
-
</div>
|
|
250
|
-
</collapsible-section>
|
|
251
|
-
<collapsible-section ng-if="ctrl.loadBalancer.loadBalancerType === 'classic'" heading="Health Checks">
|
|
252
|
-
<dl class="horizontal-when-filters-collapsed">
|
|
253
|
-
<dt>Target</dt>
|
|
254
|
-
<dd>{{ctrl.loadBalancer.elb.healthCheck.target}}</dd>
|
|
255
|
-
<dt>Timeout</dt>
|
|
256
|
-
<dd>{{ctrl.loadBalancer.elb.healthCheck.timeout}} seconds</dd>
|
|
257
|
-
<dt>Interval</dt>
|
|
258
|
-
<dd>{{ctrl.loadBalancer.elb.healthCheck.interval}} seconds</dd>
|
|
259
|
-
<dt>Healthy Threshold</dt>
|
|
260
|
-
<dd>{{ctrl.loadBalancer.elb.healthCheck.healthyThreshold}}</dd>
|
|
261
|
-
<dt>Unhealthy Threshold</dt>
|
|
262
|
-
<dd>{{ctrl.loadBalancer.elb.healthCheck.unhealthyThreshold}}</dd>
|
|
263
|
-
</dl>
|
|
264
|
-
</collapsible-section>
|
|
265
|
-
</div>
|
|
266
|
-
</div>
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import type { StateService } from '@uirouter/angularjs';
|
|
2
|
-
import UIROUTER_ANGULARJS from '@uirouter/angularjs';
|
|
3
|
-
import type { IController, IQService, IScope } from 'angular';
|
|
4
|
-
import { module } from 'angular';
|
|
5
|
-
|
|
6
|
-
import type { Application, ILoadBalancer } from '@spinnaker/core';
|
|
7
|
-
import { MANAGED_RESOURCE_DETAILS_INDICATOR } from '@spinnaker/core';
|
|
8
|
-
import type { IAmazonApplicationLoadBalancer, ITargetGroup } from '../../domain/IAmazonLoadBalancer';
|
|
9
|
-
|
|
10
|
-
export interface ITargetGroupFromStateParams {
|
|
11
|
-
accountId: string;
|
|
12
|
-
region: string;
|
|
13
|
-
name: string;
|
|
14
|
-
loadBalancerName: string;
|
|
15
|
-
vpcId: string;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export class AwsTargetGroupDetailsController implements IController {
|
|
19
|
-
private targetGroupFromParams: ITargetGroupFromStateParams;
|
|
20
|
-
public application: Application;
|
|
21
|
-
public state = { loading: true };
|
|
22
|
-
public elbProtocol: string;
|
|
23
|
-
public targetGroup: ITargetGroup;
|
|
24
|
-
public loadBalancer: IAmazonApplicationLoadBalancer;
|
|
25
|
-
|
|
26
|
-
public static $inject = ['$scope', '$q', '$state', 'targetGroup', 'app'];
|
|
27
|
-
constructor(
|
|
28
|
-
private $scope: IScope,
|
|
29
|
-
private $q: IQService,
|
|
30
|
-
private $state: StateService,
|
|
31
|
-
targetGroup: ITargetGroupFromStateParams,
|
|
32
|
-
private app: Application,
|
|
33
|
-
) {
|
|
34
|
-
this.application = app;
|
|
35
|
-
this.targetGroupFromParams = targetGroup;
|
|
36
|
-
|
|
37
|
-
this.app
|
|
38
|
-
.ready()
|
|
39
|
-
.then(() => this.extractTargetGroup())
|
|
40
|
-
.then(() => {
|
|
41
|
-
// If the user navigates away from the view before the initial extractTargetGroup call completes,
|
|
42
|
-
// do not bother subscribing to the refresh
|
|
43
|
-
if (!$scope.$$destroyed) {
|
|
44
|
-
app.getDataSource('loadBalancers').onRefresh($scope, () => this.extractTargetGroup());
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
public autoClose(): void {
|
|
50
|
-
if (this.$scope.$$destroyed) {
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
this.$state.params.allowModalToStayOpen = true;
|
|
54
|
-
this.$state.go('^', null, { location: 'replace' });
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
public extractTargetGroup(): PromiseLike<void> {
|
|
58
|
-
const { loadBalancerName, region, accountId, name } = this.targetGroupFromParams;
|
|
59
|
-
|
|
60
|
-
const appLoadBalancer: IAmazonApplicationLoadBalancer = this.app.loadBalancers.data.find((test: ILoadBalancer) => {
|
|
61
|
-
return test.name === loadBalancerName && test.region === region && test.account === accountId;
|
|
62
|
-
});
|
|
63
|
-
if (!appLoadBalancer) {
|
|
64
|
-
this.autoClose();
|
|
65
|
-
return this.$q.when(null);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
const targetGroup = appLoadBalancer.targetGroups.find((tg) => tg.name === name);
|
|
69
|
-
if (!targetGroup) {
|
|
70
|
-
this.autoClose();
|
|
71
|
-
return this.$q.when(null);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
// All the other details controllers get the latest from the server again, since target groups are currently only returned
|
|
75
|
-
// as a part of a load balancer, we don't have a good way of getting the latest from the server. If this small delay does
|
|
76
|
-
// end up causing problems, we can add a /targetGroups controller to clouddriver and expose it in gate like the
|
|
77
|
-
// loadBalancer controller.
|
|
78
|
-
this.targetGroup = targetGroup;
|
|
79
|
-
this.loadBalancer = appLoadBalancer;
|
|
80
|
-
this.state.loading = false;
|
|
81
|
-
|
|
82
|
-
this.elbProtocol = 'http:';
|
|
83
|
-
if (this.loadBalancer.listeners && this.loadBalancer.listeners.some((l) => l.protocol === 'HTTPS')) {
|
|
84
|
-
this.elbProtocol = 'https:';
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
return this.$q.when(null);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export const AWS_TARGET_GROUP_DETAILS_CTRL = 'spinnaker.amazon.loadBalancer.details.targetGroupDetails.controller';
|
|
92
|
-
module(AWS_TARGET_GROUP_DETAILS_CTRL, [UIROUTER_ANGULARJS, MANAGED_RESOURCE_DETAILS_INDICATOR]).controller(
|
|
93
|
-
'awsTargetGroupDetailsCtrl',
|
|
94
|
-
AwsTargetGroupDetailsController,
|
|
95
|
-
);
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
<div class="details-panel">
|
|
2
|
-
<div ng-if="ctrl.state.loading" class="header">
|
|
3
|
-
<div class="close-button">
|
|
4
|
-
<a class="btn btn-link" ui-sref="^">
|
|
5
|
-
<span class="glyphicon glyphicon-remove"></span>
|
|
6
|
-
</a>
|
|
7
|
-
</div>
|
|
8
|
-
<div class="horizontal center middle">
|
|
9
|
-
<loading-spinner size="'small'"></loading-spinner>
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
|
|
13
|
-
<div ng-if="!ctrl.state.loading" class="header">
|
|
14
|
-
<div class="close-button">
|
|
15
|
-
<a class="btn btn-link" ui-sref="^">
|
|
16
|
-
<span class="glyphicon glyphicon-remove"></span>
|
|
17
|
-
</a>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="header-text horizontal middle">
|
|
20
|
-
<i class="fa fa-crosshairs icon" aria-hidden="true"></i>
|
|
21
|
-
<h3 class="horizontal middle space-between flex-1" select-on-dbl-click>{{ctrl.targetGroup.name}}</h3>
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
<managed-resource-details-indicator
|
|
25
|
-
ng-if="!ctrl.state.loading && ctrl.loadBalancer.isManaged"
|
|
26
|
-
resource-summary="ctrl.loadBalancer.managedResourceSummary"
|
|
27
|
-
application="ctrl.application"
|
|
28
|
-
>
|
|
29
|
-
</managed-resource-details-indicator>
|
|
30
|
-
<div ng-if="!ctrl.state.loading" class="content">
|
|
31
|
-
<collapsible-section heading="Target Group Details" expanded="true">
|
|
32
|
-
<dl class="dl-horizontal dl-narrow">
|
|
33
|
-
<dt>In</dt>
|
|
34
|
-
<dd><account-tag account="ctrl.targetGroup.account" pad="right"></account-tag> {{ctrl.targetGroup.region}}</dd>
|
|
35
|
-
<dt>VPC</dt>
|
|
36
|
-
<dd>
|
|
37
|
-
<vpc-tag vpc-id="ctrl.targetGroup.vpcId"></vpc-tag>
|
|
38
|
-
</dd>
|
|
39
|
-
<dt>Protocol</dt>
|
|
40
|
-
<dd>{{ctrl.targetGroup.protocol}}</dd>
|
|
41
|
-
<dt>Port</dt>
|
|
42
|
-
<dd>{{ctrl.targetGroup.port}}</dd>
|
|
43
|
-
<dt>Target Type</dt>
|
|
44
|
-
<dd>{{ctrl.targetGroup.targetType}}</dd>
|
|
45
|
-
</dl>
|
|
46
|
-
<dl ng-if="ctrl.loadBalancer" class="horizontal-when-filters-collapsed">
|
|
47
|
-
<dt>Load Balancer</dt>
|
|
48
|
-
<dd>
|
|
49
|
-
<ul class="collapse-margin-on-filter-collapse">
|
|
50
|
-
<li>
|
|
51
|
-
<a
|
|
52
|
-
ui-sref="^.loadBalancerDetails({ name: ctrl.loadBalancer.name,
|
|
53
|
-
region: ctrl.loadBalancer.region,
|
|
54
|
-
accountId: ctrl.loadBalancer.account,
|
|
55
|
-
vpcId: ctrl.loadBalancer.vpcId,
|
|
56
|
-
provider: 'aws'})"
|
|
57
|
-
>
|
|
58
|
-
{{ctrl.loadBalancer.name}}
|
|
59
|
-
</a>
|
|
60
|
-
</li>
|
|
61
|
-
</ul>
|
|
62
|
-
</dd>
|
|
63
|
-
</dl>
|
|
64
|
-
<dl class="horizontal-when-filters-collapsed">
|
|
65
|
-
<dt ng-if="ctrl.loadBalancer.dnsname">Load Balancer DNS Name</dt>
|
|
66
|
-
<dd ng-if="ctrl.loadBalancer.dnsname">
|
|
67
|
-
<a target="_blank" href="{{ctrl.elbProtocol}}//{{ctrl.loadBalancer.dnsname}}"
|
|
68
|
-
>{{ctrl.loadBalancer.dnsname}}</a
|
|
69
|
-
>
|
|
70
|
-
<copy-to-clipboard
|
|
71
|
-
class="copy-to-clipboard copy-to-clipboard-sm"
|
|
72
|
-
text="ctrl.loadBalancer.dnsname"
|
|
73
|
-
tool-tip="'Copy DNS Name to clipboard'"
|
|
74
|
-
>
|
|
75
|
-
</copy-to-clipboard>
|
|
76
|
-
</dd>
|
|
77
|
-
</dl>
|
|
78
|
-
<dl
|
|
79
|
-
ng-if="ctrl.targetGroup.serverGroups && ctrl.targetGroup.serverGroups.length"
|
|
80
|
-
class="horizontal-when-filters-collapsed"
|
|
81
|
-
>
|
|
82
|
-
<dt>Server Groups</dt>
|
|
83
|
-
<dd>
|
|
84
|
-
<ul class="collapse-margin-on-filter-collapse">
|
|
85
|
-
<li ng-repeat="serverGroup in ctrl.targetGroup.serverGroups | orderBy: ['isDisabled', '-name']">
|
|
86
|
-
<a
|
|
87
|
-
ui-sref="^.serverGroup({region: serverGroup.region,
|
|
88
|
-
accountId: serverGroup.account,
|
|
89
|
-
serverGroup: serverGroup.name,
|
|
90
|
-
provider: serverGroup.cloudProvider})"
|
|
91
|
-
>
|
|
92
|
-
{{serverGroup.name}}
|
|
93
|
-
</a>
|
|
94
|
-
</li>
|
|
95
|
-
</ul>
|
|
96
|
-
</dd>
|
|
97
|
-
</dl>
|
|
98
|
-
</collapsible-section>
|
|
99
|
-
<collapsible-section heading="Status" expanded="true">
|
|
100
|
-
<health-counts class="pull-left" container="ctrl.targetGroup.instanceCounts"></health-counts>
|
|
101
|
-
</collapsible-section>
|
|
102
|
-
<collapsible-section heading="Health Checks">
|
|
103
|
-
<dl class="horizontal-when-filters-collapsed">
|
|
104
|
-
<dt>Target</dt>
|
|
105
|
-
<dd>
|
|
106
|
-
{{ctrl.targetGroup.healthCheckProtocol}}:{{ctrl.targetGroup.healthCheckPort}}
|
|
107
|
-
{{ctrl.targetGroup.healthCheckPath}}
|
|
108
|
-
</dd>
|
|
109
|
-
<dt>Timeout</dt>
|
|
110
|
-
<dd>{{ctrl.targetGroup.healthCheckTimeoutSeconds}} seconds</dd>
|
|
111
|
-
<dt>Interval</dt>
|
|
112
|
-
<dd>{{ctrl.targetGroup.healthCheckIntervalSeconds}} seconds</dd>
|
|
113
|
-
<dt>Healthy Threshold</dt>
|
|
114
|
-
<dd>{{ctrl.targetGroup.healthyThresholdCount}}</dd>
|
|
115
|
-
<dt>Unhealthy Threshold</dt>
|
|
116
|
-
<dd>{{ctrl.targetGroup.unhealthyThresholdCount}}</dd>
|
|
117
|
-
<dt>Matcher</dt>
|
|
118
|
-
<dd>HTTP Code(s): {{ctrl.targetGroup.matcher.httpCode}}</dd>
|
|
119
|
-
</dl>
|
|
120
|
-
</collapsible-section>
|
|
121
|
-
<collapsible-section heading="Attributes" expanded="true">
|
|
122
|
-
<dl class="horizontal-when-filters-collapsed">
|
|
123
|
-
<dt>Deregistration Delay Timeout</dt>
|
|
124
|
-
<dd>{{ctrl.targetGroup.attributes['deregistration_delay.timeout_seconds']}} seconds</dd>
|
|
125
|
-
<dt>Stickiness Enabled</dt>
|
|
126
|
-
<dd>{{ctrl.targetGroup.attributes['stickiness.enabled']}}</dd>
|
|
127
|
-
<dt ng-if-start="ctrl.targetGroup.attributes['stickiness.enabled'] === 'true'">
|
|
128
|
-
Stickiness Load Balancer Cookie Duration
|
|
129
|
-
</dt>
|
|
130
|
-
<dd>{{ctrl.targetGroup.attributes['stickiness.lb_cookie.duration_seconds']}} seconds</dd>
|
|
131
|
-
<dt>Stickiness Type</dt>
|
|
132
|
-
<dd ng-if-end>{{ctrl.targetGroup.attributes['stickiness.type']}}</dd>
|
|
133
|
-
<dt ng-if-start="ctrl.loadBalancer.loadBalancerType === 'network'">Preserve Client IP</dt>
|
|
134
|
-
<dd ng-if-end>{{ctrl.targetGroup.attributes['preserve_client_ip.enabled']}}</dd>
|
|
135
|
-
</dl>
|
|
136
|
-
</collapsible-section>
|
|
137
|
-
</div>
|
|
138
|
-
</div>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { module } from 'angular';
|
|
2
|
-
|
|
3
|
-
import { LOAD_BALANCER_ACTIONS } from './details/loadBalancerActions.component';
|
|
4
|
-
import { AWS_LOAD_BALANCER_DETAILS_CTRL } from './details/loadBalancerDetails.controller';
|
|
5
|
-
import { AWS_TARGET_GROUP_DETAILS_CTRL } from './details/targetGroupDetails.controller';
|
|
6
|
-
import { TARGET_GROUP_STATES } from './targetGroup.states';
|
|
7
|
-
|
|
8
|
-
export const AWS_LOAD_BALANCER_MODULE = 'spinnaker.amazon.loadBalancer';
|
|
9
|
-
|
|
10
|
-
module(AWS_LOAD_BALANCER_MODULE, [
|
|
11
|
-
AWS_LOAD_BALANCER_DETAILS_CTRL,
|
|
12
|
-
AWS_TARGET_GROUP_DETAILS_CTRL,
|
|
13
|
-
LOAD_BALANCER_ACTIONS,
|
|
14
|
-
TARGET_GROUP_STATES,
|
|
15
|
-
]);
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import type { StateParams } from '@uirouter/angularjs';
|
|
2
|
-
import { module } from 'angular';
|
|
3
|
-
|
|
4
|
-
import type { ApplicationStateProvider, INestedState } from '@spinnaker/core';
|
|
5
|
-
import { APPLICATION_STATE_PROVIDER } from '@spinnaker/core';
|
|
6
|
-
|
|
7
|
-
import { TargetGroupDetails } from './TargetGroupDetails';
|
|
8
|
-
|
|
9
|
-
export const TARGET_GROUP_STATES = 'spinnaker.amazon.loadBalancer.targetGroup.states';
|
|
10
|
-
module(TARGET_GROUP_STATES, [APPLICATION_STATE_PROVIDER]).config([
|
|
11
|
-
'applicationStateProvider',
|
|
12
|
-
(applicationStateProvider: ApplicationStateProvider) => {
|
|
13
|
-
const targetGroupDetails: INestedState = {
|
|
14
|
-
name: 'targetGroupDetails',
|
|
15
|
-
url: '/targetGroupDetails/:provider/:accountId/:region/:vpcId/:loadBalancerName/:name',
|
|
16
|
-
params: {
|
|
17
|
-
vpcId: {
|
|
18
|
-
value: null,
|
|
19
|
-
squash: true,
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
views: {
|
|
23
|
-
'detail@../insight': {
|
|
24
|
-
component: TargetGroupDetails,
|
|
25
|
-
$type: 'react',
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
resolve: {
|
|
29
|
-
accountId: ['$stateParams', ($stateParams: StateParams) => $stateParams.accountId],
|
|
30
|
-
targetGroup: [
|
|
31
|
-
'$stateParams',
|
|
32
|
-
($stateParams: StateParams) => {
|
|
33
|
-
return {
|
|
34
|
-
loadBalancerName: $stateParams.loadBalancerName,
|
|
35
|
-
name: $stateParams.name,
|
|
36
|
-
accountId: $stateParams.accountId,
|
|
37
|
-
region: $stateParams.region,
|
|
38
|
-
vpcId: $stateParams.vpcId,
|
|
39
|
-
};
|
|
40
|
-
},
|
|
41
|
-
],
|
|
42
|
-
},
|
|
43
|
-
data: {
|
|
44
|
-
pageTitleDetails: {
|
|
45
|
-
title: 'Target Group Details',
|
|
46
|
-
nameParam: 'name',
|
|
47
|
-
accountParam: 'accountId',
|
|
48
|
-
regionParam: 'region',
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
applicationStateProvider.addInsightDetailState(targetGroupDetails);
|
|
54
|
-
},
|
|
55
|
-
]);
|