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

Issue #3256849 by sekinet, yas, Ryo Yamashita: Add a detailed view to SPA (AWS...

Issue #3256849 by sekinet, yas, Ryo Yamashita: Add a detailed view to SPA (AWS Cloud Internet Gateway)
parent fe241e22
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
import EntityInfoTemplate from 'model/EntityInfoTemplate';

const AWS_CLOUD_INTERNET_GATEWAY_TEMPLATE: EntityInfoTemplate = {
  cloudServiceProvider: 'aws_cloud',
  entityName: 'internet_gateway',
  entityRecords: [
    {
      panelName: 'Internet Gateway',
      tableRecordList: [],
      keyValueRecords: [
        { labelName: 'Internet Gateway ID', name: 'internet_gateway_id', type: 'default' },
        { labelName: 'VPC ID', name: 'vpc_id', type: 'default' },
        { labelName: 'State', name: 'state', type: 'default' },
        { labelName: 'AWS account ID', name: 'account_id', type: 'default' },
        { labelName: 'Created', name: 'created', type: 'datetime' },
      ]
    },
    {
      panelName: 'Tags',
      tableRecordList: ['tags'],
      keyValueRecords: [
        { labelName: 'Tags', name: 'tags', type: 'default' },
      ]
    },
  ]
};

export default AWS_CLOUD_INTERNET_GATEWAY_TEMPLATE;
+2 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ import AWS_CLOUD_SNAPSHOT_TEMPLATE from 'constant/entity_info_template/aws_cloud
import AWS_CLOUD_NETWORK_INTERFACE_TEMPLATE from 'constant/entity_info_template/aws_cloud/network_interface';
import AWS_CLOUD_VPC_TEMPLATE from 'constant/entity_info_template/aws_cloud/vpc';
import AWS_CLOUD_SUBNET_TEMPLATE from 'constant/entity_info_template/aws_cloud/subnet';
import AWS_CLOUD_INTERNET_GATEWAY_TEMPLATE from 'constant/entity_info_template/aws_cloud/internet_gateway';
import K8S_POD_TEMPLATE from 'constant/entity_info_template/k8s/pod';

const ENTITY_INFO_LIST = [
@@ -21,6 +22,7 @@ const ENTITY_INFO_LIST = [
  AWS_CLOUD_NETWORK_INTERFACE_TEMPLATE,
  AWS_CLOUD_VPC_TEMPLATE,
  AWS_CLOUD_SUBNET_TEMPLATE,
  AWS_CLOUD_INTERNET_GATEWAY_TEMPLATE,
  K8S_POD_TEMPLATE,
];