Removing all instances of verifications in barbican

Change-Id: I7ae3979cd2928b231c58fe24d9c73de83cd04510
This commit is contained in:
Chelsea Winfree 2014-07-02 23:09:01 -05:00
parent 270629b42b
commit a6ba9b932e
4 changed files with 1 additions and 38 deletions

View File

@ -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'

View File

@ -22,7 +22,3 @@ class SecretsStates(object):
class OrdersStates(SecretsStates):
PENDING = "PENDING"
class VerificationsStates(SecretsStates):
PENDING = "PENDING"

View File

@ -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")

View File

@ -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