Removing all instances of verifications in barbican
Change-Id: I7ae3979cd2928b231c58fe24d9c73de83cd04510
This commit is contained in:
parent
270629b42b
commit
a6ba9b932e
@ -169,13 +169,6 @@ class OrdersCLIClient(BarbicanCLIClient):
|
||||
entity_type=BarbicanEntityType.ORDER, hateos_ref=hateos_ref)
|
||||
|
||||
|
||||
class VerificationCLIClient(BarbicanCLIClient):
|
||||
|
||||
def verify(self):
|
||||
return self._action_command(BarbicanEntityType.VERIFICATION, 'verify')
|
||||
|
||||
|
||||
class BarbicanEntityType(object):
|
||||
SECRET = 'secret'
|
||||
ORDER = 'order'
|
||||
VERIFICATION = 'verification'
|
||||
|
@ -22,7 +22,3 @@ class SecretsStates(object):
|
||||
|
||||
class OrdersStates(SecretsStates):
|
||||
PENDING = "PENDING"
|
||||
|
||||
|
||||
class VerificationsStates(SecretsStates):
|
||||
PENDING = "PENDING"
|
||||
|
@ -162,23 +162,3 @@ class CloudKeepRBACRoleConfig(ConfigSectionInterface):
|
||||
@property
|
||||
def audit_password(self):
|
||||
return self.get('audit_password')
|
||||
|
||||
|
||||
class CloudKeepVerificationsConfig(ConfigSectionInterface):
|
||||
SECTION_NAME = 'cloudkeep-verifications'
|
||||
|
||||
@property
|
||||
def resource_type(self):
|
||||
return self.get("resource_type")
|
||||
|
||||
@property
|
||||
def resource_ref(self):
|
||||
return self.get("resource_ref")
|
||||
|
||||
@property
|
||||
def resource_action(self):
|
||||
return self.get("resource_action")
|
||||
|
||||
@property
|
||||
def impersonation_allowed(self):
|
||||
return self.get("impersonation_allowed")
|
||||
|
@ -42,12 +42,6 @@ payload=testdata
|
||||
payload_content_type=application/octet-stream
|
||||
payload_content_encoding=base64
|
||||
|
||||
[cloudkeep-verifications]
|
||||
resource_ref=<resource_ref>
|
||||
resource_type=image
|
||||
resource_action=vm_attach
|
||||
impersonation_allowed=False
|
||||
|
||||
[cloudkeep-orders]
|
||||
name=secretname
|
||||
algorithm=aes
|
||||
@ -68,4 +62,4 @@ token=<github_token>
|
||||
repo=cloudkeep/barbican
|
||||
|
||||
[LAUNCHPAD]
|
||||
project=barbican
|
||||
project=barbican
|
||||
|
Loading…
x
Reference in New Issue
Block a user