Commit f8e90b8d authored by Takumaru Sekine's avatar Takumaru Sekine Committed by Yas Naoi
Browse files

Issue #3320663 by yas, sekinet, Ryo Yamashita: Add the VPC name along with the...

Issue #3320663 by yas, sekinet, Ryo Yamashita: Add the VPC name along with the VPC ID in the detailed view of AWS resources in SPA
parent 199e8ba2
Loading
Loading
Loading
Loading
+7 −1
Changes for modules/cloud_dashboard/cloud_dashboard/src/constant/templates/entity/aws_cloud/ec2/network_interface.ts: 7 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -24,7 +24,13 @@ const AWS_CLOUD_NETWORK_INTERFACE_TEMPLATE: EntityInfoTemplate = {
      tableRecordList: [],
      keyValueRecords: [
        { labelName: 'Security Groups', name: 'security_groups', type: 'default' },
        { labelName: 'VPC ID', name: 'vpc_id', type: 'default' },
        {
          labelName: 'VPC ID', name: 'vpc_id', type: 'join', info: {
            entityTypeId: 'aws_cloud_vpc',
            keyColumn: 'vpc_id',
            valueColumn: 'name',
          }
        },
        { labelName: 'CIDR Block', name: 'cidr_block', type: 'default' },
        { labelName: 'Subnet ID', name: 'subnet_id', type: 'default' },
        { labelName: 'Public IPs', name: 'public_ips', type: 'default' },
+14 −2
Changes for modules/cloud_dashboard/cloud_dashboard/src/constant/templates/entity/aws_cloud/ec2/security_group.ts: 14 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -14,7 +14,13 @@ const COLUMN_RULES: EntityColumn[] = [
  { labelName: 'Group Name', 'name': 'group_name', type: 'default' },
  { labelName: 'Peering Status', 'name': 'peering_status', type: 'default' },
  { labelName: 'Group User ID', 'name': 'user_id', type: 'default' },
  { labelName: 'VPC ID', 'name': 'vpc_id', type: 'default' },
  {
    labelName: 'VPC ID', name: 'vpc_id', type: 'join', info: {
      entityTypeId: 'aws_cloud_vpc',
      keyColumn: 'vpc_id',
      valueColumn: 'name',
    }
  },
  { labelName: 'Peering connection ID', 'name': 'peering_connection_id', type: 'default' },
  { labelName: 'Description', 'name': 'description', type: 'default' },
];
@@ -44,7 +50,13 @@ const AWS_CLOUD_SECURITY_GROUP_TEMPLATE: EntityInfoTemplate = {
        { labelName: 'Security group name', name: 'group_name', type: 'default' },
        { labelName: 'ID', name: 'group_id', type: 'default' },
        { labelName: 'Description', name: 'description', type: 'default' },
        { labelName: 'VPC ID', name: 'vpc_id', type: 'default' },
        {
          labelName: 'VPC ID', name: 'vpc_id', type: 'join', info: {
            entityTypeId: 'aws_cloud_vpc',
            keyColumn: 'vpc_id',
            valueColumn: 'name',
          }
        },
        { labelName: 'Created', name: 'created', type: 'datetime' },
      ]
    },
+7 −1
Changes for modules/cloud_dashboard/cloud_dashboard/src/constant/templates/entity/aws_cloud/vpc/carrier_gateway.ts: 7 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -9,7 +9,13 @@ const AWS_CLOUD_CARRIER_GATEWAY_TEMPLATE: EntityInfoTemplate = {
      tableRecordList: [],
      keyValueRecords: [
        { labelName: 'Carrier gateway ID', name: 'carrier_gateway_id', type: 'default' },
        { labelName: 'VPC ID', name: 'vpc_id', type: 'default' },
        {
          labelName: 'VPC ID', name: 'vpc_id', type: 'join', info: {
            entityTypeId: 'aws_cloud_vpc',
            keyColumn: 'vpc_id',
            valueColumn: 'name',
          }
        },
        { labelName: 'State', name: 'state', type: 'default' },
        { labelName: 'AWS account ID', name: 'account_id', type: 'default' },
        { labelName: 'Created', name: 'created', type: 'datetime' },
+7 −1
Changes for modules/cloud_dashboard/cloud_dashboard/src/constant/templates/entity/aws_cloud/vpc/internet_gateway.ts: 7 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -9,7 +9,13 @@ const AWS_CLOUD_INTERNET_GATEWAY_TEMPLATE: EntityInfoTemplate = {
      tableRecordList: [],
      keyValueRecords: [
        { labelName: 'Internet gateway ID', name: 'internet_gateway_id', type: 'default' },
        { labelName: 'VPC ID', name: 'vpc_id', type: 'default' },
        {
          labelName: 'VPC ID', name: 'vpc_id', type: 'join', info: {
            entityTypeId: 'aws_cloud_vpc',
            keyColumn: 'vpc_id',
            valueColumn: 'name',
          }
        },
        { labelName: 'State', name: 'state', type: 'default' },
        { labelName: 'AWS account ID', name: 'account_id', type: 'default' },
        { labelName: 'Created', name: 'created', type: 'datetime' },
+7 −1
Changes for modules/cloud_dashboard/cloud_dashboard/src/constant/templates/entity/aws_cloud/vpc/subnet.ts: 7 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -10,7 +10,13 @@ const AWS_CLOUD_SUBNET_TEMPLATE: EntityInfoTemplate = {
      keyValueRecords: [
        { labelName: 'CIDR Block', name: 'cidr_block', type: 'default' },
        { labelName: 'Subnet ID', name: 'subnet_id', type: 'default' },
        { labelName: 'VPC', name: 'vpc_id', type: 'default' },
        {
          labelName: 'VPC', name: 'vpc_id', type: 'join', info: {
            entityTypeId: 'aws_cloud_vpc',
            keyColumn: 'vpc_id',
            valueColumn: 'name',
          }
        },
        { labelName: 'State', name: 'state', type: 'default' },
        { labelName: 'AWS account ID', name: 'account_id', type: 'default' },
        {
Loading