generated from RedHatInsights/frontend-starter-app
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(HMS-2304): Nest list endpoints with 'data' (#301)
- Loading branch information
Showing
9 changed files
with
147 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,92 +1,96 @@ | ||
export const awsInstanceTypeList = [ | ||
{ | ||
id: 1, | ||
name: 'm5dn.12xlarge', | ||
vcpus: 48, | ||
cores: 24, | ||
memory: 196608, | ||
supported: true, | ||
architecture: 'x86_64', | ||
}, | ||
{ | ||
id: 2, | ||
name: 't4g.nano', | ||
vcpus: 2, | ||
cores: 2, | ||
memory: 512, | ||
architecture: 'arm64', | ||
}, | ||
{ | ||
id: 3, | ||
name: 't1.micro', | ||
vcpus: 1, | ||
cores: 2, | ||
memory: 128, | ||
supported: true, | ||
architecture: 'x86_64', | ||
}, | ||
{ | ||
id: 4, | ||
name: 't1.nano', | ||
vcpus: 1, | ||
cores: 1, | ||
memory: 512, | ||
architecture: 'x86_64', | ||
supported: false, | ||
}, | ||
]; | ||
export const awsInstanceTypeList = { | ||
data: [ | ||
{ | ||
id: 1, | ||
name: 'm5dn.12xlarge', | ||
vcpus: 48, | ||
cores: 24, | ||
memory: 196608, | ||
supported: true, | ||
architecture: 'x86_64', | ||
}, | ||
{ | ||
id: 2, | ||
name: 't4g.nano', | ||
vcpus: 2, | ||
cores: 2, | ||
memory: 512, | ||
architecture: 'arm64', | ||
}, | ||
{ | ||
id: 3, | ||
name: 't1.micro', | ||
vcpus: 1, | ||
cores: 2, | ||
memory: 128, | ||
supported: true, | ||
architecture: 'x86_64', | ||
}, | ||
{ | ||
id: 4, | ||
name: 't1.nano', | ||
vcpus: 1, | ||
cores: 1, | ||
memory: 512, | ||
architecture: 'x86_64', | ||
supported: false, | ||
}, | ||
], | ||
}; | ||
|
||
export const azureInstanceTypeList = [ | ||
{ | ||
name: 'Standard_A1_v2', | ||
vcpus: 1, | ||
cores: 1, | ||
memory_mib: 2000, | ||
storage_gb: 10, | ||
supported: true, | ||
architecture: 'x86_64', | ||
azure: { | ||
gen_v1: true, | ||
gen_v2: false, | ||
export const azureInstanceTypeList = { | ||
data: [ | ||
{ | ||
name: 'Standard_A1_v2', | ||
vcpus: 1, | ||
cores: 1, | ||
memory_mib: 2000, | ||
storage_gb: 10, | ||
supported: true, | ||
architecture: 'x86_64', | ||
azure: { | ||
gen_v1: true, | ||
gen_v2: false, | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: 'Standard_A2_v2', | ||
vcpus: 2, | ||
cores: 2, | ||
memory_mib: 4000, | ||
storage_gb: 20, | ||
supported: true, | ||
architecture: 'x86_64', | ||
azure: { | ||
gen_v1: true, | ||
gen_v2: false, | ||
{ | ||
name: 'Standard_A2_v2', | ||
vcpus: 2, | ||
cores: 2, | ||
memory_mib: 4000, | ||
storage_gb: 20, | ||
supported: true, | ||
architecture: 'x86_64', | ||
azure: { | ||
gen_v1: true, | ||
gen_v2: false, | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: 'Standard_A2m_v2', | ||
vcpus: 2, | ||
cores: 2, | ||
memory_mib: 16000, | ||
storage_gb: 20, | ||
supported: true, | ||
architecture: 'x86_64', | ||
azure: { | ||
gen_v1: true, | ||
gen_v2: false, | ||
{ | ||
name: 'Standard_A2m_v2', | ||
vcpus: 2, | ||
cores: 2, | ||
memory_mib: 16000, | ||
storage_gb: 20, | ||
supported: true, | ||
architecture: 'x86_64', | ||
azure: { | ||
gen_v1: true, | ||
gen_v2: false, | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: 'Standard_D16ps_v5', | ||
vcpus: 16, | ||
cores: 16, | ||
memory_mib: 64000, | ||
storage_gb: 0, | ||
supported: true, | ||
architecture: 'arm64', | ||
azure: { | ||
gen_v1: false, | ||
gen_v2: true, | ||
{ | ||
name: 'Standard_D16ps_v5', | ||
vcpus: 16, | ||
cores: 16, | ||
memory_mib: 64000, | ||
storage_gb: 0, | ||
supported: true, | ||
architecture: 'arm64', | ||
azure: { | ||
gen_v1: false, | ||
gen_v2: true, | ||
}, | ||
}, | ||
}, | ||
]; | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
export const pubkeysList = [ | ||
{ | ||
id: 1, | ||
name: 'lzap-ed25519-2021', | ||
body: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEhnn80ZywmjeBFFOGm+cm+5HUwm62qTVnjKlOdYFLHN lzap', | ||
fingerprint: 'SHA256:gL/y6MvNmJ8jDXtsL/oMmK8jUuIefN39BBuvYw/Rndk', | ||
type: 'ssh-ed25519', | ||
}, | ||
{ id: 2, name: 'pk2' }, | ||
]; | ||
export const pubkeysList = { | ||
data: [ | ||
{ | ||
id: 1, | ||
name: 'lzap-ed25519-2021', | ||
body: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEhnn80ZywmjeBFFOGm+cm+5HUwm62qTVnjKlOdYFLHN lzap', | ||
fingerprint: 'SHA256:gL/y6MvNmJ8jDXtsL/oMmK8jUuIefN39BBuvYw/Rndk', | ||
type: 'ssh-ed25519', | ||
}, | ||
{ id: 2, name: 'pk2' }, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
export const templates = [ | ||
{ id: '1', name: 'template-1' }, | ||
{ id: '2', name: 'template-2' }, | ||
]; | ||
export const templates = { | ||
data: [ | ||
{ id: '1', name: 'template-1' }, | ||
{ id: '2', name: 'template-2' }, | ||
], | ||
}; |