Bring naming conventions for methods and classes related to CSP provisioning in line with state machine
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user