37 Commits

Author SHA1 Message Date
tomdds
f956b41f98 Fully set up portfolio fixture for state machine tests
Also fixes some formatting problems
2020-02-19 10:40:06 -05:00
daf4a0ba68 state machine unit tests 2020-02-18 15:56:01 -05:00
e41fd63c2d state machine fix failing test 2020-02-13 14:00:47 -05:00
077c68ce87 state machine test corrected 2020-02-13 13:22:28 -05:00
89d56d55a1 merge staging 2020-02-13 12:49:29 -05:00
88b3df7906 csp provider tests requests.HTTPError exceptions 2020-02-12 21:32:48 -05:00
4569066024 state machine last CREATED state transition to COMPLETED 2020-02-12 09:31:52 -05:00
efe042fac3 merge staging. update create_create_billing_owner azure csp tests 2020-02-11 16:57:37 -05:00
3163c73a0d resolve merge conflict 2020-02-11 15:40:15 -05:00
41e2ae5253 azure csp tests catch exceptions resulting from raised requests exceptions 2020-02-11 15:32:47 -05:00
dandds
facaae5cb1 Merge branch 'staging' into billing-owner 2020-02-11 14:50:11 -05:00
441e81ba8d azure csp unit tests WIP 2020-02-11 14:11:11 -05:00
tomdds
92bc848da5 Remove placeholder data in portfolio state machine test 2020-02-11 11:20:26 -05:00
dandds
80894a5fb9 add to mock and FSMstates 2020-02-09 16:52:29 -05:00
93840ac7b8 revert local changes 2020-02-06 12:29:54 -05:00
86c01f6987 provision initial mgmt group migration script 2020-02-06 12:11:04 -05:00
7559875d64 resolve conflict with staging 2020-02-06 10:19:47 -05:00
6420cce4fc initial mgmt group stage data classes extend the management group data class 2020-02-06 10:13:27 -05:00
8c5f532ca1 azure initial management group creation 2020-02-04 08:09:24 -05:00
7e4340e7e4 resolve merge conflict with staging 2020-01-30 15:57:06 -05:00
tomdds
d4dd581b7a Implement principal creation and admin elevation provisioning features. 2020-01-29 16:17:28 -05:00
d042282ca0 test state machine update expected states 2020-01-29 12:51:59 -05:00
tomdds
7bf6b9addc Remove creds from payloads and passthroughs. 2020-01-28 14:12:04 -05:00
tomdds
466a575229 Move portfolio state machine helpers directly to model file to prevent import issues.
Having `get_stage_csp_class` in the csp module meant that any file that interacted with that import path would throw an error in a REPL. This will allow importing of the Azure and Mock providers for interactive dev.
2020-01-26 15:17:53 -05:00
tomdds
d02d47615e First step in breaking out cloud.py
Move cloud.py to a module init. Move policy with it. Update related unit tests. Also adds a patch to state machine test to prevent randomness in mock from failing test.
2020-01-26 14:03:09 -05:00
tomdds
f08d53d7a0 Transition all Cloud Interface Methods to use Dataclasses 2020-01-24 15:42:23 -05:00
tomdds
b9206ed7be Some more LGTM fixes 2020-01-24 13:35:46 -05:00
tomdds
e9d03ec68b Fix some LGTM errors and start sketching in credential update functionality 2020-01-24 11:15:35 -05:00
tomdds
910920af44 Formatting fixes 2020-01-24 11:03:38 -05:00
tomdds
ea040a914e Properly report initial clin information
Includes fixed up state machine test as well as adds some missing dependencies
2020-01-24 11:01:53 -05:00
597ea32e42 portfolio provision process. add logging, __repr___ method, fix broken tests 2020-01-23 10:14:22 -05:00
tomdds
e5332897f1 Fix formatting 2020-01-22 14:52:06 -05:00
tomdds
f5e4b603cb Bring naming conventions for methods and classes related to CSP provisioning in line with state machine 2020-01-22 13:39:41 -05:00
tomdds
b1adaf771d state machine integration wip 2020-01-22 13:39:35 -05:00
187ee0033e state machine unit tests 2020-01-16 10:32:30 -05:00
tomdds
d81d953c31 Fix formatting and some typos 2020-01-14 16:36:16 -05:00
Philip Kalinsky
69bd2f43a5 provision portfolio state machine 2020-01-14 16:36:16 -05:00