James Rasell
2412e9916d
rpc: fix scaling policy get index response when policy is found.
...
When GetPolicy is called within the scaling handler, the index
table was being used to populate the reply index irregardless of
whether the policy was found or not. This change fixes that
behaviour so that the policy modify index is used when the policy
lookup is successful.
2021-11-26 10:40:27 +01:00
Chris Baker
fd6beefe11
simple test to ensure that scaling endpoint methods support IsRead for
...
stale read support
2021-01-05 13:42:18 +00:00
Chris Baker
53aa5e75c9
fix #9227 : use both job and type query on scaling policy list endpoint
2020-11-10 23:26:35 +00:00
Chris Baker
8b9145fabd
state_store/fix the prefix bugs for scaling policies documented in 1a9318
2020-08-27 04:25:37 +00:00
Chris Baker
c638c2c352
update RPC scaling endpoint tests to use renamed 'scale' policy disposition
2020-03-24 20:18:12 +00:00
Chris Baker
606c79b320
add acl validation to Scaling.ListPolicies and Scaling.GetPolicy
2020-03-24 14:39:05 +00:00
Chris Baker
f6ec5f9624
made count optional during job scaling actions
...
added ACL protection in Job.Scale
in Job.Scale, only perform a Job.Register if the Count was non-nil
2020-03-24 14:39:05 +00:00
Chris Baker
116aa98ed7
wip: removed some commented junk from scaling poc
2020-03-24 13:57:13 +00:00
Chris Baker
6665d0bfb0
wip: added policy get endpoint, added UUID to policy
2020-03-24 13:55:20 +00:00