Commit 28aea2ad authored by Tomohiro Ono's avatar Tomohiro Ono Committed by Yas Naoi
Browse files

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

Issue #3256845 by onotm, yas, Ryo Yamashita: Add a detailed view to SPA (AWS Cloud VPC Peering Connection)
parent 60750c70
Loading
Loading
Loading
Loading

cloud_dashboard/build.sh

100644 → 100755
+0 −0

File mode changed from 100644 to 100755.

+55 −0
Original line number Diff line number Diff line
import EntityInfoTemplate from 'model/EntityInfoTemplate';

const AWS_CLOUD_VPC_PEERING_CONNECTION_TEMPLATE: EntityInfoTemplate = {
  cloudServiceProvider: 'aws_cloud',
  entityName: 'vpc_peering_connection',
  entityRecords: [
    {
      panelName: 'VPC Peering Connection',
      tableRecordList: [],
      keyValueRecords: [
        { labelName: 'VPC Peering Connection ID', name: 'vpc_peering_connection_id', type: 'default' },
        { labelName: 'Status Code', name: 'status_code', type: 'default' },
        { labelName: 'Status Message', name: 'status_message', type: 'default' },
        { labelName: 'Expiration Time', name: 'expiration_time', type: 'datetime' },
        { labelName: 'Created', name: 'created', type: 'datetime' },
      ]
    },
    {
      panelName: 'Requester',
      tableRecordList: [],
      keyValueRecords: [
        { labelName: 'Requester VPC ID', name: 'requester_vpc_id', type: 'default' },
        { labelName: 'Requester CIDR Block', name: 'requester_cidr_block', type: 'default' },
        { labelName: 'Requester AWS account ID', name: 'requester_account_id', type: 'default' },
        { labelName: 'Requester Region', name: 'requester_region', type: 'default' },
      ]
    },
    {
      panelName: 'Accepter',
      tableRecordList: [],
      keyValueRecords: [
        { labelName: 'Accepter VPC ID', name: 'accepter_vpc_id', type: 'default' },
        { labelName: 'Accepter CIDR Block', name: 'accepter_cidr_block', type: 'default' },
        { labelName: 'Accepter AWS account ID', name: 'accepter_account_id', type: 'default' },
        { labelName: 'Accepter region', name: 'accepter_region', type: 'default' },
      ]
    },
    {
      panelName: 'Tags',
      tableRecordList: ['tags'],
      keyValueRecords: [
        { labelName: 'Tags', name: 'tags', type: 'default' },
      ]
    },
    {
      panelName: 'Others',
      tableRecordList: [],
      keyValueRecords: [
        { labelName: 'Cloud service provider ID', name: 'cloud_context', type: 'default' },
      ]
    },
  ]
};

export default AWS_CLOUD_VPC_PEERING_CONNECTION_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_VPC_PEERING_CONNECTION_TEMPLATE from 'constant/entity_info_template/aws_cloud/vpc_peering_connection';
import AWS_CLOUD_INTERNET_GATEWAY_TEMPLATE from 'constant/entity_info_template/aws_cloud/internet_gateway';
import K8S_NODE_TEMPLATE from 'constant/entity_info_template/k8s/node';
import K8S_POD_TEMPLATE from 'constant/entity_info_template/k8s/pod';
@@ -23,6 +24,7 @@ const ENTITY_INFO_LIST = [
  AWS_CLOUD_NETWORK_INTERFACE_TEMPLATE,
  AWS_CLOUD_VPC_TEMPLATE,
  AWS_CLOUD_SUBNET_TEMPLATE,
  AWS_CLOUD_VPC_PEERING_CONNECTION_TEMPLATE,
  AWS_CLOUD_INTERNET_GATEWAY_TEMPLATE,
  K8S_NODE_TEMPLATE,
  K8S_POD_TEMPLATE,