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

Issue #3265149 by onotm, yas, Ryo Yamashita: Add a detailed view to SPA (OpenStack Key Pairs)

parent 113bb353
Loading
Loading
Loading
Loading
+2 −0
Changes for modules/cloud_dashboard/cloud_dashboard/src/constant/entity_info_template/entity_info_template.ts: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@ import K8S_API_SERVICE_TEMPLATE from 'constant/entity_info_template/k8s/api_serv
import K8S_SCHEDULE_TEMPLATE from 'constant/entity_info_template/k8s/schedule';
import OPENSTACK_INSTANCE_TEMPLATE from 'constant/entity_info_template/openstack/instance';
import OPENSTACK_IMAGE_TEMPLATE from 'constant/entity_info_template/openstack/image';
import OPENSTACK_KEY_PAIR_TEMPLATE from 'constant/entity_info_template/openstack/key_pair';

const ENTITY_INFO_LIST = [
  AWS_CLOUD_INSTANCE_TEMPLATE,
@@ -90,6 +91,7 @@ const ENTITY_INFO_LIST = [
  K8S_SCHEDULE_TEMPLATE,
  OPENSTACK_INSTANCE_TEMPLATE,
  OPENSTACK_IMAGE_TEMPLATE,
  OPENSTACK_KEY_PAIR_TEMPLATE,
];

export const UPPERCASE_WORD_SET = new Set([
+27 −0
Changes for modules/cloud_dashboard/cloud_dashboard/src/constant/entity_info_template/openstack/key_pair.ts: 27 added lines, 0 removed lines.
Original line number Diff line number Diff line
import EntityInfoTemplate from 'model/EntityInfoTemplate';

// Template for displaying detailed information about entities in OpenStack.
const OPENSTACK_KEY_PAIR_TEMPLATE: EntityInfoTemplate = {
  cloudServiceProvider: 'openstack',
  entityName: 'key_pair',
  entityRecords: [
    {
      panelName: 'Key pair',
      tableRecordList: [],
      keyValueRecords: [
        { labelName: 'Key pair name', name: 'key_pair_name', type: 'default' },
        { labelName: 'Fingerprint', name: 'key_fingerprint', type: 'default' },
        { labelName: 'Created', name: 'created', type: 'datetime' },
      ]
    },
    {
      panelName: 'Others',
      tableRecordList: [],
      keyValueRecords: [
        { labelName: 'Cloud service provider ID', name: 'cloud_context', type: 'default' },
      ]
    },
  ]
};

export default OPENSTACK_KEY_PAIR_TEMPLATE;