mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
* Adds a badge on the jobs index page if any task within any allocation of a running job is currently paused * Snapshot and acceptance tests for paused states * Cleared yarn cache * Remove MirageScenario from the test dependency chain * Logging before toString * Cardinal sin of time-based test execution * Maybe weve been lucky for years and the clientStatus has always been running for this test by happenstance * Back away from the time-based and toward the settled() approach
14 lines
313 B
JavaScript
14 lines
313 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import { Model, belongsTo, hasMany } from 'ember-cli-mirage';
|
|
|
|
export default Model.extend({
|
|
taskGroup: belongsTo(),
|
|
recommendations: hasMany(),
|
|
services: hasMany('service-fragment'),
|
|
schedule: belongsTo('task-schedule'),
|
|
});
|