Skip to content

Commit

Permalink
Remove ssh_address field from test fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
arbulu89 committed Jan 18, 2023
1 parent 0af6e4c commit c8cfeac
Show file tree
Hide file tree
Showing 43 changed files with 0 additions and 69 deletions.
27 changes: 0 additions & 27 deletions assets/js/lib/test-utils/data/hosts.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.100.1.31',
tags: [{ value: 'tag1' }, { value: 'tag2' }, { value: 'tag3' }],
},
{
Expand Down Expand Up @@ -224,7 +223,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.100.1.32',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -338,7 +336,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.80.1.31',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -452,7 +449,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.80.1.32',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -566,7 +562,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.90.1.31',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -680,7 +675,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.90.1.32',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -794,7 +788,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.100.1.11',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -908,7 +901,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.100.1.12',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -1022,7 +1014,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.80.1.11',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -1136,7 +1127,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.80.1.12',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -1250,7 +1240,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.90.1.11',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -1364,7 +1353,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.90.1.12',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -1478,7 +1466,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.100.1.4',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -1592,7 +1579,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.80.1.4',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -1706,7 +1692,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.90.1.4',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -1820,7 +1805,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.100.1.21',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -1934,7 +1918,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.100.1.22',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -2048,7 +2031,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.100.1.23',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -2162,7 +2144,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.100.1.24',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -2276,7 +2257,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.80.1.21',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -2390,7 +2370,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.80.1.22',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -2504,7 +2483,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.80.1.23',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -2618,7 +2596,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.80.1.24',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -2732,7 +2709,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.90.1.21',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -2846,7 +2822,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.90.1.22',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -2951,7 +2926,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.90.1.23',
tags: [{ value: 'tag1' }],
},
{
Expand Down Expand Up @@ -3056,7 +3030,6 @@ export default [
version: '15.3',
},
],
ssh_address: '10.90.1.24',
tags: [{ value: 'tag1' }],
},
];
1 change: 0 additions & 1 deletion assets/js/lib/test-utils/factories/hosts.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,5 @@ export const hostFactory = Factory.define(({ params }) => {
vm_size: faker.hacker.noun(),
},
sles_subscriptions: slesSubscriptionFactory.buildList(4, { host_id: id }),
ssh_address: faker.internet.ip(),
};
});
1 change: 0 additions & 1 deletion test/fixtures/discovery/host_discovery.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"agent_id": "779cdd70-e9e2-58ca-b18a-bf3eb3f71244",
"discovery_type": "host_discovery",
"payload": {
"ssh_address": "10.2.2.22",
"os_version": "15-SP2",
"ip_addresses": ["10.1.1.4", "10.1.1.5", "10.1.1.6"],
"hostname": "suse",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"agent_id": "779cdd70-e9e2-58ca-b18a-bf3eb3f71244",
"discovery_type": "host_discovery",
"payload": {
"ssh_address": "10.2.2.22",
"os_version": "15-SP2",
"ip_addresses": ["10.1.1.4", "10.1.1.5", "10.1.1.6"],
"hostname": "suse",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"hostname": "vmhdbdev02",
"cpu_count": 4,
"os_version": "15-SP3",
"ssh_address": "10.100.1.12",
"ip_addresses": [
"127.0.0.1",
"::1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"hostname": "vmhdbdev01",
"cpu_count": 4,
"os_version": "15-SP3",
"ssh_address": "10.100.1.11",
"ip_addresses": [
"127.0.0.1",
"::1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"hostname": "vmnwdev04",
"cpu_count": 2,
"os_version": "15-SP3",
"ssh_address": "10.100.1.24",
"ip_addresses": [
"127.0.0.1",
"::1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"hostname": "vmnwdev01",
"cpu_count": 2,
"os_version": "15-SP3",
"ssh_address": "10.100.1.21",
"ip_addresses": [
"127.0.0.1",
"::1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"hostname": "vmnwdev03",
"cpu_count": 2,
"os_version": "15-SP3",
"ssh_address": "10.100.1.23",
"ip_addresses": [
"127.0.0.1",
"::1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"hostname": "vmnwdev02",
"cpu_count": 2,
"os_version": "15-SP3",
"ssh_address": "10.100.1.22",
"ip_addresses": [
"127.0.0.1",
"::1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"hostname": "vmhdbdev02",
"cpu_count": 4,
"os_version": "15-SP3",
"ssh_address": "10.100.1.12",
"ip_addresses": [
"127.0.0.1",
"::1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"hostname": "vmhdbdev01",
"cpu_count": 4,
"os_version": "15-SP3",
"ssh_address": "10.100.1.11",
"ip_addresses": [
"127.0.0.1",
"::1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"hostname": "vmnwdev04",
"cpu_count": 2,
"os_version": "15-SP3",
"ssh_address": "10.100.1.24",
"ip_addresses": [
"127.0.0.1",
"::1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"hostname": "vmnwdev01",
"cpu_count": 2,
"os_version": "15-SP3",
"ssh_address": "10.100.1.21",
"ip_addresses": [
"127.0.0.1",
"::1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"hostname": "vmnwdev03",
"cpu_count": 2,
"os_version": "15-SP3",
"ssh_address": "10.100.1.23",
"ip_addresses": [
"127.0.0.1",
"::1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"hostname": "vmnwdev02",
"cpu_count": 2,
"os_version": "15-SP3",
"ssh_address": "10.100.1.22",
"ip_addresses": [
"127.0.0.1",
"::1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"hostname": "vmnwqas03",
"cpu_count": 2,
"os_version": "15-SP3",
"ssh_address": "10.90.1.23",
"ip_addresses": [
"127.0.0.1",
"::1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"hostname": "vmhdbdev02",
"cpu_count": 4,
"os_version": "15-SP3",
"ssh_address": "10.100.1.12",
"ip_addresses": [
"127.0.0.1",
"::1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"hostname": "vmnwprd04",
"cpu_count": 2,
"os_version": "15-SP3",
"ssh_address": "10.80.1.24",
"ip_addresses": [
"127.0.0.1",
"::1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"hostname": "vmnwprd01",
"cpu_count": 2,
"os_version": "15-SP3",
"ssh_address": "10.80.1.21",
"ip_addresses": [
"127.0.0.1",
"::1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"hostname": "vmhdbdev01",
"cpu_count": 4,
"os_version": "15-SP3",
"ssh_address": "10.100.1.11",
"ip_addresses": [
"127.0.0.1",
"::1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"hostname": "vmnwdev04",
"cpu_count": 2,
"os_version": "15-SP3",
"ssh_address": "10.100.1.24",
"ip_addresses": [
"127.0.0.1",
"::1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"hostname": "vmdrbddev02",
"cpu_count": 2,
"os_version": "15-SP3",
"ssh_address": "10.100.1.32",
"ip_addresses": [
"127.0.0.1",
"::1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"hostname": "vmdrbddev01",
"cpu_count": 2,
"os_version": "15-SP3",
"ssh_address": "10.100.1.31",
"ip_addresses": [
"127.0.0.1",
"::1",
Expand Down
Loading

0 comments on commit c8cfeac

Please sign in to comment.