Bring naming conventions for methods and classes related to CSP provisioning in line with state machine

This commit is contained in:
tomdds
2020-01-22 09:46:03 -05:00
parent d646c3c00f
commit f5e4b603cb
6 changed files with 120 additions and 135 deletions

View File

@@ -9,9 +9,11 @@ class StageStates(Enum):
class AzureStages(Enum):
TENANT = "tenant"
BILLING_PROFILE = "billing profile"
BILLING_PROFILE_CREATION = "billing profile creation"
BILLING_PROFILE_VERIFICATION = "billing profile verification"
BILLING_PROFILE_TENANT_ACCESS = "billing profile tenant access"
TASK_ORDER_BILLING = "task order billing"
TASK_ORDER_BILLING_CREATION = "task order billing creation"
TASK_ORDER_BILLING_VERIFICATION = "task order billing verification"
BILLING_INSTRUCTION = "billing instruction"

View File

@@ -199,6 +199,8 @@ class PortfolioStateMachine(
# self.store_creds(self.portfolio, new_creds)
except PydanticValidationError as exc:
print("is_csp_data_valid: False")
print(cls)
print(exc.json())
return False