Skip to content

Commit 556a558

Browse files
authored
Removed pel id and replaced with event id (#154)
* removed pel id and replaced with event id * replaced pel id with event id * replaced pel id with event id
1 parent 0e1ec85 commit 556a558

File tree

6 files changed

+21
-19
lines changed

6 files changed

+21
-19
lines changed

src/locales/en-US.json

+2
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,7 @@
458458
"locationCode": "Location Code",
459459
"name": "Name",
460460
"pelId": "Pel ID",
461+
"eventId": "Event ID",
461462
"settings": "Settings",
462463
"size": "Size in mebibytes"
463464
}
@@ -497,6 +498,7 @@
497498
"id": "Id",
498499
"name": "Name",
499500
"pelId": "Pel Id",
501+
"eventId": "Event ID",
500502
"reference": "Reference",
501503
"resource": "Resource",
502504
"severity": "Severity",

src/store/modules/Logs/DeconfigurationRecordsStore.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ const DeconfigurationRecordsStore = {
6161
: null,
6262
LocationCode,
6363
} = log;
64-
let pelId = '';
64+
let eventId = '';
6565
const additionalDataURIValue = log.AdditionalDataURI;
6666
if (additionalDataURIValue) {
6767
const splitUrl = additionalDataURIValue.split('/');
68-
pelId = splitUrl[splitUrl.length - 2];
68+
eventId = splitUrl[splitUrl.length - 2];
6969
}
7070
return {
7171
additionalDataUri: AdditionalDataURI,
@@ -82,7 +82,7 @@ const DeconfigurationRecordsStore = {
8282
uri: log['@odata.id'],
8383
severity: Severity,
8484
location: LocationCode,
85-
pelID: pelId,
85+
eventID: eventId,
8686
};
8787
})
8888
);

src/store/modules/Settings/HardwareDeconfigurationStore.js

+10-10
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const HardwareDeconfigurationStore = {
5959
api.spread((...responses) => {
6060
const coreData = responses.map(({ data }) => {
6161
var msgArgs = 'None';
62-
var pelId = '';
62+
var eventId = '';
6363
const conditionsArray = data.Status?.Conditions;
6464
if (Array.isArray(conditionsArray) && conditionsArray.length) {
6565
const messageArgsArray = conditionsArray[0].MessageArgs;
@@ -68,9 +68,9 @@ const HardwareDeconfigurationStore = {
6868
}
6969
const logEntry = conditionsArray[0].LogEntry;
7070
if (logEntry) {
71-
const pelIdUrl = logEntry['@odata.id'];
72-
const splitUrl = pelIdUrl.split('/');
73-
pelId = splitUrl[splitUrl.length - 1];
71+
const eventIdUrl = logEntry['@odata.id'];
72+
const splitUrl = eventIdUrl.split('/');
73+
eventId = splitUrl[splitUrl.length - 1];
7474
}
7575
}
7676
return {
@@ -110,7 +110,7 @@ const HardwareDeconfigurationStore = {
110110
? i18n.t('pageDeconfigurationHardware.table.filter.unknown')
111111
: msgArgs,
112112
processorId: procId,
113-
pelID: pelId,
113+
eventID: eventId,
114114
};
115115
});
116116
return coreData;
@@ -134,7 +134,7 @@ const HardwareDeconfigurationStore = {
134134
api.spread((...responses) => {
135135
const dimmsData = responses.map(({ data }) => {
136136
var msgArgs = 'None';
137-
var pelId = '';
137+
var eventId = '';
138138
const conditionsArray = data.Status?.Conditions;
139139
if (Array.isArray(conditionsArray) && conditionsArray.length) {
140140
const messageArgsArray = conditionsArray[0].MessageArgs;
@@ -143,9 +143,9 @@ const HardwareDeconfigurationStore = {
143143
}
144144
const logEntry = conditionsArray[0].LogEntry;
145145
if (logEntry) {
146-
const pelIdUrl = logEntry['@odata.id'];
147-
const splitUrl = pelIdUrl.split('/');
148-
pelId = splitUrl[splitUrl.length - 1];
146+
const eventIdUrl = logEntry['@odata.id'];
147+
const splitUrl = eventIdUrl.split('/');
148+
eventId = splitUrl[splitUrl.length - 1];
149149
}
150150
}
151151
return {
@@ -184,7 +184,7 @@ const HardwareDeconfigurationStore = {
184184
settings: data.Enabled,
185185
uri: data['@odata.id'],
186186
available: data.Status?.State,
187-
pelID: pelId,
187+
eventID: eventId,
188188
};
189189
});
190190
const dimmsDataFiltered = dimmsData.filter(

src/views/Logs/DeconfigurationRecords/DeconfigurationRecords.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ export default {
272272
sortable: true,
273273
},
274274
{
275-
key: 'pelID',
276-
label: this.$t('pageDeconfigurationRecords.table.pelId'),
275+
key: 'eventID',
276+
label: this.$t('pageDeconfigurationRecords.table.eventId'),
277277
sortable: true,
278278
},
279279
{

src/views/Settings/HardwareDeconfiguration/MemoryDimms.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ export default {
151151
tdClass: 'text-nowrap',
152152
},
153153
{
154-
key: 'pelID',
154+
key: 'eventID',
155155
sortable: true,
156156
formatter: this.dataFormatter,
157-
label: this.$t('pageDeconfigurationHardware.table.pelId'),
157+
label: this.$t('pageDeconfigurationHardware.table.eventId'),
158158
},
159159
{
160160
key: 'deconfigurationType',

src/views/Settings/HardwareDeconfiguration/ProcessorCores.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,10 @@ export default {
166166
tdClass: 'text-nowrap',
167167
},
168168
{
169-
key: 'pelID',
169+
key: 'eventID',
170170
sortable: true,
171171
formatter: this.dataFormatter,
172-
label: this.$t('pageDeconfigurationHardware.table.pelId'),
172+
label: this.$t('pageDeconfigurationHardware.table.eventId'),
173173
tdClass: 'text-nowrap',
174174
},
175175
{

0 commit comments

Comments
 (0)