3 test_name: test healthcheck
6 - name: test the a1 healthcheck
8 url: http://localhost:10000/a1-p/healthcheck
15 test_name: test admission control
18 - name: test the admission control policy get not there yet
20 url: http://localhost:10000/a1-p/policytypes/20000/policies/admission_control_policy
25 - name: test the admission control policy status get not there yet
27 url: http://localhost:10000/a1-p/policytypes/20000/policies/admission_control_policy/status
32 - name: test the admission control policy
34 url: http://localhost:10000/a1-p/policytypes/20000/policies/admission_control_policy
42 content-type: application/json
46 - name: test the admission control policy get
48 url: http://localhost:10000/a1-p/policytypes/20000/policies/admission_control_policy
58 - name: test the admission control policy status get
59 delay_before: 3 # give it a few seconds for rmr
61 url: http://localhost:10000/a1-p/policytypes/20000/policies/admission_control_policy/status
66 - handler_id: test_receiver
71 test_name: test the delay receiver
74 - name: test the delay policy get not there yet
76 url: http://localhost:10000/a1-p/policytypes/20001/policies/delaytest
81 - name: test the delay policy status get not there yet
83 url: http://localhost:10000/a1-p/policytypes/20001/policies/delaytest/status
88 - name: test the delay policy
90 url: http://localhost:10000/a1-p/policytypes/20001/policies/delaytest
94 content-type: application/json
98 - name: test the delay policy get
100 url: http://localhost:10000/a1-p/policytypes/20001/policies/delaytest
106 - name: test the admission control policy status get
107 delay_before: 8 # give it a few seconds for rmr ; delay reciever sleeps for 5 seconds by default
109 url: http://localhost:10000/a1-p/policytypes/20001/policies/delaytest/status
114 - handler_id: delay_receiver
122 test_name: bad_requests
126 - name: bad body for admission control policy
128 url: http://localhost:10000/a1-p/policytypes/20000/policies/admission_control_policy
133 content-type: application/json
139 url: http://localhost:10000/a1-p/policytypes/20000/policies/admission_control_policy
145 - name: bad body for test policy
147 url: http://localhost:10000/a1-p/policytypes/20001/policies/test_policy