summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/jest/mocks/left-paeltte-elements.mock.ts
diff options
context:
space:
mode:
authorys9693 <ys9693@att.com>2020-01-19 13:50:02 +0200
committerOfir Sonsino <ofir.sonsino@intl.att.com>2020-01-22 12:33:31 +0000
commit16a9fce0e104a38371a9e5a567ec611ae3fc7f33 (patch)
tree03a2aff3060ddb5bc26a90115805a04becbaffc9 /catalog-ui/src/jest/mocks/left-paeltte-elements.mock.ts
parentaa83a2da4f911c3ac89318b8e9e8403b072942e1 (diff)
Catalog alignment
Issue-ID: SDC-2724 Signed-off-by: ys9693 <ys9693@att.com> Change-Id: I52b4aacb58cbd432ca0e1ff7ff1f7dd52099c6fe
Diffstat (limited to 'catalog-ui/src/jest/mocks/left-paeltte-elements.mock.ts')
-rw-r--r--catalog-ui/src/jest/mocks/left-paeltte-elements.mock.ts149
1 files changed, 149 insertions, 0 deletions
diff --git a/catalog-ui/src/jest/mocks/left-paeltte-elements.mock.ts b/catalog-ui/src/jest/mocks/left-paeltte-elements.mock.ts
new file mode 100644
index 0000000000..c8b091e18d
--- /dev/null
+++ b/catalog-ui/src/jest/mocks/left-paeltte-elements.mock.ts
@@ -0,0 +1,149 @@
+export const leftPaletteElements =
+ {
+ Generic: {
+ Network : [
+ {
+ allVersions: {
+ 1.0: "1a55456f-3842-494c-873c-1a49e8e1c8a8",
+ 2.0: "145ac05a-2ae9-4bde-a719-30278ab6e011",
+ 3.0: "6c4c3614-101a-4d6a-b79b-9f76241b4ee1",
+ 3.1: "f667dcb2-7388-477a-8838-847a948ce2b7"
+ },
+ categoryType: "COMPONENT",
+ certifiedIconClass: "",
+ componentSubType: "CP",
+ componentType: "RESOURCE",
+ displayName: "extVirtualMachineInterfaceCP",
+ iconName: "network",
+ invariantUUID: "e1d111f6-ee55-48fa-8b09-3535eb10185d",
+ isDraggable: true,
+ mainCategory: "Generic",
+ name: "extVirtualMachineInterfaceCP",
+ searchFilterTerms: "extvirtualmachineinterfacecp external port for virtual machine interface extvirtualmachineinterfacecp 3.0",
+ subCategory: "Network Elements",
+ systemName: "Extvirtualmachineinterfacecp",
+ uniqueId: "6c4c3614-101a-4d6a-b79b-9f76241b4ee1",
+ uuid: "9df6a0b9-9b13-4b70-9e2a-c5f4b93b56cf",
+ version: "3.0"
+ },
+ {
+ allVersions: undefined,
+ categoryType: "COMPONENT",
+ certifiedIconClass: "non-certified",
+ componentSubType: "ServiceProxy",
+ componentType: "SERVICE",
+ displayName: "NewService2",
+ iconName: "defaulticon",
+ invariantUUID: "be13db98-2579-4780-9e40-04a5f7937723",
+ isDraggable: true,
+ mainCategory: "Generic",
+ name: "NewService2",
+ searchFilterTerms: "newservice2 asdfasdfa newservice2 0.3",
+ subCategory: "Generic",
+ systemName: "Newservice2",
+ uniqueId: "262198c2-04ea-4674-9cfe-c601b12f7961",
+ uuid: "2cf8baed-7ff9-4faf-9f41-b9f48e3ee435",
+ version: "0.3"
+ },
+ {
+ allVersions: {
+ 1.0: "025840e6-7e8b-4be0-940a-aca3f64ac218",
+ 2.0: "84a05a83-8c8c-48bd-81c7-165fd8a4b631",
+ 3.0: "d4d5215c-e658-43db-95c6-1bfbafdae259",
+ 4.0: "5db22a16-029a-4bf7-a9ef-7ceda81f6edb",
+ 5.0: "86e6a636-a7b4-4392-8501-2857e6ba1d8b",
+ 6.0: "9a55a9c9-9e30-4077-8e92-6dcf69b250de",
+ 7.0: "eb515043-a771-4f84-92ea-ef15586f99be",
+ 8.0: "3d83195f-e92b-4f43-a821-f7043b107615",
+ 9.0: "a31ab521-b500-41f5-a20b-6d51f1cdff34"
+ },
+ categoryType: "COMPONENT",
+ certifiedIconClass: "",
+ componentSubType: "Configuration",
+ componentType: "RESOURCE",
+ displayName: "VRF Entry Configuration",
+ iconName: "pmc",
+ invariantUUID: "0845cd3a-cdbc-46fc-aee3-b227fbeeb9ec",
+ isDraggable: true,
+ mainCategory: "Configuration",
+ name: "VRF Entry Configuration",
+ searchFilterTerms: "vrf entry configuration vrf entry configuration object vrf entry configuration 9.0",
+ subCategory: "Configuration",
+ systemName: "VrfEntryConfiguration",
+ uniqueId: "a31ab521-b500-41f5-a20b-6d51f1cdff34",
+ uuid: "4cd57279-54d5-4971-b744-96925649dac4",
+ version: "9.0"
+ },
+ {
+ allVersions: {
+ 1.0: "9c829122-af05-4bc9-b537-5d84f4c8ae25",
+ 1.1: "930d56cb-868d-4e35-bd0f-e737d2fdb171"
+ },
+ categoryType: "COMPONENT",
+ certifiedIconClass: "",
+ componentSubType: "VF",
+ componentType: "RESOURCE",
+ displayName: "sssssss",
+ iconName: "defaulticon",
+ invariantUUID: "34715c1c-fc70-46b2-99f0-b46a9fe4689d",
+ isDraggable: true,
+ mainCategory: "DCAE Component",
+ name: "sssssss",
+ searchFilterTerms: "sssssss sadfdsa sssssss 1.0",
+ subCategory: "Collector",
+ systemName: "Sssssss",
+ uniqueId: "9c829122-af05-4bc9-b537-5d84f4c8ae25",
+ uuid: "a8cf015e-e4e5-4d4b-a01e-8624e8d36095",
+ version: "1.0"
+ },
+ {
+ allVersions: {
+ 1.0: "9c829122-af05-4bc9-b537-5d84f4c8ae25",
+ 1.1: "930d56cb-868d-4e35-bd0f-e737d2fdb171"
+ },
+ categoryType: "GROUP",
+ certifiedIconClass: "",
+ componentSubType: "VF",
+ componentType: "RESOURCE",
+ displayName: "sssssss",
+ iconName: "defaulticon",
+ invariantUUID: "34715c1c-fc70-46b2-99f0-b46a9fe4689d",
+ isDraggable: true,
+ mainCategory: "DCAE Component",
+ name: "sssssss",
+ searchFilterTerms: "testVal and other values",
+ subCategory: "Collector",
+ systemName: "Sssssss",
+ uniqueId: "9c829122-af05-4bc9-b537-5d84f4c8ae25",
+ uuid: "a8cf015e-e4e5-4d4b-a01e-8624e8d36095",
+ version: "1.0"
+ }
+ ],
+ Configuration: [
+ {
+ allVersions: {
+ 1.0: "1a55456f-3842-494c-873c-1a49e8e1c8a8",
+ 2.0: "145ac05a-2ae9-4bde-a719-30278ab6e011",
+ 3.0: "6c4c3614-101a-4d6a-b79b-9f76241b4ee1",
+ 3.1: "f667dcb2-7388-477a-8838-847a948ce2b7"
+ },
+ categoryType: "COMPONENT",
+ certifiedIconClass: "",
+ componentSubType: "CP",
+ componentType: "RESOURCE",
+ displayName: "extVirtualMachineInterfaceCP",
+ iconName: "network",
+ invariantUUID: "e1d111f6-ee55-48fa-8b09-3535eb10185d",
+ isDraggable: true,
+ mainCategory: "Configuration",
+ name: "extVirtualMachineInterfaceCP",
+ searchFilterTerms: "extvirtualmachineinterfacecp external port for virtual machine interface extvirtualmachineinterfacecp 3.0",
+ subCategory: "Network Elements",
+ systemName: "Extvirtualmachineinterfacecp",
+ uniqueId: "6c4c3614-101a-4d6a-b79b-9f76241b4ee1",
+ uuid: "9df6a0b9-9b13-4b70-9e2a-c5f4b93b56cf",
+ version: "3.0"
+ },
+ ]
+ }
+ };