open-nomad/ui/mirage/factories
Buck Doyle 75aa2e36ee
UI: Change factories to be more dynamic (#6387)
I noticed while working on #6166 that some of the factory properties
that used Faker’s randomisation features are using their output
rather than a function that would call the randomiser. This means that
the randomisation happens once and the value is used for every model
generated by the factory. This wraps the randomiser calls in functions
so different models can have different values.
2019-09-30 09:44:22 -05:00
..
agent.js UI: Change factories to be more dynamic (#6387) 2019-09-30 09:44:22 -05:00
alloc-file.js UI: Update Mirage to 1.1.2 (#6166) 2019-09-26 13:47:07 -05:00
allocation.js UI: Change factories to be more dynamic (#6387) 2019-09-30 09:44:22 -05:00
client-allocation-stat.js Update everything to work with the mirage backwards incompat 2019-04-10 14:54:37 -07:00
client-stat.js UI: Change factories to be more dynamic (#6387) 2019-09-30 09:44:22 -05:00
deployment-task-group-summary.js UI: Change factories to be more dynamic (#6387) 2019-09-30 09:44:22 -05:00
deployment.js UI: Change factories to be more dynamic (#6387) 2019-09-30 09:44:22 -05:00
evaluation.js UI: Change factories to be more dynamic (#6387) 2019-09-30 09:44:22 -05:00
job-summary.js UI: Update Mirage to 1.1.2 (#6166) 2019-09-26 13:47:07 -05:00
job-version.js UI: Update Mirage to 1.1.2 (#6166) 2019-09-26 13:47:07 -05:00
job.js UI: Change factories to be more dynamic (#6387) 2019-09-30 09:44:22 -05:00
namespace.js UI: Update Mirage to 1.1.2 (#6166) 2019-09-26 13:47:07 -05:00
node-event.js UI: Change factories to be more dynamic (#6387) 2019-09-30 09:44:22 -05:00
node.js UI: Change factories to be more dynamic (#6387) 2019-09-30 09:44:22 -05:00
policy.js UI: Update Mirage to 1.1.2 (#6166) 2019-09-26 13:47:07 -05:00
region.js Properly model regions in Mirage 2018-08-09 19:57:21 -07:00
service.js UI: Update Mirage to 1.1.2 (#6166) 2019-09-26 13:47:07 -05:00
task-event.js UI: Change factories to be more dynamic (#6387) 2019-09-30 09:44:22 -05:00
task-group.js UI: Update Mirage to 1.1.2 (#6166) 2019-09-26 13:47:07 -05:00
task-resource.js Update everything to work with the mirage backwards incompat 2019-04-10 14:54:37 -07:00
task-state.js UI: Change factories to be more dynamic (#6387) 2019-09-30 09:44:22 -05:00
task.js UI: Change factories to be more dynamic (#6387) 2019-09-30 09:44:22 -05:00
token.js UI: Update Mirage to 1.1.2 (#6166) 2019-09-26 13:47:07 -05:00