@centreon/js-config 24.4.11 → 24.4.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -144,6 +144,7 @@ interface Host {
|
|
|
144
144
|
alias?: string | null;
|
|
145
145
|
checkCommand?: string | null;
|
|
146
146
|
checkPeriod?: string | null;
|
|
147
|
+
hostGroup?: string;
|
|
147
148
|
maxCheckAttempts?: number | null;
|
|
148
149
|
name: string;
|
|
149
150
|
passiveCheckEnabled?: boolean;
|
|
@@ -159,6 +160,7 @@ Cypress.Commands.add(
|
|
|
159
160
|
alias = null,
|
|
160
161
|
checkCommand = null,
|
|
161
162
|
checkPeriod = null,
|
|
163
|
+
hostGroup = '',
|
|
162
164
|
maxCheckAttempts = 1,
|
|
163
165
|
name,
|
|
164
166
|
passiveCheckEnabled = true,
|
|
@@ -176,7 +178,7 @@ Cypress.Commands.add(
|
|
|
176
178
|
bodyContent: {
|
|
177
179
|
action: 'ADD',
|
|
178
180
|
object: 'HOST',
|
|
179
|
-
values: `${name};${hostAlias};${address};${template};${poller}
|
|
181
|
+
values: `${name};${hostAlias};${address};${template};${poller};${hostGroup}`
|
|
180
182
|
}
|
|
181
183
|
})
|
|
182
184
|
.then(() => {
|
package/package.json
CHANGED